From 1325fef1025b9feb3342308265b6d1399614be30 Mon Sep 17 00:00:00 2001 From: Sina Mahmoodi <1591639+s1na@users.noreply.github.com> Date: Mon, 28 Nov 2022 11:03:20 +0100 Subject: [PATCH] internal/web3ext: fix eth_call stateOverrides in console (#26265) web3.js's eth_call which we were defaulting to doesn't have the stateOverrides parameter, so this param wasn't working in the console. --- internal/web3ext/web3ext.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go index 134562bde6..8f01b2be50 100644 --- a/internal/web3ext/web3ext.go +++ b/internal/web3ext/web3ext.go @@ -600,6 +600,11 @@ web3._extend({ call: 'eth_getLogs', params: 1, }), + new web3._extend.Method({ + name: 'call', + call: 'eth_call', + params: 3, + }), ], properties: [ new web3._extend.Property({