Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 991a766

Browse files
authored
Merge pull request #1 from moshmage/moshmage-fix-call-input-data
add `{fillInputAndData: true,}` to `eth_call` on method_wrappers
2 parents a325689 + 1fb6068 commit 991a766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/web3-eth/src/rpc_method_wrappers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ export async function call<ReturnFormat extends DataFormat>(
951951

952952
const response = await ethRpcMethods.call(
953953
web3Context.requestManager,
954-
formatTransaction(transaction, ETH_DATA_FORMAT),
954+
formatTransaction(transaction, ETH_DATA_FORMAT, {fillInputAndData: true,}),
955955
blockNumberFormatted,
956956
);
957957

0 commit comments

Comments
 (0)