Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
cfe8667
add source to transaction extension
gui1117 Nov 1, 2024
f84192b
impl authorize
gui1117 Nov 1, 2024
6ee0830
use authorize for system code + system tasks
gui1117 Nov 1, 2024
f14e5ca
fix
gui1117 Nov 1, 2024
16d691b
prdoc
gui1117 Nov 1, 2024
ab46f1b
fmt
gui1117 Nov 1, 2024
93d9ed3
fmt
gui1117 Nov 1, 2024
241817e
Merge branch 'gui-tx-ext-stage-2-part-1' into gui-tx-ext-stage-2-part-2
gui1117 Nov 1, 2024
de1d4f4
improve code gen
gui1117 Nov 1, 2024
baa6fc5
prdoc
gui1117 Nov 20, 2024
ffe33de
apply suggestions
gui1117 Nov 20, 2024
461059a
Merge remote-tracking branch 'origin/master' into gui-tx-ext-stage-2-…
gui1117 Nov 20, 2024
7862970
use AsTransctionAuthorizedOrigin::is_transaction_authorized
gui1117 Nov 20, 2024
3dd50ca
test for call without authorization
gui1117 Nov 20, 2024
ec1b263
do not force std in test
gui1117 Nov 20, 2024
25691b8
add authorize call tx ext everywhere
gui1117 Nov 20, 2024
acd4282
update doc + example weight is zero
gui1117 Nov 22, 2024
6b65245
fmt
gui1117 Dec 2, 2024
71ca562
Merge remote-tracking branch 'origin/master' into gui-tx-ext-stage-2-…
gui1117 Dec 4, 2024
1116769
Merge branch 'gui-tx-ext-stage-2-part-2' into gui-tx-ext-stage-2-part-3
gui1117 Dec 4, 2024
b60a26c
refactor
gui1117 Dec 4, 2024
743835c
do not leak runtime-benchmark feature in dev build
gui1117 Dec 4, 2024
7d08985
minor
gui1117 Dec 4, 2024
83873c6
taplo
gui1117 Dec 4, 2024
f62152a
cannot link to dev dependencies
gui1117 Dec 4, 2024
33646e7
clippy
gui1117 Dec 4, 2024
2bc6d0c
fix tests and doc
gui1117 Dec 5, 2024
62c9e6e
Merge branch 'master' into gui-tx-ext-stage-2-part-2
gui1117 Dec 5, 2024
d040d4f
rustdoc
gui1117 Dec 5, 2024
e538e29
rustdoc
gui1117 Dec 5, 2024
3a757e8
fix span for split feature
gui1117 Dec 5, 2024
0946d79
Update from gui1117 running command 'update-ui'
actions-user Dec 5, 2024
d60e170
keep same error message as before
gui1117 Dec 5, 2024
f9cde01
fix test
gui1117 Dec 5, 2024
2c905e3
prdoc bump versions
gui1117 Dec 5, 2024
4bc94dd
Update from gui1117 running command 'update-ui'
actions-user Dec 5, 2024
a4452bc
Merge branch 'master' into gui-tx-ext-stage-2-part-2
gui1117 Dec 5, 2024
1566519
Merge branch 'master' into gui-tx-ext-stage-2-part-2
gui1117 Dec 5, 2024
2e756bc
ui test
gui1117 Dec 5, 2024
c002f10
remove non deterministic UI test
gui1117 Dec 6, 2024
f8db104
Merge branch 'gui-tx-ext-stage-2-part-2' into gui-tx-ext-stage-2-part-3
gui1117 Dec 7, 2024
9f171e0
remove deprecation for now
gui1117 Dec 7, 2024
36620e1
Update substrate/frame/support/src/traits/tasks.rs
gui1117 Dec 8, 2024
8b8870a
Merge branch 'gui-tx-ext-stage-2-part-2' into gui-tx-ext-stage-2-part-3
gui1117 Dec 8, 2024
9d2a62c
update comment
gui1117 Dec 8, 2024
6a39bf5
Merge remote-tracking branch 'origin/master' into gui-tx-ext-stage-2-…
gui1117 Feb 8, 2025
326d2e6
Merge remote-tracking branch 'origin/gui-tx-ext-stage-2-part-2' into …
gui1117 Feb 8, 2025
59a5cdc
fmt
gui1117 Feb 8, 2025
db55472
better example
gui1117 Feb 11, 2025
db50b83
remove unnecessary change
gui1117 Feb 11, 2025
7ea09fe
remove unnecessary change
gui1117 Feb 11, 2025
ae639ff
taplo + fmt
gui1117 Feb 11, 2025
6e4715f
doc link
gui1117 Feb 11, 2025
a6b793f
fix benchmark
gui1117 Feb 11, 2025
a4a2276
doc
gui1117 Feb 28, 2025
bcfa210
prdoc
gui1117 Feb 28, 2025
8bb6cbe
Merge remote-tracking branch 'origin/master' into gui-tx-ext-stage-2-…
gui1117 Feb 28, 2025
53c94f4
fix prdoc
gui1117 Feb 28, 2025
206f51d
fix rust 2024 lint against non local definition
gui1117 Feb 28, 2025
383e853
fix test
gui1117 Feb 28, 2025
29d9878
derive decode with mem tracking
gui1117 Feb 28, 2025
1276057
fix import
gui1117 Feb 28, 2025
54f86fd
Update from gui1117 running command 'update-ui'
github-actions[bot] Feb 28, 2025
c384474
Merge branch 'master' into gui-tx-ext-stage-2-part-2
gui1117 Feb 28, 2025
5630225
Merge remote-tracking branch 'origin/gui-tx-ext-stage-2-part-2' into …
gui1117 Mar 19, 2025
ccac961
Merge branch 'master' into gui-tx-ext-stage-2-part-2
gui1117 Mar 19, 2025
2f8a80b
Merge remote-tracking branch 'origin/gui-tx-ext-stage-2-part-2' into …
gui1117 Mar 19, 2025
ee1615a
merge fixup
gui1117 Mar 19, 2025
8b5ebd5
fix issue with usage of cfg and authorize together
gui1117 Mar 19, 2025
6a0f39a
Merge remote-tracking branch 'origin/gui-tx-ext-stage-2-part-2' into …
gui1117 Mar 19, 2025
d4b2904
some polishing
gui1117 Mar 19, 2025
fd9be83
Update from github-actions[bot] running command 'prdoc --audience run…
github-actions[bot] Mar 19, 2025
a34b100
Update prdoc/pr_6325.prdoc
gui1117 Mar 19, 2025
42b07a1
Update prdoc/pr_6325.prdoc
gui1117 Mar 19, 2025
f69bebe
Update from github-actions[bot] running command 'bench --pallet=frame…
github-actions[bot] Mar 19, 2025
cea8fd4
fix prdoc and add comments
gui1117 Mar 20, 2025
bc1b975
fix function name
gui1117 Mar 20, 2025
1e1408e
fix test
gui1117 Mar 20, 2025
16266e0
Merge remote-tracking branch 'origin/master' into gui-tx-ext-stage-2-…
gui1117 Nov 6, 2025
40db93d
remove outdated prdoc
gui1117 Nov 6, 2025
93e937d
fix merge
gui1117 Nov 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cumulus/pallets/weight-reclaim/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ impl frame_system::WeightInfo for MockWeightInfo {
fn apply_authorized_upgrade() -> Weight {
Weight::zero()
}
fn validate_apply_authorized_upgrade() -> Weight {
Weight::zero()
}
}

