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

This commit is contained in:
Amin Talebi authored and GitHub committed 2023-08-07 16:03:57 +02:00
1 parent d14c07d91e
commit eeebb07c73
5 files changed
+39 -9

No files matched your search

+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({