Skip to content

Commit bad6fb8

Browse files
authored
fix: Minor verifySpokePool fixes (#887)
1 parent aa299e5 commit bad6fb8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

tasks/verifySpokePool.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ task("verify-spokepool", "Verify the configuration of a deployed SpokePool")
4040
"depositQuoteTimeBuffer",
4141
"fillDeadlineBuffer",
4242
"wrappedNativeToken",
43-
// "withdrawalRecipient",
43+
"withdrawalRecipient",
4444
"crossDomainAdmin",
4545
] as const;
4646
const multicall = await spokePool.callStatic.multicall(
@@ -71,9 +71,9 @@ task("verify-spokepool", "Verify the configuration of a deployed SpokePool")
7171
assert(wrappedNative === expectedWrappedNative, `wrappedNativeToken: ${wrappedNative} != ${expectedWrappedNative}`);
7272
console.log("SpokePool.wrappedNativeToken()".padEnd(TEXT_PADDING) + ": " + wrappedNative);
7373

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

7878
const crossDomainAdmin = bytes32ToAddress(results.crossDomainAdmin);
7979
console.log("SpokePool.crossDomainAdmin()".padEnd(TEXT_PADDING) + ": " + crossDomainAdmin);

utils/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export { CHAIN_IDs, MAINNET_CHAIN_IDs, TOKEN_SYMBOLS_MAP } from "@across-protocol/constants";
1+
export { CHAIN_IDs, MAINNET_CHAIN_IDs, PRODUCTION_NETWORKS, TOKEN_SYMBOLS_MAP } from "@across-protocol/constants";
22

33
export const FillStatus = {
44
Unfilled: 0,

0 commit comments

Comments
 (0)