Skip to content

Commit 6cda1f2

Browse files
committed
Update block overrides key names in E2E tests
1 parent 90c929a commit 6cda1f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/web3js/estimate_gas_overrides_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ it('should apply block overrides on eth_estimateGas', async () => {
7878
let random = '0x7914bb5b13bac6f621bc37bbf6e406fbf4472aaaaf17ec2f309a92aca4e27fc0'
7979
response = await helpers.callRPCMethod(
8080
'eth_estimateGas',
81-
[txArgs, 'latest', null, { random: random }]
81+
[txArgs, 'latest', null, { prevRandao: random }]
8282
)
8383
assert.equal(response.status, 200)
8484
assert.isDefined(response.body)
@@ -96,7 +96,7 @@ it('should apply block overrides on eth_estimateGas', async () => {
9696
// Override the `block.coinbase` value to `0x658Bdf435d810C91414eC09147DAA6DB62406379`.
9797
response = await helpers.callRPCMethod(
9898
'eth_estimateGas',
99-
[txArgs, 'latest', null, { coinbase: '0x658Bdf435d810C91414eC09147DAA6DB62406379' }]
99+
[txArgs, 'latest', null, { feeRecipient: '0x658Bdf435d810C91414eC09147DAA6DB62406379' }]
100100
)
101101
assert.equal(response.status, 200)
102102
assert.isDefined(response.body)

0 commit comments

Comments
 (0)