Skip to content

Commit

Permalink
Merge pull request #1 from moshmage/moshmage-fix-call-input-data
Browse files Browse the repository at this point in the history
add `{fillInputAndData: true,}` to `eth_call` on method_wrappers
  • Loading branch information
moshmage authored Aug 24, 2023
2 parents a325689 + 1fb6068 commit 991a766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web3-eth/src/rpc_method_wrappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ export async function call<ReturnFormat extends DataFormat>(

const response = await ethRpcMethods.call(
web3Context.requestManager,
formatTransaction(transaction, ETH_DATA_FORMAT),
formatTransaction(transaction, ETH_DATA_FORMAT, {fillInputAndData: true,}),
blockNumberFormatted,
);

Expand Down

0 comments on commit 991a766

Please sign in to comment.