Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tasks/verifySpokePool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ task("verify-spokepool", "Verify the configuration of a deployed SpokePool")
"depositQuoteTimeBuffer",
"fillDeadlineBuffer",
"wrappedNativeToken",
// "withdrawalRecipient",
"withdrawalRecipient",
"crossDomainAdmin",
] as const;
const multicall = await spokePool.callStatic.multicall(
Expand Down Expand Up @@ -71,9 +71,9 @@ task("verify-spokepool", "Verify the configuration of a deployed SpokePool")
assert(wrappedNative === expectedWrappedNative, `wrappedNativeToken: ${wrappedNative} != ${expectedWrappedNative}`);
console.log("SpokePool.wrappedNativeToken()".padEnd(TEXT_PADDING) + ": " + wrappedNative);

// const withdrawalRecipient = bytes32ToAddress(results.withdrawalRecipient);
// console.log("SpokePool.withdrawalRecipient()".padEnd(TEXT_PADDING) + ": " + withdrawalRecipient);
// assert(withdrawalRecipient === hubAddress, `withdrawalRecipient: ${withdrawalRecipient} != ${hubAddress}`);
const withdrawalRecipient = bytes32ToAddress(results.withdrawalRecipient);
console.log("SpokePool.withdrawalRecipient()".padEnd(TEXT_PADDING) + ": " + withdrawalRecipient);
assert(withdrawalRecipient === hubAddress, `withdrawalRecipient: ${withdrawalRecipient} != ${hubAddress}`);

const crossDomainAdmin = bytes32ToAddress(results.crossDomainAdmin);
console.log("SpokePool.crossDomainAdmin()".padEnd(TEXT_PADDING) + ": " + crossDomainAdmin);
Expand Down
2 changes: 1 addition & 1 deletion utils/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { CHAIN_IDs, MAINNET_CHAIN_IDs, TOKEN_SYMBOLS_MAP } from "@across-protocol/constants";
export { CHAIN_IDs, MAINNET_CHAIN_IDs, PRODUCTION_NETWORKS, TOKEN_SYMBOLS_MAP } from "@across-protocol/constants";

export const FillStatus = {
Unfilled: 0,
Expand Down
Loading