internal/web3ext: fix eth_call in console #26265 #26266 #26268 (#1329)

* internal/web3ext: fix eth_call stateOverrides in console #26265

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

* internal/web3ext: fix eth_call in console 2 #26268
This commit is contained in:
Daniel Liu 2025-08-08 10:43:27 +08:00 committed by GitHub
parent 2539836ede
commit 3fecfcaa76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -566,6 +566,12 @@ web3._extend({
call: 'eth_getLogs',
params: 1,
}),
new web3._extend.Method({
name: 'call',
call: 'eth_call',
params: 3,
inputFormatter: [web3._extend.formatters.inputCallFormatter, web3._extend.formatters.inputDefaultBlockNumberFormatter, null],
}),
new web3._extend.Method({
name: 'getBlockReceipts',
call: 'eth_getBlockReceipts',