Skip to content

Commit 18511d0

Browse files
Dinonardggwpez
authored andcommitted
[pallet-balances] burn_allow_death extrinsic (paritytech#3964)
Adds an additional extrinsic call to the `pallet-balances` to _burn_ tokens. Depending on the `keep_alive` flag, the call might or might not reap the account. Required modification of the _fungible's_ `Mutate` trait, `burn_from` function to allow the `Preservation` argument. **TODO** - [x] run benchmarks & update weights - [x] make sure prdoc is required & properly formatted Related issue: paritytech#3943 --------- Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: command-bot <>
1 parent a66852e commit 18511d0

32 files changed

Lines changed: 876 additions & 452 deletions

File tree

cumulus/parachains/runtimes/assets/asset-hub-rococo/src/weights/pallet_balances.rs

Lines changed: 38 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
//! Autogenerated weights for `pallet_balances`
1818
//!
1919
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
20-
//! DATE: 2024-01-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
20+
//! DATE: 2024-05-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
2121
//! WORST CASE MAP SIZE: `1000000`
22-
//! HOSTNAME: `runner-8idpd4bs-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
22+
//! HOSTNAME: `runner-unxyhko3-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
2323
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("asset-hub-rococo-dev")`, DB CACHE: 1024
2424
2525
// Executed Command:
@@ -54,8 +54,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
5454
// Proof Size summary in bytes:
5555
// Measured: `0`
5656
// Estimated: `3593`
57-
// Minimum execution time: 42_706_000 picoseconds.
58-
Weight::from_parts(43_378_000, 0)
57+
// Minimum execution time: 43_472_000 picoseconds.
58+
Weight::from_parts(44_389_000, 0)
5959
.saturating_add(Weight::from_parts(0, 3593))
6060
.saturating_add(T::DbWeight::get().reads(1))
6161
.saturating_add(T::DbWeight::get().writes(1))
@@ -66,8 +66,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
6666
// Proof Size summary in bytes:
6767
// Measured: `0`
6868
// Estimated: `3593`
69-
// Minimum execution time: 33_090_000 picoseconds.
70-
Weight::from_parts(33_703_000, 0)
69+
// Minimum execution time: 34_211_000 picoseconds.
70+
Weight::from_parts(35_075_000, 0)
7171
.saturating_add(Weight::from_parts(0, 3593))
7272
.saturating_add(T::DbWeight::get().reads(1))
7373
.saturating_add(T::DbWeight::get().writes(1))
@@ -78,8 +78,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
7878
// Proof Size summary in bytes:
7979
// Measured: `103`
8080
// Estimated: `3593`
81-
// Minimum execution time: 12_678_000 picoseconds.
82-
Weight::from_parts(13_068_000, 0)
81+
// Minimum execution time: 12_751_000 picoseconds.
82+
Weight::from_parts(13_221_000, 0)
8383
.saturating_add(Weight::from_parts(0, 3593))
8484
.saturating_add(T::DbWeight::get().reads(1))
8585
.saturating_add(T::DbWeight::get().writes(1))
@@ -90,8 +90,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
9090
// Proof Size summary in bytes:
9191
// Measured: `103`
9292
// Estimated: `3593`
93-
// Minimum execution time: 17_336_000 picoseconds.
94-
Weight::from_parts(17_824_000, 0)
93+
// Minimum execution time: 17_530_000 picoseconds.
94+
Weight::from_parts(17_979_000, 0)
9595
.saturating_add(Weight::from_parts(0, 3593))
9696
.saturating_add(T::DbWeight::get().reads(1))
9797
.saturating_add(T::DbWeight::get().writes(1))
@@ -102,8 +102,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
102102
// Proof Size summary in bytes:
103103
// Measured: `103`
104104
// Estimated: `6196`
105-
// Minimum execution time: 44_817_000 picoseconds.
106-
Weight::from_parts(45_453_000, 0)
105+
// Minimum execution time: 45_913_000 picoseconds.
106+
Weight::from_parts(47_447_000, 0)
107107
.saturating_add(Weight::from_parts(0, 6196))
108108
.saturating_add(T::DbWeight::get().reads(2))
109109
.saturating_add(T::DbWeight::get().writes(2))
@@ -114,8 +114,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
114114
// Proof Size summary in bytes:
115115
// Measured: `0`
116116
// Estimated: `3593`
117-
// Minimum execution time: 41_468_000 picoseconds.
118-
Weight::from_parts(42_093_000, 0)
117+
// Minimum execution time: 42_435_000 picoseconds.
118+
Weight::from_parts(44_712_000, 0)
119119
.saturating_add(Weight::from_parts(0, 3593))
120120
.saturating_add(T::DbWeight::get().reads(1))
121121
.saturating_add(T::DbWeight::get().writes(1))
@@ -126,8 +126,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
126126
// Proof Size summary in bytes:
127127
// Measured: `103`
128128
// Estimated: `3593`
129-
// Minimum execution time: 15_344_000 picoseconds.
130-
Weight::from_parts(15_878_000, 0)
129+
// Minimum execution time: 15_407_000 picoseconds.
130+
Weight::from_parts(16_104_000, 0)
131131
.saturating_add(Weight::from_parts(0, 3593))
132132
.saturating_add(T::DbWeight::get().reads(1))
133133
.saturating_add(T::DbWeight::get().writes(1))
@@ -139,11 +139,11 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
139139
// Proof Size summary in bytes:
140140
// Measured: `0 + u * (136 ±0)`
141141
// Estimated: `990 + u * (2603 ±0)`
142-
// Minimum execution time: 15_067_000 picoseconds.
143-
Weight::from_parts(15_281_000, 0)
142+
// Minimum execution time: 15_494_000 picoseconds.
143+
Weight::from_parts(15_793_000, 0)
144144
.saturating_add(Weight::from_parts(0, 990))
145-
// Standard Error: 11_009
146-
.saturating_add(Weight::from_parts(13_050_024, 0).saturating_mul(u.into()))
145+
// Standard Error: 11_778
146+
.saturating_add(Weight::from_parts(13_198_951, 0).saturating_mul(u.into()))
147147
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into())))
148148
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into())))
149149
.saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into()))
@@ -154,9 +154,25 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
154154
// Proof Size summary in bytes:
155155
// Measured: `0`
156156
// Estimated: `1501`
157-
// Minimum execution time: 5_139_000 picoseconds.
158-
Weight::from_parts(5_511_000, 0)
157+
// Minimum execution time: 5_368_000 picoseconds.
158+
Weight::from_parts(5_674_000, 0)
159159
.saturating_add(Weight::from_parts(0, 1501))
160160
.saturating_add(T::DbWeight::get().reads(1))
161161
}
162+
fn burn_allow_death() -> Weight {
163+
// Proof Size summary in bytes:
164+
// Measured: `0`
165+
// Estimated: `0`
166+
// Minimum execution time: 27_491_000 picoseconds.
167+
Weight::from_parts(28_444_000, 0)
168+
.saturating_add(Weight::from_parts(0, 0))
169+
}
170+
fn burn_keep_alive() -> Weight {
171+
// Proof Size summary in bytes:
172+
// Measured: `0`
173+
// Estimated: `0`
174+
// Minimum execution time: 18_290_000 picoseconds.
175+
Weight::from_parts(19_227_000, 0)
176+
.saturating_add(Weight::from_parts(0, 0))
177+
}
162178
}

cumulus/parachains/runtimes/assets/asset-hub-westend/src/weights/pallet_balances.rs

Lines changed: 38 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
//! Autogenerated weights for `pallet_balances`
1818
//!
1919
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
20-
//! DATE: 2024-01-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
20+
//! DATE: 2024-05-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
2121
//! WORST CASE MAP SIZE: `1000000`
22-
//! HOSTNAME: `runner-8idpd4bs-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
22+
//! HOSTNAME: `runner-unxyhko3-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
2323
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("asset-hub-westend-dev")`, DB CACHE: 1024
2424
2525
// Executed Command:
@@ -54,8 +54,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
5454
// Proof Size summary in bytes:
5555
// Measured: `0`
5656
// Estimated: `3593`
57-
// Minimum execution time: 43_122_000 picoseconds.
58-
Weight::from_parts(43_640_000, 0)
57+
// Minimum execution time: 45_289_000 picoseconds.
58+
Weight::from_parts(46_764_000, 0)
5959
.saturating_add(Weight::from_parts(0, 3593))
6060
.saturating_add(T::DbWeight::get().reads(1))
6161
.saturating_add(T::DbWeight::get().writes(1))
@@ -66,8 +66,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
6666
// Proof Size summary in bytes:
6767
// Measured: `0`
6868
// Estimated: `3593`
69-
// Minimum execution time: 33_636_000 picoseconds.
70-
Weight::from_parts(34_571_000, 0)
69+
// Minimum execution time: 35_052_000 picoseconds.
70+
Weight::from_parts(36_494_000, 0)
7171
.saturating_add(Weight::from_parts(0, 3593))
7272
.saturating_add(T::DbWeight::get().reads(1))
7373
.saturating_add(T::DbWeight::get().writes(1))
@@ -78,8 +78,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
7878
// Proof Size summary in bytes:
7979
// Measured: `103`
8080
// Estimated: `3593`
81-
// Minimum execution time: 12_101_000 picoseconds.
82-
Weight::from_parts(12_511_000, 0)
81+
// Minimum execution time: 12_361_000 picoseconds.
82+
Weight::from_parts(12_668_000, 0)
8383
.saturating_add(Weight::from_parts(0, 3593))
8484
.saturating_add(T::DbWeight::get().reads(1))
8585
.saturating_add(T::DbWeight::get().writes(1))
@@ -90,8 +90,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
9090
// Proof Size summary in bytes:
9191
// Measured: `103`
9292
// Estimated: `3593`
93-
// Minimum execution time: 17_077_000 picoseconds.
94-
Weight::from_parts(17_362_000, 0)
93+
// Minimum execution time: 17_253_000 picoseconds.
94+
Weight::from_parts(17_733_000, 0)
9595
.saturating_add(Weight::from_parts(0, 3593))
9696
.saturating_add(T::DbWeight::get().reads(1))
9797
.saturating_add(T::DbWeight::get().writes(1))
@@ -102,8 +102,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
102102
// Proof Size summary in bytes:
103103
// Measured: `103`
104104
// Estimated: `6196`
105-
// Minimum execution time: 44_352_000 picoseconds.
106-
Weight::from_parts(45_045_000, 0)
105+
// Minimum execution time: 45_674_000 picoseconds.
106+
Weight::from_parts(47_981_000, 0)
107107
.saturating_add(Weight::from_parts(0, 6196))
108108
.saturating_add(T::DbWeight::get().reads(2))
109109
.saturating_add(T::DbWeight::get().writes(2))
@@ -114,8 +114,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
114114
// Proof Size summary in bytes:
115115
// Measured: `0`
116116
// Estimated: `3593`
117-
// Minimum execution time: 41_836_000 picoseconds.
118-
Weight::from_parts(43_201_000, 0)
117+
// Minimum execution time: 45_021_000 picoseconds.
118+
Weight::from_parts(46_292_000, 0)
119119
.saturating_add(Weight::from_parts(0, 3593))
120120
.saturating_add(T::DbWeight::get().reads(1))
121121
.saturating_add(T::DbWeight::get().writes(1))
@@ -126,8 +126,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
126126
// Proof Size summary in bytes:
127127
// Measured: `103`
128128
// Estimated: `3593`
129-
// Minimum execution time: 14_413_000 picoseconds.
130-
Weight::from_parts(14_743_000, 0)
129+
// Minimum execution time: 15_071_000 picoseconds.
130+
Weight::from_parts(15_406_000, 0)
131131
.saturating_add(Weight::from_parts(0, 3593))
132132
.saturating_add(T::DbWeight::get().reads(1))
133133
.saturating_add(T::DbWeight::get().writes(1))
@@ -139,11 +139,11 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
139139
// Proof Size summary in bytes:
140140
// Measured: `0 + u * (136 ±0)`
141141
// Estimated: `990 + u * (2603 ±0)`
142-
// Minimum execution time: 14_542_000 picoseconds.
143-
Weight::from_parts(14_731_000, 0)
142+
// Minimum execution time: 14_779_000 picoseconds.
143+
Weight::from_parts(15_129_000, 0)
144144
.saturating_add(Weight::from_parts(0, 990))
145-
// Standard Error: 11_213
146-
.saturating_add(Weight::from_parts(13_160_721, 0).saturating_mul(u.into()))
145+
// Standard Error: 10_629
146+
.saturating_add(Weight::from_parts(13_558_995, 0).saturating_mul(u.into()))
147147
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into())))
148148
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into())))
149149
.saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into()))
@@ -154,9 +154,25 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
154154
// Proof Size summary in bytes:
155155
// Measured: `0`
156156
// Estimated: `1501`
157-
// Minimum execution time: 5_208_000 picoseconds.
158-
Weight::from_parts(5_619_000, 0)
157+
// Minimum execution time: 5_274_000 picoseconds.
158+
Weight::from_parts(5_727_000, 0)
159159
.saturating_add(Weight::from_parts(0, 1501))
160160
.saturating_add(T::DbWeight::get().reads(1))
161161
}
162+
fn burn_allow_death() -> Weight {
163+
// Proof Size summary in bytes:
164+
// Measured: `0`
165+
// Estimated: `0`
166+
// Minimum execution time: 28_088_000 picoseconds.
167+
Weight::from_parts(28_980_000, 0)
168+
.saturating_add(Weight::from_parts(0, 0))
169+
}
170+
fn burn_keep_alive() -> Weight {
171+
// Proof Size summary in bytes:
172+
// Measured: `0`
173+
// Estimated: `0`
174+
// Minimum execution time: 19_002_000 picoseconds.
175+
Weight::from_parts(19_480_000, 0)
176+
.saturating_add(Weight::from_parts(0, 0))
177+
}
162178
}

cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/weights/pallet_balances.rs

Lines changed: 38 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
//! Autogenerated weights for `pallet_balances`
1818
//!
1919
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
20-
//! DATE: 2024-01-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
20+
//! DATE: 2024-05-06, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
2121
//! WORST CASE MAP SIZE: `1000000`
22-
//! HOSTNAME: `runner-8idpd4bs-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
22+
//! HOSTNAME: `runner-unxyhko3-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
2323
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("bridge-hub-rococo-dev")`, DB CACHE: 1024
2424
2525
// Executed Command:
@@ -54,8 +54,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
5454
// Proof Size summary in bytes:
5555
// Measured: `0`
5656
// Estimated: `3593`
57-
// Minimum execution time: 41_696_000 picoseconds.
58-
Weight::from_parts(42_201_000, 0)
57+
// Minimum execution time: 41_898_000 picoseconds.
58+
Weight::from_parts(42_690_000, 0)
5959
.saturating_add(Weight::from_parts(0, 3593))
6060
.saturating_add(T::DbWeight::get().reads(1))
6161
.saturating_add(T::DbWeight::get().writes(1))
@@ -66,8 +66,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
6666
// Proof Size summary in bytes:
6767
// Measured: `0`
6868
// Estimated: `3593`
69-
// Minimum execution time: 32_855_000 picoseconds.
70-
Weight::from_parts(33_554_000, 0)
69+
// Minimum execution time: 32_745_000 picoseconds.
70+
Weight::from_parts(33_686_000, 0)
7171
.saturating_add(Weight::from_parts(0, 3593))
7272
.saturating_add(T::DbWeight::get().reads(1))
7373
.saturating_add(T::DbWeight::get().writes(1))
@@ -78,8 +78,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
7878
// Proof Size summary in bytes:
7979
// Measured: `174`
8080
// Estimated: `3593`
81-
// Minimum execution time: 12_977_000 picoseconds.
82-
Weight::from_parts(13_473_000, 0)
81+
// Minimum execution time: 13_352_000 picoseconds.
82+
Weight::from_parts(13_808_000, 0)
8383
.saturating_add(Weight::from_parts(0, 3593))
8484
.saturating_add(T::DbWeight::get().reads(1))
8585
.saturating_add(T::DbWeight::get().writes(1))
@@ -90,8 +90,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
9090
// Proof Size summary in bytes:
9191
// Measured: `174`
9292
// Estimated: `3593`
93-
// Minimum execution time: 17_617_000 picoseconds.
94-
Weight::from_parts(18_234_000, 0)
93+
// Minimum execution time: 18_248_000 picoseconds.
94+
Weight::from_parts(18_763_000, 0)
9595
.saturating_add(Weight::from_parts(0, 3593))
9696
.saturating_add(T::DbWeight::get().reads(1))
9797
.saturating_add(T::DbWeight::get().writes(1))
@@ -102,8 +102,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
102102
// Proof Size summary in bytes:
103103
// Measured: `103`
104104
// Estimated: `6196`
105-
// Minimum execution time: 43_174_000 picoseconds.
106-
Weight::from_parts(43_685_000, 0)
105+
// Minimum execution time: 43_626_000 picoseconds.
106+
Weight::from_parts(45_333_000, 0)
107107
.saturating_add(Weight::from_parts(0, 6196))
108108
.saturating_add(T::DbWeight::get().reads(2))
109109
.saturating_add(T::DbWeight::get().writes(2))
@@ -114,8 +114,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
114114
// Proof Size summary in bytes:
115115
// Measured: `0`
116116
// Estimated: `3593`
117-
// Minimum execution time: 41_125_000 picoseconds.
118-
Weight::from_parts(41_636_000, 0)
117+
// Minimum execution time: 41_702_000 picoseconds.
118+
Weight::from_parts(43_366_000, 0)
119119
.saturating_add(Weight::from_parts(0, 3593))
120120
.saturating_add(T::DbWeight::get().reads(1))
121121
.saturating_add(T::DbWeight::get().writes(1))
@@ -126,8 +126,8 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
126126
// Proof Size summary in bytes:
127127
// Measured: `174`
128128
// Estimated: `3593`
129-
// Minimum execution time: 15_749_000 picoseconds.
130-
Weight::from_parts(16_163_000, 0)
129+
// Minimum execution time: 15_944_000 picoseconds.
130+
Weight::from_parts(16_512_000, 0)
131131
.saturating_add(Weight::from_parts(0, 3593))
132132
.saturating_add(T::DbWeight::get().reads(1))
133133
.saturating_add(T::DbWeight::get().writes(1))
@@ -139,11 +139,11 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
139139
// Proof Size summary in bytes:
140140
// Measured: `0 + u * (136 ±0)`
141141
// Estimated: `990 + u * (2603 ±0)`
142-
// Minimum execution time: 14_238_000 picoseconds.
143-
Weight::from_parts(14_469_000, 0)
142+
// Minimum execution time: 14_351_000 picoseconds.
143+
Weight::from_parts(14_568_000, 0)
144144
.saturating_add(Weight::from_parts(0, 990))
145-
// Standard Error: 11_818
146-
.saturating_add(Weight::from_parts(12_621_051, 0).saturating_mul(u.into()))
145+
// Standard Error: 11_289
146+
.saturating_add(Weight::from_parts(13_163_759, 0).saturating_mul(u.into()))
147147
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(u.into())))
148148
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(u.into())))
149149
.saturating_add(Weight::from_parts(0, 2603).saturating_mul(u.into()))
@@ -154,9 +154,25 @@ impl<T: frame_system::Config> pallet_balances::WeightInfo for WeightInfo<T> {
154154
// Proof Size summary in bytes:
155155
// Measured: `0`
156156
// Estimated: `1501`
157-
// Minimum execution time: 4_904_000 picoseconds.
158-
Weight::from_parts(5_459_000, 0)
157+
// Minimum execution time: 5_174_000 picoseconds.
158+
Weight::from_parts(5_490_000, 0)
159159
.saturating_add(Weight::from_parts(0, 1501))
160160
.saturating_add(T::DbWeight::get().reads(1))
161161
}
162+
fn burn_allow_death() -> Weight {
163+
// Proof Size summary in bytes:
164+
// Measured: `0`
165+
// Estimated: `0`
166+
// Minimum execution time: 26_681_000 picoseconds.
167+
Weight::from_parts(27_705_000, 0)
168+
.saturating_add(Weight::from_parts(0, 0))
169+
}
170+
fn burn_keep_alive() -> Weight {
171+
// Proof Size summary in bytes:
172+
// Measured: `0`
173+
// Estimated: `0`
174+
// Minimum execution time: 18_105_000 picoseconds.
175+
Weight::from_parts(19_246_000, 0)
176+
.saturating_add(Weight::from_parts(0, 0))
177+
}
162178
}

0 commit comments

Comments
 (0)