Skip to content

Commit 1325fef

Browse files
authored
internal/web3ext: fix eth_call stateOverrides in console (#26265)
web3.js's eth_call which we were defaulting to doesn't have the stateOverrides parameter, so this param wasn't working in the console.
1 parent 53d1ae0 commit 1325fef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

internal/web3ext/web3ext.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,11 @@ web3._extend({
600600
call: 'eth_getLogs',
601601
params: 1,
602602
}),
603+
new web3._extend.Method({
604+
name: 'call',
605+
call: 'eth_call',
606+
params: 3,
607+
}),
603608
],
604609
properties: [
605610
new web3._extend.Property({

0 commit comments

Comments
 (0)