Skip to content

fix(abstract-eth): fix verifyTransaction for base multig address duri…#8938

Merged
MohammedRyaan786 merged 1 commit into
masterfrom
CHALO-530
Jun 4, 2026
Merged

fix(abstract-eth): fix verifyTransaction for base multig address duri…#8938
MohammedRyaan786 merged 1 commit into
masterfrom
CHALO-530

Conversation

@MohammedRyaan786
Copy link
Copy Markdown
Contributor

@MohammedRyaan786 MohammedRyaan786 commented Jun 4, 2026

TICKET: CHALO-530

This pull request adds support for ERC-7984 token enablement transactions on multisig base-address wallets, specifically handling cases where the transaction recipient is the Zama ACL contract instead of the wallet's base address. It also introduces new tests to verify this behavior.

ERC-7984 Token Enablement Support:

  • Updated the recipient address verification logic in AbstractEthLikeNewCoins so that, for enabletoken transactions, if the transaction is targeting the Zama ACL contract (as configured for the network), the usual recipient address equality check is bypassed. This ensures that valid enabletoken transactions to the ACL contract are accepted.

Testing Enhancements:

  • Added new unit tests in eth.ts to verify that verifyTransaction correctly allows enabletoken transactions where the txParams recipient is the wallet base address and the txPrebuild recipient is the Zama ACL contract, and that it rejects cases where the recipient is not the ACL contract.

@linear-code
Copy link
Copy Markdown

linear-code Bot commented Jun 4, 2026

CHALO-530

@MohammedRyaan786 MohammedRyaan786 marked this pull request as ready for review June 4, 2026 13:51
@MohammedRyaan786 MohammedRyaan786 requested a review from a team as a code owner June 4, 2026 13:51
Copy link
Copy Markdown
Contributor

@bhuvanr159 bhuvanr159 left a comment

Choose a reason for hiding this comment

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

lgtm

@MohammedRyaan786 MohammedRyaan786 merged commit c220724 into master Jun 4, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants