Skip to content

feat(policy): enforce receive policies in zones#516

Open
mattsse wants to merge 1 commit into
mainfrom
mattsse/receive-policy-events
Open

feat(policy): enforce receive policies in zones#516
mattsse wants to merge 1 commit into
mainfrom
mattsse/receive-policy-events

Conversation

@mattsse

@mattsse mattsse commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Decode and cache TIP-403 ReceivePolicyUpdated events alongside existing policy events.
  • Expose receivePolicy and validateReceivePolicy through the zone TIP-403 proxy with cache-first, RPC-fallback resolution.
  • Enforce TIP-1028 receive policies in the zone TIP-20 wrapper by redirecting blocked transfers and mints into the receive-policy guard and storing claim receipts.

Why

Recent Tempo TIP-1028 changes added per-account receive policies, but zones only decoded the event as ignored state and did not enforce inbound blocking locally. That allowed zone-side transfers and mints to miss the L1 receive-policy behavior.

Impact

Zone execution now mirrors L1 receive-policy behavior for T6+: token filters are evaluated before sender policies, blocked funds move to the guard, and guard claims are available through the upstream ReceivePolicyGuard precompile.

@mattsse mattsse requested a review from 0xKitsune as a code owner June 24, 2026 11:14
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