Skip to content

Commit

Permalink
chore: fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yi-sun committed May 28, 2024
1 parent 318493b commit b3caf4b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
export PROVIDER_URI_MAINNET=${{ secrets.PROVIDER_URI_MAINNET }}
export PROVIDER_URI_SEPOLIA=${{ secrets.PROVIDER_URI_SEPOLIA }}
export PROVIDER_URI_BASE=${{ secrets.PROVIDER_URI_BASE }}
export PROVIDER_URI_GNOSIS=${{ secrets.PROVIDER_URI_GNOSIS }}
RUST_BACKTRACE=1 forge test -vvv
test-mac:
Expand Down Expand Up @@ -88,4 +89,5 @@ jobs:
export PROVIDER_URI_MAINNET=${{ secrets.PROVIDER_URI_MAINNET }}
export PROVIDER_URI_SEPOLIA=${{ secrets.PROVIDER_URI_SEPOLIA }}
export PROVIDER_URI_BASE=${{ secrets.PROVIDER_URI_BASE }}
export PROVIDER_URI_GNOSIS=${{ secrets.PROVIDER_URI_GNOSIS }}
RUST_BACKTRACE=1 forge test -vvv
2 changes: 1 addition & 1 deletion build/axiom-std-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ var require_prove = __commonJS({
if (!bridgeId) {
throw new Error("`bridgeId` is required for broadcaster bridge type");
}
if (sourceChainId == "1" && targetChainId == "8453") {
if (false) {
axiomV2QueryAddress = (0, address_1.getAxiomV2QueryBroadcasterAddress)({ sourceChainId, targetChainId, bridgeId });
} else {
axiomV2QueryAddress = "0xdEaDBEefDeaDbEefDeAdbeefDeAdbEEfAAaaAAaA";
Expand Down
4 changes: 2 additions & 2 deletions cli/prove.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ export const prove = async (
if (!bridgeId) {
throw new Error("`bridgeId` is required for broadcaster bridge type");
}
if (sourceChainId == "1" && targetChainId == "8453") {
axiomV2QueryAddress = getAxiomV2QueryBroadcasterAddress({sourceChainId, targetChainId, bridgeId});
if (false) {
axiomV2QueryAddress = getAxiomV2QueryBroadcasterAddress({sourceChainId, targetChainId: targetChainId!, bridgeId: bridgeId!});
} else {
axiomV2QueryAddress = "0xdEaDBEefDeaDbEefDeAdbeefDeAdbEEfAAaaAAaA";
}
Expand Down
2 changes: 1 addition & 1 deletion src/AxiomCli.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ pragma solidity ^0.8.0;

library AxiomCli {
/// @dev The SHA256 hash of the Axiom CLI binary
bytes public constant CLI_SHASUM = hex"5f01fa3b07fab1ee38fd7755f158a2d59a8d2bffec88bde3fad474b006a53981";
bytes public constant CLI_SHASUM = hex"5ae07ff7d39f98884004eb6b0e0cb50cc311f092e92437dcf62d7c6a6ef0bb6d";
}

0 comments on commit b3caf4b

Please sign in to comment.