Skip to content

Commit e495b49

Browse files
authored
fix: routerPlusSmoke (#664)
1 parent e367a5d commit e495b49

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ build-sizes: ## Builds the project and shows sizes
121121

122122
.PHONY: test-vvv
123123
test-vvv: ## Runs tests with verbose output
124-
forge test --match-contract PayloadHelperSingleTest --evm-version cancun
124+
forge test --match-test test_superRegistryAddresses --evm-version cancun -vv
125125

126126
.PHONY: ftest
127127
ftest: ## Runs tests with cancun evm version

test/mainnet/SmokeTest.t.sol

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ contract SmokeTest is MainnetBaseSetup {
9898
newAddresses[6] = 0x7c9c8C0A9aA5D8a2c2e6C746641117Cc9591296a;
9999
newAddresses[7] = 0x1666660D2F506e754CB5c8E21BDedC7DdEc6Be1C;
100100
newAddresses[8] = 0x1a6805487322565202848f239C1B5bC32303C2FE;
101-
newAddresses[9] = 0x4393C2a521ef115cd32C1d45897E7ce33aDa7aa9;
101+
newAddresses[10] = 0x4393C2a521ef115cd32C1d45897E7ce33aDa7aa9;
102+
102103
for (uint256 i = 0; i < TARGET_DEPLOYMENT_CHAINS.length; ++i) {
103104
vm.selectFork(FORKS[TARGET_DEPLOYMENT_CHAINS[i]]);
104105

@@ -110,6 +111,9 @@ contract SmokeTest is MainnetBaseSetup {
110111
sr = SuperRegistry(getContract(TARGET_DEPLOYMENT_CHAINS[i], "SuperRegistry"));
111112

112113
for (uint256 j = 0; j < len; ++j) {
114+
if (j == 10 && TARGET_DEPLOYMENT_CHAINS[i] != ETH) {
115+
continue;
116+
}
113117
assertEq(sr.getAddress(ids[j]), newAddresses[j]);
114118
}
115119
}

test/utils/BaseSetup.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1791,7 +1791,7 @@ abstract contract BaseSetup is StdInvariant, Test {
17911791
}
17921792
if (!invariant) {
17931793
forks[ETH] = selectedChainIds[ETH]
1794-
? pinnedBlock ? vm.createFork(ETHEREUM_RPC_URL, 20_574_913) : vm.createFork(ETHEREUM_RPC_URL_QN)
1794+
? pinnedBlock ? vm.createFork(ETHEREUM_RPC_URL, 21_363_913) : vm.createFork(ETHEREUM_RPC_URL_QN)
17951795
: 999;
17961796
forks[BSC] = selectedChainIds[BSC]
17971797
? pinnedBlock ? vm.createFork(BSC_RPC_URL, 42_996_977) : vm.createFork(BSC_RPC_URL_QN)

0 commit comments

Comments
 (0)