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.
This commit is contained in:
Sina Mahmoodi 2022-11-28 11:03:20 +01:00 committed by GitHub
parent 53d1ae096a
commit 1325fef102
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -600,6 +600,11 @@ web3._extend({
call: 'eth_getLogs',
params: 1,
}),
new web3._extend.Method({
name: 'call',
call: 'eth_call',
params: 3,
}),
],
properties: [
new web3._extend.Property({