Skip to content

Commit

Permalink
internal/web3ext: fix eth.call regression in console (ethereum#26266)
Browse files Browse the repository at this point in the history
Fixes a regression from ethereum#26265, which made it so that the call only worked if all three parameters were provided.
  • Loading branch information
s1na committed Nov 28, 2022
1 parent eb01927 commit 63ffda3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/web3ext/web3ext.go
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,7 @@ web3._extend({
name: 'call',
call: 'eth_call',
params: 3,
inputFormatter: [formatters.inputCallFormatter, formatters.inputDefaultBlockNumberFormatter, null],
}),
],
properties: [
Expand Down

0 comments on commit 63ffda3

Please sign in to comment.