Skip to content

Commit

Permalink
feat: support "input" param for verifiable tx (cont.) (#6101)
Browse files Browse the repository at this point in the history
This is a continuation of #6019
There is an additional fix needed, where tx.input support is added in case input is used instead of data
  • Loading branch information
rdvorkin authored Nov 10, 2023
1 parent 6f27ac6 commit 408e925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/prover/src/utils/evm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export async function getVMWithState({
const accessListTx = cleanObject({
to,
from,
data: tx.data,
data: tx.input ? tx.input : tx.data,
value: tx.value,
gas: tx.gas ? tx.gas : numberToHex(gasLimit),
gasPrice: "0x0",
Expand Down

0 comments on commit 408e925

Please sign in to comment.