From 1fb6068b62660023a312b3e633e0ac7066bc0518 Mon Sep 17 00:00:00 2001 From: moshmage Date: Thu, 24 Aug 2023 14:51:20 +0100 Subject: [PATCH] add `{fillInputAndData: true,}` to `eth_call` on method_wrappers --- packages/web3-eth/src/rpc_method_wrappers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web3-eth/src/rpc_method_wrappers.ts b/packages/web3-eth/src/rpc_method_wrappers.ts index e12cc5ed366..4c952946643 100644 --- a/packages/web3-eth/src/rpc_method_wrappers.ts +++ b/packages/web3-eth/src/rpc_method_wrappers.ts @@ -951,7 +951,7 @@ export async function call( const response = await ethRpcMethods.call( web3Context.requestManager, - formatTransaction(transaction, ETH_DATA_FORMAT), + formatTransaction(transaction, ETH_DATA_FORMAT, {fillInputAndData: true,}), blockNumberFormatted, );