diff --git a/tests/adapters/HyperLaneAdapter.t.sol b/tests/adapters/HyperLaneAdapter.t.sol index 5adfc43b..bd563f26 100644 --- a/tests/adapters/HyperLaneAdapter.t.sol +++ b/tests/adapters/HyperLaneAdapter.t.sol @@ -21,6 +21,7 @@ contract HyperLaneAdapterTest is BaseAdapterTest { uint256 baseGasLimit, uint256 originChainId ) { + vm.assume(crossChainController != tx.origin); // zkVM doesn't support mocking tx.origin vm.assume(mailBox > address(65536)); vm.assume(originForwarder > address(65536)); vm.assume(crossChainController > address(65536)); diff --git a/tests/adapters/LayerZeroAdapter.t.sol b/tests/adapters/LayerZeroAdapter.t.sol index 3998c86a..981aba8d 100644 --- a/tests/adapters/LayerZeroAdapter.t.sol +++ b/tests/adapters/LayerZeroAdapter.t.sol @@ -19,6 +19,7 @@ contract LayerZeroAdapterTest is BaseAdapterTest { uint256 baseGasLimit, uint256 originChainId ) { + vm.assume(crossChainController != tx.origin); // zkVM doesn't support mocking tx.origin vm.assume(lzEndpoint > address(65536)); vm.assume(originForwarder > address(65536)); vm.assume(crossChainController > address(65536)); diff --git a/tests/adapters/WormholeAdapter.t.sol b/tests/adapters/WormholeAdapter.t.sol index 2904d2fb..6ceb6935 100644 --- a/tests/adapters/WormholeAdapter.t.sol +++ b/tests/adapters/WormholeAdapter.t.sol @@ -21,6 +21,7 @@ contract WormholeAdapterTest is BaseAdapterTest { uint256 baseGasLimit, uint256 originChainId ) { + vm.assume(crossChainController != tx.origin); // zkVM doesn't support mocking tx.origin vm.assume(crossChainController > address(65536)); vm.assume(wormholeRelayer > address(65536)); vm.assume(originForwarder > address(65536)); diff --git a/tests/adapters/ZkSyncAdapter.t.sol b/tests/adapters/ZkSyncAdapter.t.sol index 6f12d915..fbbde4e7 100644 --- a/tests/adapters/ZkSyncAdapter.t.sol +++ b/tests/adapters/ZkSyncAdapter.t.sol @@ -21,6 +21,7 @@ contract ZkSyncAdapterTest is BaseAdapterTest { uint256 baseGasLimit, uint256 originChainId ) { + vm.assume(crossChainController != tx.origin); // zkVM doesn't support mocking tx.origin vm.assume(crossChainController > address(65536)); vm.assume(mailBox > address(65536)); vm.assume(originForwarder > address(65536));