Skip to content

Commit

Permalink
Merge branch 'master' into pxrl/bignumber
Browse files Browse the repository at this point in the history
  • Loading branch information
pxrl committed Sep 19, 2024
2 parents d388ffc + 0452644 commit 1745a6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/clients/MultiCallerClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,8 @@ export class TryMulticallClient extends MultiCallerClient {
mrkdwn: mrkdwn.join(""),
};
};
txnRequestsToSubmit.push(...txnCalldataToRebuild.map(rebuildTryMulticall));
const tryMulticallTxns = txnCalldataToRebuild.filter((txn) => txn.calldata.length !== 0).map(rebuildTryMulticall);
txnRequestsToSubmit.push(...tryMulticallTxns);
}

if (simulate) {
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/validateRootBundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export async function validate(_logger: winston.Logger, baseSigner: Signer): Pro
// enough data to limit # of excess historical deposit queries.
// - SPOKE_ROOTS_LOOKBACK_COUNT unused in this script so set to something < DATAWORKER_FAST_LOOKBACK_COUNT
// to avoid configuration error.
process.env.DATAWORKER_FAST_LOOKBACK_COUNT = "8";
process.env.DATAWORKER_FAST_LOOKBACK_COUNT = "10";
process.env.SPOKE_ROOTS_LOOKBACK_COUNT = "1";
const { clients, config, dataworker } = await createDataworker(logger, baseSigner);
logger[startupLogLevel(config)]({
Expand Down

0 comments on commit 1745a6b

Please sign in to comment.