@@ -20,7 +20,7 @@ contract RLCOFTTest is Test {
2020 event Transfer (address indexed from , address indexed to , uint256 value );
2121
2222 function setUp () public {
23- vm.createSelectFork (" https://arbitrum-sepolia.gateway.tenderly.com " );
23+ vm.createSelectFork (vm. envString ( " ARBITRUM_SEPOLIA_RPC_URL " ) );
2424
2525 // Create addresses using makeAddr
2626 owner = makeAddr ("owner " );
@@ -32,14 +32,12 @@ contract RLCOFTTest is Test {
3232 // Set up environment variables for the deployment
3333 vm.setEnv ("RLC_OFT_TOKEN_NAME " , "RLC OFT Test " );
3434 vm.setEnv ("RLC_TOKEN_SYMBOL " , "RLCT " );
35- vm.setEnv ("LAYER_ZERO_ARBITRUM_SEPOLIA_ENDPOINT_ADDRESS " , vm. toString ( ' LAYER_ZERO_ARBITRUM_SEPOLIA_ENDPOINT_ADDRESS ' ) );
35+ vm.setEnv ("LAYER_ZERO_ARBITRUM_SEPOLIA_ENDPOINT_ADDRESS " , " 0x6EDCE65403992e310A62460808c4b910D972f10f " );
3636 vm.setEnv ("OWNER_ADDRESS " , vm.toString (owner));
3737 vm.setEnv ("PAUSER_ADDRESS " , vm.toString (pauser));
3838
3939 // Deploy the contract using the deployment script
40- RLCOFTDeploy deployer = new RLCOFTDeploy ();
41- address deployedAddress = deployer.run ();
42- rlcOft = RLCOFT (deployedAddress);
40+ rlcOft = RLCOFT (new RLCOFTDeploy ().run ());
4341
4442 // Mint some tokens for testing
4543 vm.prank (owner);
0 commit comments