Skip to content

feat: signed dispatch permit#1462

Merged
enthusiastmartin merged 11 commits into
masterfrom
feat/signed_dispatch_permit
May 30, 2026
Merged

feat: signed dispatch permit#1462
enthusiastmartin merged 11 commits into
masterfrom
feat/signed_dispatch_permit

Conversation

@dmoka
Copy link
Copy Markdown
Contributor

@dmoka dmoka commented May 21, 2026

fixes: #1458

todo:

  • decide on benchmark. now because of dry run on signed, we doubled weight for unsigned permit. one solution is to create 2 extrinsic for dispatch permit.
  • test usual evm actions on lark

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 21, 2026

Crate versions that have been updated:

  • runtime-integration-tests: v1.86.0 -> v1.87.0
  • pallet-transaction-multi-payment: v10.5.0 -> v10.6.0
  • hydradx-runtime: v420.0.0 -> v421.0.0

Runtime version has been increased.

@dmoka dmoka marked this pull request as ready for review May 22, 2026 06:01
@dmoka dmoka requested review from enthusiastmartin and mrq1911 May 25, 2026 13:24
Copy link
Copy Markdown
Member

@mrq1911 mrq1911 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the signed dispatch-permit logic. The signed branch correctly charges the paymaster (Substrate envelope fee always, EVM gas only on success — failed inner calls roll back via the per-call storage layer), the dry-run removal and 1× weight are correct, and the fee-payer override is restored on every path. Tests cover the key behaviors (nonce rollback on revert, no autopause on the signed path, fee-payer restore). LGTM.

@github-actions
Copy link
Copy Markdown

Quick benchmark at commit 4c93712 has been executed successfully.
View results

@enthusiastmartin enthusiastmartin merged commit 84eaa13 into master May 30, 2026
11 checks passed
@enthusiastmartin enthusiastmartin deleted the feat/signed_dispatch_permit branch May 30, 2026 11:00
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.

pallet_multi_transaction_payment: accept signed origin on dispatch_permit (paymaster fee-payer routing)

3 participants