Skip to content

next-asset-hub-paseo: Deny nested relay reserve transfers - #243

Merged
agustinustheo merged 4 commits into
mainfrom
fix/th-next-ah-deny-recursively
Nov 25, 2026
Merged

agustinustheo merged 4 commits into
mainfrom
fix/th-next-ah-deny-recursively

Conversation

@agustinustheo

@agustinustheo agustinustheo commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Next Asset Hub Paseo denied a relay reserve transfer only at the top level of an XCM program, so the same transfer ran inside SetAppendix or SetErrorHandler. It also never checked the XCM v5 InitiateTransfer.

Changes

  • Next Asset Hub Paseo wraps its relay reserve transfer filters in DenyRecursively, as Next People Paseo does.
  • Relay reserve transfers are now denied inside SetAppendix, SetErrorHandler and ExecuteWithOrigin, not only at the top level.
  • An InitiateTransfer to the relay chain is denied when its fees or any of its assets use a reserve transfer. A teleport-only InitiateTransfer to the relay chain is still allowed.
  • A new test covers each relay reserve transfer instruction at every nesting level, plus the cases that must still pass.

I found this using polkadot-linter.

@agustinustheo agustinustheo changed the title Next Asset Hub Paseo: Deny relay reserve transfers in nested XCM Next Asset Hub Paseo: Deny nested relay reserve transfers Nov 12, 2026
@agustinustheo agustinustheo changed the title Next Asset Hub Paseo: Deny nested relay reserve transfers next-asset-hub-paseo: Deny nested relay reserve transfers Nov 12, 2026
@agustinustheo agustinustheo added D2-no audit No audit is needed C0-non-breaking This PR is not a breaking change for any runtime consuming it. labels Nov 12, 2026
@agustinustheo agustinustheo self-assigned this Nov 12, 2026
@agustinustheo
agustinustheo marked this pull request as ready for review November 12, 2026 12:31
@agustinustheo
agustinustheo requested a review from a team November 12, 2026 12:31
@agustinustheo
agustinustheo enabled auto-merge (squash) November 25, 2026 16:33
@agustinustheo
agustinustheo merged commit d146e53 into main Nov 25, 2026
24 of 28 checks passed
@agustinustheo
agustinustheo deleted the fix/th-next-ah-deny-recursively branch November 25, 2026 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C0-non-breaking This PR is not a breaking change for any runtime consuming it. D2-no audit No audit is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants