core, internal: support various eth_call invocations post 1559

This commit is contained in:
Péter Szilágyi
2021-06-10 08:02:51 +03:00
parent 7a00378e2b
commit f68a68a313
9 changed files with 62 additions and 51 deletions

File diff suppressed because one or more lines are too long

View File

@ -3734,7 +3734,7 @@ var inputCallFormatter = function (options){
options.to = inputAddressFormatter(options.to);
}
['gasPrice', 'gas', 'value', 'nonce'].filter(function (key) {
['maxFeePerGas', 'maxPriorityFeePerGas', 'gasPrice', 'gas', 'value', 'nonce'].filter(function (key) {
return options[key] !== undefined;
}).forEach(function(key){
options[key] = utils.fromDecimal(options[key]);