From 63ffda32517c4f630f8fbfd65fdcfc453a46ec93 Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi <1591639+s1na@users.noreply.github.com> Date: Mon, 28 Nov 2022 11:15:34 +0100 Subject: [PATCH] internal/web3ext: fix eth.call regression in console (#26266) Fixes a regression from #26265, which made it so that the call only worked if all three parameters were provided. --- internal/web3ext/web3ext.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go index 8f01b2be5..7db1ebf39 100644 --- a/internal/web3ext/web3ext.go +++ b/internal/web3ext/web3ext.go @@ -604,6 +604,7 @@ web3._extend({ name: 'call', call: 'eth_call', params: 3, + inputFormatter: [formatters.inputCallFormatter, formatters.inputDefaultBlockNumberFormatter, null], }), ], properties: [