Skip to content

Commit

Permalink
Propagate chainId for contractCall fn
Browse files Browse the repository at this point in the history
  • Loading branch information
jcortejoso committed Jul 26, 2023
1 parent a829487 commit c8a9e4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/celotool/src/lib/geth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ export const transferCalldata = async (
amount: BigNumber,
dataStr?: string,
txOptions: {
chainId?: number
gas?: number
gasPrice?: string
feeCurrency?: string
Expand All @@ -459,6 +460,7 @@ export const transferCalldata = async (
return kit.sendTransaction({
from: fromAddress,
to: toAddress,
chainId: numberToHex(txOptions.chainId),
value: amount.toString(),
data: dataStr,
gas: txOptions.gas,
Expand Down

0 comments on commit c8a9e4e

Please sign in to comment.