Skip to content

fix(tempo): backport withdrawal sender tag - #384

Closed
struong wants to merge 1 commit into
0.xfrom
struong/tempo-withdrawal-sender-tag-fix
Closed

fix(tempo): backport withdrawal sender tag#384
struong wants to merge 1 commit into
0.xfrom
struong/tempo-withdrawal-sender-tag-fix

Conversation

@struong

@struong struong commented Aug 6, 2026

Copy link
Copy Markdown
Member

Summary

Backports the WithdrawalSenderTag API introduced by #348 to Ox 0.x with the corrected nonce-bound Zone withdrawal algorithm.

Motivation

Viem main uses Ox 0.14.x. Zone user withdrawals hash sender || transactionHash || fallbackNonce; omitting the fallback nonce returns a tag that cannot locate the parent-chain WithdrawalProcessed event.

Changes

  • Backported WithdrawalSenderTag.from to the Ox 0.x Tempo exports.
  • Included fallbackNonce as a packed uint64 for user withdrawals.
  • Preserved the canonical zero-sender internal deposit bounce-back tag.
  • Added runtime and type coverage plus a patch changeset.

Testing

  • pnpm test src/tempo/WithdrawalSenderTag.test.ts
  • pnpm check:types
  • pnpm check:tsdoc
  • Verified the production vector returns 0xf1acbae45cd689281144042331e3379cf631a8d2db83057ccf38754a0b0108f2.

@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ox Building Building Preview Aug 6, 2026 4:21pm

Request Review

@struong

struong commented Aug 6, 2026

Copy link
Copy Markdown
Member Author

Superseded by #385, which patches the existing WithdrawalSenderTag API introduced in #348 on main.

@struong struong closed this Aug 6, 2026
@struong struong reopened this Aug 6, 2026
@struong struong changed the title feat(tempo): add withdrawal sender tag utility fix(tempo): backport withdrawal sender tag Aug 6, 2026
@struong

struong commented Aug 6, 2026

Copy link
Copy Markdown
Member Author

Superseded by #385, which patches the existing WithdrawalSenderTag API on main.

@struong struong closed this Aug 6, 2026
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.

1 participant