Skip to content

Validate Tempo receive policy claimers#4758

Open
decofe wants to merge 14 commits into
wevm:mainfrom
decofe:centaur/tempo-receive-policy-action-1782329360
Open

Validate Tempo receive policy claimers#4758
decofe wants to merge 14 commits into
wevm:mainfrom
decofe:centaur/tempo-receive-policy-action-1782329360

Conversation

@decofe

@decofe decofe commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Adds client-side validation for Tempo receive policy claimers so explicit recovery authorities cannot be TIP-1022 virtual addresses, TIP-20 token addresses, or fixed Tempo system precompiles. Also exposes the TIP20 channel reserve address constant and includes it in the blocklist.

Tests:

  • pnpm exec biome check --write --unsafe src/tempo/Addresses.ts src/tempo/actions/receivePolicy.ts src/tempo/actions/receivePolicy.test.ts
  • pnpm exec tsc --noEmit --pretty false --incremental false

Not run successfully:

  • pnpm test src/tempo/actions/receivePolicy.test.ts (Tempo test server setup failed before tests with HTTP 400 on eth_getBlockByNumber)

Prompted by: @0xalpharush

@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

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

A member of the Team first needs to authorize it.

@changeset-bot

changeset-bot Bot commented Jun 24, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 58ac91d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jun 24, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/viem@4758

commit: 58ac91d

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