Skip to content

Support Polkadot AuthorizeCall / SetOrigin signed extensions and empty lookup paths#421

Open
aemet93 wants to merge 1 commit intocentrifuge:masterfrom
meta-chain:polkadot-signed-extensions
Open

Support Polkadot AuthorizeCall / SetOrigin signed extensions and empty lookup paths#421
aemet93 wants to merge 1 commit intocentrifuge:masterfrom
meta-chain:polkadot-signed-extensions

Conversation

@aemet93
Copy link
Copy Markdown

@aemet93 aemet93 commented Mar 29, 2026

Adds support for Polkadot relay metadata that lists AuthorizeCall and SetOrigin signed extensions, and skips synthetic signed-extension lookup entries with an empty type path so payload construction matches runtime expectations for ordinary signed extrinsics.

Polkadot relay runtimes using frame_system::AuthorizeCall and frame_system::SetOrigin list these extensions in metadata. Register them with no-op payload mutators so standard account-signed extrinsics still build a valid signer payload.

Skip signed extension lookup entries with an empty portable type Path (synthetic ids with no extra signer payload data), matching PhantomData-style extensions.

Made-with: Cursor
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