internal/ethapi: add state override to estimateGas (#27845)

This commit is contained in:
Amin Talebi
2023-08-07 16:03:57 +02:00
committed by GitHub
parent d14c07d91e
commit eeebb07c73
5 changed files with 39 additions and 9 deletions
+2 -2
View File
@@ -536,8 +536,8 @@ web3._extend({
new web3._extend.Method({
name: 'estimateGas',
call: 'eth_estimateGas',
params: 2,
inputFormatter: [web3._extend.formatters.inputCallFormatter, web3._extend.formatters.inputBlockNumberFormatter],
params: 3,
inputFormatter: [web3._extend.formatters.inputCallFormatter, web3._extend.formatters.inputBlockNumberFormatter, null],
outputFormatter: web3._extend.utils.toDecimal
}),
new web3._extend.Method({