Skip to content

chore: Use chains native address format for DepositAddress Withdrawal flow#3400

Open
dijanin-brat wants to merge 1 commit into
masterfrom
dijanin-brat/useBase58WithdrwalFlow
Open

chore: Use chains native address format for DepositAddress Withdrawal flow#3400
dijanin-brat wants to merge 1 commit into
masterfrom
dijanin-brat/useBase58WithdrwalFlow

Conversation

@dijanin-brat
Copy link
Copy Markdown
Contributor

No description provided.

@dijanin-brat dijanin-brat self-assigned this May 21, 2026
@dijanin-brat dijanin-brat added the do not merge Don't merge until label is removed label May 21, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5b01eb2e63

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +104 to +108
expect(toAddressType(normalized.routeParams.refundAddress, originChainId).toNative()).to.equal(
raw.routeParams.refundAddress
);
expect(
toAddressType(normalized.counterfactualMaterials.withdrawLeaf.implementationAddress, originChainId).toNative()
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Assert withdraw params with refund chain ID

The new withdraw-focused test still calls toAddressType(..., originChainId) for signed-withdraw fields, so it won’t fail when originChainId and erc20Transfer.chainId differ (the exact mis_route/intent_refund case this change targets). That means a regression in refund-chain formatting for user/withdrawImplementation could slip through despite this test passing; these assertions should use refundChainId to validate the behavior being introduced.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge Don't merge until label is removed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant