Content pfp
Content
@
0 reply
0 recast
0 reaction

Aayush Gupta  pfp
Aayush Gupta
@aayush
GM everyone, Does anyone know how to perform a cross-chain fork test in Foundry? I am using Stargate to transfer ETH from Optimism to Arbitrum and then swap that ETH for wstETH using uniswap.
1 reply
0 recast
0 reaction

Jem pfp
Jem
@jem
This was written to test cross-chain bridging of OHM using LayerZero. It might serve as a template for you: https://github.com/sherlock-audit/2023-11-olympus/blob/main/bophades/src/test/policies/CrossChainBridgeFork.t.sol (It's not from the public canonical repo as we've been slack with keeping that updated.)
0 reply
0 recast
0 reaction