diff --git a/packages/localnet/src/handleOnRevertZEVM.ts b/packages/localnet/src/handleOnRevertZEVM.ts index 911c355..21cca6d 100644 --- a/packages/localnet/src/handleOnRevertZEVM.ts +++ b/packages/localnet/src/handleOnRevertZEVM.ts @@ -14,6 +14,7 @@ export const handleOnRevertZEVM = async ({ deployOpts, exitOnError = false, sender, + chainID, }: { revertOptions: any; err: any; @@ -27,6 +28,7 @@ export const handleOnRevertZEVM = async ({ deployOpts: any; exitOnError: boolean; sender: string; + chainID: number; }) => { const callOnRevert = revertOptions[1]; const revertAddress = revertOptions[0]; @@ -71,7 +73,7 @@ export const handleOnRevertZEVM = async ({ asset, amount, true, - 1, + chainID, revertMessage, ]; diff --git a/packages/localnet/src/handleOnZEVMCalled.ts b/packages/localnet/src/handleOnZEVMCalled.ts index d4ae7af..4b11c12 100644 --- a/packages/localnet/src/handleOnZEVMCalled.ts +++ b/packages/localnet/src/handleOnZEVMCalled.ts @@ -82,6 +82,7 @@ export const handleOnZEVMCalled = async ({ deployOpts, exitOnError, sender, + chainID, }); } }; diff --git a/packages/localnet/src/handleOnZEVMWithdrawn.ts b/packages/localnet/src/handleOnZEVMWithdrawn.ts index 226ee05..a472545 100644 --- a/packages/localnet/src/handleOnZEVMWithdrawn.ts +++ b/packages/localnet/src/handleOnZEVMWithdrawn.ts @@ -90,6 +90,7 @@ export const handleOnZEVMWithdrawn = async ({ deployOpts, exitOnError, sender, + chainID, }); } }; diff --git a/packages/localnet/src/handleOnZEVMWithdrawnAndCalled.ts b/packages/localnet/src/handleOnZEVMWithdrawnAndCalled.ts index e567a2c..b4dd581 100644 --- a/packages/localnet/src/handleOnZEVMWithdrawnAndCalled.ts +++ b/packages/localnet/src/handleOnZEVMWithdrawnAndCalled.ts @@ -112,6 +112,7 @@ export const handleOnZEVMWithdrawnAndCalled = async ({ deployOpts, exitOnError, sender, + chainID, }); } };