Skip to content

fix(tempo): normalize sponsored charge signing#616

Draft
decofe wants to merge 1 commit into
wevm:mainfrom
decofe:centaur/fix-viem-254-fee-payer-1783073960
Draft

fix(tempo): normalize sponsored charge signing#616
decofe wants to merge 1 commit into
wevm:mainfrom
decofe:centaur/fix-viem-254-fee-payer-1783073960

Conversation

@decofe

@decofe decofe commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Normalize sponsored Tempo charge transactions before signing by dropping filled fee-payer fields and then setting feePayer: true. This keeps client pull-mode charges on the partial fee-payer handoff path expected by servers after viem fee-payer fill behavior changed.

The regression was exposed after wevm/viem#4773 landed in viem@2.54.0, which tightened transaction signature parsing.

Testing

  • VITE_TEMPO_NETWORK=none pnpm exec vp test --project node --run src/tempo/client/Charge.test.ts
  • pnpm exec vp fmt --check src/tempo/client/Charge.ts src/tempo/client/Charge.test.ts
  • pnpm exec vp lint src/tempo/client/Charge.ts src/tempo/client/Charge.test.ts
  • pnpm check:types

Prompted by: @grandizzy

@pkg-pr-new

pkg-pr-new Bot commented Jul 3, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/mppx@616

commit: 5697fa4

@decofe decofe force-pushed the centaur/fix-viem-254-fee-payer-1783073960 branch from c044b4e to b3a51fe Compare July 3, 2026 10:31
@decofe decofe force-pushed the centaur/fix-viem-254-fee-payer-1783073960 branch from b3a51fe to 5697fa4 Compare July 3, 2026 10:42
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