Skip to content

Commit

Permalink
fix: include additional non-mainnet chains
Browse files Browse the repository at this point in the history
  • Loading branch information
james-a-morris committed Oct 10, 2023
1 parent aa22c30 commit 9c83c05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/validateRunningBalances.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@ export async function runScript(_logger: winston.Logger, baseSigner: Wallet): Pr
}

// Make sure that previous root bundle's netSendAmount has been deposited into the spoke pool. We only
// perform this check for chains 10, 137, 288, and 42161 because transfers from the hub pool to spoke
// perform this check for chains 10, 137, 288, 324, 8453, and 42161 because transfers from the hub pool to spoke
// pools on those chains can take a variable amount of time, unlike transfers to the spoke pool on
// mainnet. Additionally, deposits to those chains emit transfer events where the from address
// is the zero address, making it easy to track.
if ([10, 137, 288, 42161].includes(leaf.chainId)) {
if ([10, 137, 288, 42161, 324, 8453].includes(leaf.chainId)) {
const _followingBlockNumber =
clients.hubPoolClient.getFollowingRootBundle(previousValidatedBundle)?.blockNumber ||
clients.hubPoolClient.latestBlockNumber;
Expand Down

0 comments on commit 9c83c05

Please sign in to comment.