impl crate::WeightInfo for MockWeightInfo {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2025-03-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `ef4134d66388`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! HOSTNAME: `ca557a288a9d`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024

// Executed Command:
Expand Down Expand Up @@ -55,31 +55,31 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_126_000 picoseconds.
Weight::from_parts(2_200_000, 0)
// Minimum execution time: 2_026_000 picoseconds.
Weight::from_parts(2_182_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 159
.saturating_add(Weight::from_parts(14_054, 0).saturating_mul(b.into()))
// Standard Error: 160
.saturating_add(Weight::from_parts(14_115, 0).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_591_000 picoseconds.
Weight::from_parts(5_877_000, 0)
// Minimum execution time: 5_637_000 picoseconds.
Weight::from_parts(5_849_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 162
.saturating_add(Weight::from_parts(15_451, 0).saturating_mul(b.into()))
// Standard Error: 161
.saturating_add(Weight::from_parts(15_516, 0).saturating_mul(b.into()))
}
/// Storage: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1)
/// Proof: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1)
fn set_heap_pages() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_550_000 picoseconds.
Weight::from_parts(3_749_000, 0)
// Minimum execution time: 3_381_000 picoseconds.
Weight::from_parts(3_664_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -99,8 +99,8 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `164`
// Estimated: `1649`
// Minimum execution time: 183_928_190_000 picoseconds.
Weight::from_parts(186_535_938_000, 0)
// Minimum execution time: 185_021_445_000 picoseconds.
Weight::from_parts(187_819_742_000, 0)
.saturating_add(Weight::from_parts(0, 1649))
.saturating_add(T::DbWeight::get().reads(4))
.saturating_add(T::DbWeight::get().writes(3))
Expand All @@ -112,11 +112,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_005_000 picoseconds.
Weight::from_parts(2_044_000, 0)
// Minimum execution time: 2_076_000 picoseconds.
Weight::from_parts(2_200_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 1_949
.saturating_add(Weight::from_parts(715_120, 0).saturating_mul(i.into()))
// Standard Error: 2_355
.saturating_add(Weight::from_parts(744_681, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
Expand All @@ -126,11 +126,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_041_000 picoseconds.
Weight::from_parts(2_167_000, 0)
// Minimum execution time: 2_146_000 picoseconds.
Weight::from_parts(2_196_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 932
.saturating_add(Weight::from_parts(555_690, 0).saturating_mul(i.into()))
// Standard Error: 862
.saturating_add(Weight::from_parts(567_312, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
Expand All @@ -140,11 +140,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `87 + p * (69 ±0)`
// Estimated: `96 + p * (70 ±0)`
// Minimum execution time: 4_117_000 picoseconds.
Weight::from_parts(4_312_000, 0)
// Minimum execution time: 4_223_000 picoseconds.
Weight::from_parts(4_382_000, 0)
.saturating_add(Weight::from_parts(0, 96))
// Standard Error: 1_305
.saturating_add(Weight::from_parts(1_318_751, 0).saturating_mul(p.into()))
// Standard Error: 1_361
.saturating_add(Weight::from_parts(1_315_892, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
.saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into()))
Expand All @@ -155,8 +155,8 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 9_855_000 picoseconds.
Weight::from_parts(10_262_000, 0)
// Minimum execution time: 9_942_000 picoseconds.
Weight::from_parts(10_205_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -178,10 +178,21 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `186`
// Estimated: `1671`
// Minimum execution time: 187_827_902_000 picoseconds.
Weight::from_parts(189_544_441_000, 0)
// Minimum execution time: 188_483_830_000 picoseconds.
Weight::from_parts(189_791_876_000, 0)
.saturating_add(Weight::from_parts(0, 1671))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(4))
}
/// Storage: `System::AuthorizedUpgrade` (r:1 w:0)
/// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
fn validate_apply_authorized_upgrade() -> Weight {
// Proof Size summary in bytes:
// Measured: `22`
// Estimated: `1518`
// Minimum execution time: 5_377_194_000 picoseconds.
Weight::from_parts(5_422_612_000, 0)
.saturating_add(Weight::from_parts(0, 1518))
.saturating_add(T::DbWeight::get().reads(1))
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
//! Autogenerated weights for `frame_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! DATE: 2025-03-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `73b9817d6032`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! HOSTNAME: `ca557a288a9d`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024

// Executed Command:
Expand Down Expand Up @@ -55,31 +55,31 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 1_956_000 picoseconds.
Weight::from_parts(2_093_000, 0)
// Minimum execution time: 2_099_000 picoseconds.
Weight::from_parts(2_209_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 127
.saturating_add(Weight::from_parts(11_082, 0).saturating_mul(b.into()))
// Standard Error: 160
.saturating_add(Weight::from_parts(14_115, 0).saturating_mul(b.into()))
}
/// The range of component `b` is `[0, 3932160]`.
fn remark_with_event(b: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_644_000 picoseconds.
Weight::from_parts(5_772_000, 0)
// Minimum execution time: 5_800_000 picoseconds.
Weight::from_parts(5_982_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 128
.saturating_add(Weight::from_parts(12_641, 0).saturating_mul(b.into()))
// Standard Error: 162
.saturating_add(Weight::from_parts(15_548, 0).saturating_mul(b.into()))
}
/// Storage: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1)
/// Proof: UNKNOWN KEY `0x3a686561707061676573` (r:0 w:1)
fn set_heap_pages() -> Weight {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_376_000 picoseconds.
Weight::from_parts(3_607_000, 0)
// Minimum execution time: 3_409_000 picoseconds.
Weight::from_parts(3_774_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -101,8 +101,8 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `206`
// Estimated: `67035`
// Minimum execution time: 178_012_099_000 picoseconds.
Weight::from_parts(180_176_735_000, 0)
// Minimum execution time: 184_987_632_000 picoseconds.
Weight::from_parts(188_485_950_000, 0)
.saturating_add(Weight::from_parts(0, 67035))
.saturating_add(T::DbWeight::get().reads(5))
.saturating_add(T::DbWeight::get().writes(3))
Expand All @@ -114,11 +114,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_054_000 picoseconds.
Weight::from_parts(2_147_000, 0)
// Minimum execution time: 2_055_000 picoseconds.
Weight::from_parts(2_206_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 2_032
.saturating_add(Weight::from_parts(726_380, 0).saturating_mul(i.into()))
// Standard Error: 2_463
.saturating_add(Weight::from_parts(737_471, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
Expand All @@ -128,11 +128,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_081_000 picoseconds.
Weight::from_parts(2_175_000, 0)
// Minimum execution time: 2_173_000 picoseconds.
Weight::from_parts(2_269_000, 0)
.saturating_add(Weight::from_parts(0, 0))
// Standard Error: 925
.saturating_add(Weight::from_parts(558_740, 0).saturating_mul(i.into()))
// Standard Error: 895
.saturating_add(Weight::from_parts(560_250, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(i.into())))
}
/// Storage: `Skipped::Metadata` (r:0 w:0)
Expand All @@ -142,11 +142,11 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `93 + p * (69 ±0)`
// Estimated: `102 + p * (70 ±0)`
// Minimum execution time: 4_148_000 picoseconds.
Weight::from_parts(4_340_000, 0)
// Minimum execution time: 4_155_000 picoseconds.
Weight::from_parts(4_321_000, 0)
.saturating_add(Weight::from_parts(0, 102))
// Standard Error: 1_413
.saturating_add(Weight::from_parts(1_317_829, 0).saturating_mul(p.into()))
// Standard Error: 1_331
.saturating_add(Weight::from_parts(1_321_689, 0).saturating_mul(p.into()))
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
.saturating_add(Weight::from_parts(0, 70).saturating_mul(p.into()))
Expand All @@ -157,8 +157,8 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 11_605_000 picoseconds.
Weight::from_parts(13_028_000, 0)
// Minimum execution time: 10_138_000 picoseconds.
Weight::from_parts(10_673_000, 0)
.saturating_add(Weight::from_parts(0, 0))
.saturating_add(T::DbWeight::get().writes(1))
}
Expand All @@ -182,10 +182,23 @@ impl<T: frame_system::Config> frame_system::WeightInfo for WeightInfo<T> {
// Proof Size summary in bytes:
// Measured: `228`
// Estimated: `67035`
// Minimum execution time: 183_432_684_000 picoseconds.
Weight::from_parts(185_161_023_000, 0)
// Minimum execution time: 189_028_738_000 picoseconds.
Weight::from_parts(191_578_951_000, 0)
.saturating_add(Weight::from_parts(0, 67035))
.saturating_add(T::DbWeight::get().reads(6))
.saturating_add(T::DbWeight::get().writes(4))
}
/// Storage: `System::AuthorizedUpgrade` (r:1 w:0)
/// Proof: `System::AuthorizedUpgrade` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
/// Storage: `MultiBlockMigrations::Cursor` (r:1 w:0)
/// Proof: `MultiBlockMigrations::Cursor` (`max_values`: Some(1), `max_size`: Some(65550), added: 66045, mode: `MaxEncodedLen`)
fn validate_apply_authorized_upgrade() -> Weight {
// Proof Size summary in bytes:
// Measured: `64`
// Estimated: `67035`
// Minimum execution time: 5_441_740_000 picoseconds.
Weight::from_parts(5_492_084_000, 0)
.saturating_add(Weight::from_parts(0, 67035))
.saturating_add(T::DbWeight::get().reads(2))
}
}
Loading
Loading