Skip to content

Commit

Permalink
fix: CI + lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Raid Ateir committed Dec 13, 2024
1 parent f72d206 commit 7fff748
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/l1-contracts-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
node-version: 18.18.0
cache: yarn

- name: Use Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Install dependencies
run: yarn

Expand Down
4 changes: 2 additions & 2 deletions l1-contracts/test/foundry/l1/integration/GatewayTests.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -245,12 +245,12 @@ contract GatewayTests is L1ContractDeployer, ZKChainDeployer, TokenDeployer, L2T

address bridgeHubStmForChain = bridgeHub.chainTypeManager(chainId);
bytes32 bridgeHubBaseAssetIdForChain = bridgeHub.baseTokenAssetId(chainId);
address bridgeHubChainAddressdForChain = bridgeHub.getZKChain(chainId);
address bridgeHubChainAddressForChain = bridgeHub.getZKChain(chainId);
address bhAddr = IZKChain(chain).getBridgehub();

assertEq(bridgeHubStmForChain, stmAddr);
assertEq(bridgeHubBaseAssetIdForChain, baseTokenAssetId);
assertEq(bridgeHubChainAddressdForChain, chain);
assertEq(bridgeHubChainAddressForChain, chain);
assertEq(bhAddr, address(bridgeHub));
}

Expand Down

0 comments on commit 7fff748

Please sign in to comment.