Skip to content

Commit

Permalink
chain ID
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Jan 21, 2025
1 parent 691be5d commit 1843b37
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/localnet/src/handleOnRevertZEVM.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const handleOnRevertZEVM = async ({
deployOpts,
exitOnError = false,
sender,
chainID,
}: {
revertOptions: any;
err: any;
Expand All @@ -27,6 +28,7 @@ export const handleOnRevertZEVM = async ({
deployOpts: any;
exitOnError: boolean;
sender: string;
chainID: number;
}) => {
const callOnRevert = revertOptions[1];
const revertAddress = revertOptions[0];
Expand Down Expand Up @@ -71,7 +73,7 @@ export const handleOnRevertZEVM = async ({
asset,
amount,
true,
1,
chainID,
revertMessage,
];

Expand Down
1 change: 1 addition & 0 deletions packages/localnet/src/handleOnZEVMCalled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export const handleOnZEVMCalled = async ({
deployOpts,
exitOnError,
sender,
chainID,
});
}
};
1 change: 1 addition & 0 deletions packages/localnet/src/handleOnZEVMWithdrawn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export const handleOnZEVMWithdrawn = async ({
deployOpts,
exitOnError,
sender,
chainID,
});
}
};
1 change: 1 addition & 0 deletions packages/localnet/src/handleOnZEVMWithdrawnAndCalled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ export const handleOnZEVMWithdrawnAndCalled = async ({
deployOpts,
exitOnError,
sender,
chainID,
});
}
};

0 comments on commit 1843b37

Please sign in to comment.