Skip to content

Commit 66046dd

Browse files
committed
For chain insidetest file
1 parent b300e44 commit 66046dd

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ fork-arbitrum-sepolia:
1515
anvil --fork-url $(ARBITRUM_SEPOLIA_RPC_URL) --port 8546
1616

1717
utest:
18-
@forge test --fork-url $(SEPOLIA_RPC_URL) -vvv
18+
forge test -vvv
1919

2020
clean:
21-
@echo "Cleaning artifacts..."
2221
forge clean
2322

2423
#

test/RLCAdapter.t.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ contract RLCAdapterTest is Test, Initializable {
1010
RLCAdapter public rlcAdapter;
1111

1212
function setUp() public {
13+
vm.createSelectFork(vm.envString("SEPOLIA_RPC_URL"));
1314
rlcAdapter = RLCAdapter(new RLCAdapterDeploy().run());
1415
}
1516

test/RLCAdapterScript.t.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ contract RLCAdapterScriptTest is Test {
99
RLCAdapter public rlcAdapter;
1010

1111
function setUp() public {
12+
vm.createSelectFork(vm.envString("SEPOLIA_RPC_URL"));
1213
rlcAdapter = RLCAdapter(new RLCAdapterDeploy().run());
1314
}
1415

test/RLCOFT.t.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ contract RLCOFTTest is Test, Initializable {
1010
RLCOFT public rlcOft;
1111

1212
function setUp() public {
13+
vm.createSelectFork(vm.envString("ARBITRUM_SEPOLIA_RPC_URL"));
1314
rlcOft = RLCOFT(new RLCOFTDeploy().run());
1415
}
1516

test/RLCOFTScript.t.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ contract RLCOFTScriptTest is Test {
99
RLCOFT public rlcOft;
1010

1111
function setUp() public {
12+
vm.createSelectFork(vm.envString("ARBITRUM_SEPOLIA_RPC_URL"));
1213
rlcOft = RLCOFT(new RLCOFTDeploy().run());
1314
}
1415

0 commit comments

Comments
 (0)