Skip to content

feat(tempo): add WithdrawalSenderTag - #348

Merged
tmm merged 1 commit into
wevm:mainfrom
struong:struong/tempo-withdrawal-sender-tag
Jul 31, 2026
Merged

feat(tempo): add WithdrawalSenderTag#348
tmm merged 1 commit into
wevm:mainfrom
struong:struong/tempo-withdrawal-sender-tag

Conversation

@struong

@struong struong commented Jul 31, 2026

Copy link
Copy Markdown
Member

Summary

Adds a public WithdrawalSenderTag Tempo utility for deriving the sender tag that correlates Zone withdrawals with parent-chain WithdrawalProcessed events.

Motivation

Consumers need to derive this protocol value without depending on Viem’s synchronous withdrawal submission action.

Changes

  • Added WithdrawalSenderTag.from using Ox ABI packing and Keccak primitives.
  • Exported both ox/tempo and ox/tempo/WithdrawalSenderTag entrypoints.
  • Added runtime and type coverage for the protocol vector and determinism.
  • Added a minor changeset for the new public API.

Testing

  • pnpm exports:update
  • pnpm test --project tempo-unit --bail=1 src/tempo/WithdrawalSenderTag.test.ts
  • pnpm check
  • pnpm check:types
  • pnpm build
  • pnpm docs:gen

Compatibility

This preview targets Ox 1.x. Viem 2.55.x currently depends on Ox 0.14.x, so downstream testing requires an intentional Ox upgrade.

@vercel

vercel Bot commented Jul 31, 2026

Copy link
Copy Markdown

@struong is attempting to deploy a commit to the Wevm Team on Vercel.

A member of the Team first needs to authorize it.

@pkg-pr-new

pkg-pr-new Bot commented Jul 31, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/ox@348

commit: f126804

@struong
struong marked this pull request as ready for review July 31, 2026 20:22
@tmm
tmm merged commit fcd16f0 into wevm:main Jul 31, 2026
25 of 29 checks passed
@github-actions github-actions Bot mentioned this pull request Jul 31, 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.

2 participants