-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Westend: Support Meta Transactions #11469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
cirko33
wants to merge
18
commits into
master
Choose a base branch
from
cirko33-meta-tx-runtimes
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
e4d7192
add pallet meta tx to multiple runtimes
cirko33 bd728bb
Merge branch 'master' into cirko33-meta-tx-runtimes
cirko33 52aebdc
Update from github-actions[bot] running command 'prdoc --audience run…
github-actions[bot] 329fe8c
Update from github-actions[bot] running command 'bench --pallet palle…
github-actions[bot] f2ae862
Update from github-actions[bot] running command 'bench --pallet palle…
github-actions[bot] dd16b02
Update from github-actions[bot] running command 'bench --pallet palle…
github-actions[bot] b33a77d
Merge branch 'master' into cirko33-meta-tx-runtimes
cirko33 86d08b9
Update from github-actions[bot] running command 'bench --pallet palle…
github-actions[bot] f5b153f
Update from github-actions[bot] running command 'bench --pallet palle…
github-actions[bot] 16bd356
Update from github-actions[bot] running command 'bench --pallet palle…
github-actions[bot] 3f494c9
Update from github-actions[bot] running command 'bench --pallet palle…
github-actions[bot] 6bbd8b0
move pallets to handy utility indexes and put correct weights on config
cirko33 47d6dd4
Update from github-actions[bot] running command 'prdoc --audience run…
github-actions[bot] eeb5fb2
fix prdoc
cirko33 01e2c06
Merge branch 'master' into cirko33-meta-tx-runtimes
cirko33 220345d
push cargo lock
cirko33 c470653
Merge branch 'master' into cirko33-meta-tx-runtimes
cirko33 32a6d39
fmt
cirko33 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
cumulus/parachains/runtimes/assets/asset-hub-westend/src/weights/pallet_meta_tx.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| // Copyright (C) Parity Technologies (UK) Ltd. | ||
| // SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||
| // you may not use this file except in compliance with the License. | ||
| // You may obtain a copy of the License at | ||
| // | ||
| // http://www.apache.org/licenses/LICENSE-2.0 | ||
| // | ||
| // Unless required by applicable law or agreed to in writing, software | ||
| // distributed under the License is distributed on an "AS IS" BASIS, | ||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
|
|
||
| //! Autogenerated weights for `pallet_meta_tx` | ||
| //! | ||
| //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 | ||
| //! DATE: 2026-03-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` | ||
| //! WORST CASE MAP SIZE: `1000000` | ||
| //! HOSTNAME: `507b76bae137`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` | ||
| //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 | ||
|
|
||
| // Executed Command: | ||
| // frame-omni-bencher | ||
| // v1 | ||
| // benchmark | ||
| // pallet | ||
| // --extrinsic=* | ||
| // --runtime=target/production/wbuild/asset-hub-westend-runtime/asset_hub_westend_runtime.wasm | ||
| // --pallet=pallet_meta_tx | ||
| // --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt | ||
| // --output=./cumulus/parachains/runtimes/assets/asset-hub-westend/src/weights | ||
| // --wasm-execution=compiled | ||
| // --steps=50 | ||
| // --repeat=20 | ||
| // --heap-pages=4096 | ||
| // --no-storage-info | ||
| // --no-min-squares | ||
| // --no-median-slopes | ||
|
|
||
| #![cfg_attr(rustfmt, rustfmt_skip)] | ||
| #![allow(unused_parens)] | ||
| #![allow(unused_imports)] | ||
| #![allow(missing_docs)] | ||
|
|
||
| use frame_support::{traits::Get, weights::Weight}; | ||
| use core::marker::PhantomData; | ||
|
|
||
| /// Weight functions for `pallet_meta_tx`. | ||
| pub struct WeightInfo<T>(PhantomData<T>); | ||
| impl<T: frame_system::Config> pallet_meta_tx::WeightInfo for WeightInfo<T> { | ||
| /// The range of component `n` is `[8, 100]`. | ||
| fn bare_dispatch(n: u32, ) -> Weight { | ||
| // Proof Size summary in bytes: | ||
| // Measured: `0` | ||
| // Estimated: `0` | ||
| // Minimum execution time: 7_909_000 picoseconds. | ||
| Weight::from_parts(8_635_922, 0) | ||
| .saturating_add(Weight::from_parts(0, 0)) | ||
| // Standard Error: 32 | ||
| .saturating_add(Weight::from_parts(4_392, 0).saturating_mul(n.into())) | ||
muharem marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| } | ||
| } | ||
61 changes: 61 additions & 0 deletions
61
cumulus/parachains/runtimes/assets/asset-hub-westend/src/weights/pallet_verify_signature.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| // Copyright (C) Parity Technologies (UK) Ltd. | ||
| // SPDX-License-Identifier: Apache-2.0 | ||
|
|
||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||
| // you may not use this file except in compliance with the License. | ||
| // You may obtain a copy of the License at | ||
| // | ||
| // http://www.apache.org/licenses/LICENSE-2.0 | ||
| // | ||
| // Unless required by applicable law or agreed to in writing, software | ||
| // distributed under the License is distributed on an "AS IS" BASIS, | ||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
|
|
||
| //! Autogenerated weights for `pallet_verify_signature` | ||
| //! | ||
| //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0 | ||
| //! DATE: 2026-03-23, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]` | ||
| //! WORST CASE MAP SIZE: `1000000` | ||
| //! HOSTNAME: `9c015ccade1b`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz` | ||
| //! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024 | ||
|
|
||
| // Executed Command: | ||
| // frame-omni-bencher | ||
| // v1 | ||
| // benchmark | ||
| // pallet | ||
| // --extrinsic=* | ||
| // --runtime=target/production/wbuild/asset-hub-westend-runtime/asset_hub_westend_runtime.wasm | ||
| // --pallet=pallet_verify_signature | ||
| // --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt | ||
| // --output=./cumulus/parachains/runtimes/assets/asset-hub-westend/src/weights | ||
| // --wasm-execution=compiled | ||
| // --steps=50 | ||
| // --repeat=20 | ||
| // --heap-pages=4096 | ||
| // --no-storage-info | ||
| // --no-min-squares | ||
| // --no-median-slopes | ||
|
|
||
| #![cfg_attr(rustfmt, rustfmt_skip)] | ||
| #![allow(unused_parens)] | ||
| #![allow(unused_imports)] | ||
| #![allow(missing_docs)] | ||
|
|
||
| use frame_support::{traits::Get, weights::Weight}; | ||
| use core::marker::PhantomData; | ||
|
|
||
| /// Weight functions for `pallet_verify_signature`. | ||
| pub struct WeightInfo<T>(PhantomData<T>); | ||
| impl<T: frame_system::Config> pallet_verify_signature::WeightInfo for WeightInfo<T> { | ||
| fn verify_signature() -> Weight { | ||
| // Proof Size summary in bytes: | ||
| // Measured: `0` | ||
| // Estimated: `0` | ||
| // Minimum execution time: 42_154_000 picoseconds. | ||
| Weight::from_parts(43_685_000, 0) | ||
| .saturating_add(Weight::from_parts(0, 0)) | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.