Skip to content

bump pallet-revive to 0.18.1 - #21

Open
re-gius wants to merge 1 commit into
mainfrom
re-gius/bump-pallet-revive-0.18.1
Open

bump pallet-revive to 0.18.1#21
re-gius wants to merge 1 commit into
mainfrom
re-gius/bump-pallet-revive-0.18.1

Conversation

@re-gius

@re-gius re-gius commented Aug 20, 2026

Copy link
Copy Markdown

DotNS deploys onto next-asset-hub-paseo, and its PoP controller has to recognise a substrate Root dispatch as an authority. The only root check in pallet-revive 0.18.0 is callerIsRoot, which answers only when the asking contract is the direct callee of the dispatch. The controller is a UUPS proxy, so its implementation runs inside the proxy's delegatecall and cannot ask the precompile from its own frame.

pallet-revive 0.18.1 adds originIsRoot, which returns true whenever the top-level dispatch was root regardless of how many contract or delegate-call frames separate the precompile from that dispatch. That lets the controller check root authority from inside its own proxy frame and it is the same mechanism any future governance-gated entrypoint on the registrar controller would use. The method was published from unstable2604 after the backport of paritytech/polkadot-sdk#12281 landed as paritytech/polkadot-sdk#12923. This is a lockfile-only update and it makes the new available to next-asset-hub-paseo, which has to ship for the method to exist on chain.

Changes

  • Cargo.lock: the three version bumps for pallet-revive, pallet-revive-uapi, pallet-revive-fixtures.
  • Five transitive windows-sys edges re-point from 0.61.2 to 0.59.0 as a resolver side effect

@re-gius
re-gius requested a review from a team August 20, 2026 13:47
@socket-security

socket-security Bot commented Aug 20, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedcargo/​pallet-revive-fixtures@​0.12.0 ⏵ 0.12.1791009310070
Updatedcargo/​pallet-revive@​0.18.0 ⏵ 0.18.192100100100100

View full report

@re-gius
re-gius force-pushed the re-gius/bump-pallet-revive-0.18.1 branch from 36e7b7f to 197d6e1 Compare August 20, 2026 13:52
@csmnprschv

Copy link
Copy Markdown
Collaborator

@kianenigma, we'll need to revisit pallet-revive when we take care of #10. It uses 0.19.0, which doesn't currently contain originIsRoot.

@re-gius

re-gius commented Aug 20, 2026

Copy link
Copy Markdown
Author

@kianenigma, we'll need to revisit pallet-revive when we take care of #10. It uses 0.19.0, which doesn't currently contain originIsRoot.

If necessary, I can backport paritytech/polkadot-sdk#12281 to some other (stable?) branch to have it in the ^0.19.0 releases

@re-gius
re-gius enabled auto-merge (squash) August 20, 2026 14:13
@csmnprschv

Copy link
Copy Markdown
Collaborator

@kianenigma, we'll need to revisit pallet-revive when we take care of #10. It uses 0.19.0, which doesn't currently contain originIsRoot.

If necessary, I can backport paritytech/polkadot-sdk#12281 to some other (stable?) branch to have it in the ^0.19.0 releases

Yeah, would be nice if the upcoming polkadot-stable2606-2 had it.

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