internal/web3ext: fix eth.call regression in console (#26266)

Fixes a regression from #26265, which made it so that the call only worked if all three parameters were provided.
This commit is contained in:
Sina Mahmoodi 2022-11-28 11:15:34 +01:00 committed by GitHub
parent eb01927e46
commit 63ffda3251
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -604,6 +604,7 @@ web3._extend({
name: 'call',
call: 'eth_call',
params: 3,
inputFormatter: [formatters.inputCallFormatter, formatters.inputDefaultBlockNumberFormatter, null],
}),
],
properties: [