Skip to content

Commit 81f29ea

Browse files
enddynaynEnddy Dumbrique
and
Enddy Dumbrique
authored
chore(upgrade): polkadot v1.10 to v1.2.0 (#1982)
# Goal Update polkadot from v1.1.0 to v1.2.0. [Polkadot release notes](https://forum.polkadot.network/t/polkadot-release-analysis-v1-2-0/4451) Lazy Migration paritytech/polkadot-sdk#1363 Closes #1718 Co-authored-by: Enddy Dumbrique <[email protected]>
1 parent fd02df7 commit 81f29ea

34 files changed

+1398
-1399
lines changed

Cargo.lock

Lines changed: 367 additions & 446 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 95 additions & 95 deletions
Large diffs are not rendered by default.

e2e/package-lock.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

e2e/proxy-pallet/proxy.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ describe('Proxy', function () {
3636
ExtrinsicHelper.api.tx.proxy.proxy(
3737
stashKeys.address,
3838
'Any',
39-
ExtrinsicHelper.api.tx.balances.transfer(proxyKeys.address, 1n * DOLLARS)
39+
ExtrinsicHelper.api.tx.balances.transferAllowDeath(proxyKeys.address, 1n * DOLLARS)
4040
),
4141
proxyKeys,
4242
ExtrinsicHelper.api.events.balances.Transfer
@@ -84,7 +84,7 @@ describe('Proxy', function () {
8484
ExtrinsicHelper.api.tx.proxy.proxy(
8585
stashKeys.address,
8686
'Any',
87-
ExtrinsicHelper.api.tx.balances.transfer(proxyKeys.address, 1n * DOLLARS)
87+
ExtrinsicHelper.api.tx.balances.transferAllowDeath(proxyKeys.address, 1n * DOLLARS)
8888
),
8989
proxyKeys,
9090
ExtrinsicHelper.api.events.system.ExtrinsicFailed
@@ -104,7 +104,7 @@ describe('Proxy', function () {
104104
stashKeys.address,
105105
'Any',
106106
ExtrinsicHelper.api.tx.utility.batch([
107-
ExtrinsicHelper.api.tx.balances.transfer(proxyKeys.address, 1n * DOLLARS),
107+
ExtrinsicHelper.api.tx.balances.transferAllowDeath(proxyKeys.address, 1n * DOLLARS),
108108
])
109109
),
110110
proxyKeys,

node/service/src/block_sealing.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ pub fn frequency_dev_sealing(
6060
import_queue,
6161
block_announce_validator_builder: None,
6262
warp_sync_params: None,
63+
block_relay: None,
6364
})?;
6465

6566
// Start off-chain workers if enabled

pallets/capacity/src/weights.rs

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
//! Autogenerated weights for `pallet_capacity`
33
//!
44
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
5-
//! DATE: 2024-05-21, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
5+
//! DATE: 2024-05-24, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
66
//! WORST CASE MAP SIZE: `1000000`
7-
//! HOSTNAME: `ip-10-173-4-174`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
7+
//! HOSTNAME: `ip-10-173-4-53`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
88
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("frequency-bench")`, DB CACHE: `1024`
99
1010
// Executed Command:
@@ -61,8 +61,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
6161
// Proof Size summary in bytes:
6262
// Measured: `174`
6363
// Estimated: `6249`
64-
// Minimum execution time: 40_905_000 picoseconds.
65-
Weight::from_parts(41_735_000, 6249)
64+
// Minimum execution time: 39_892_000 picoseconds.
65+
Weight::from_parts(41_069_000, 6249)
6666
.saturating_add(T::DbWeight::get().reads(7_u64))
6767
.saturating_add(T::DbWeight::get().writes(4_u64))
6868
}
@@ -78,8 +78,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
7878
// Proof Size summary in bytes:
7979
// Measured: `285`
8080
// Estimated: `6249`
81-
// Minimum execution time: 27_968_000 picoseconds.
82-
Weight::from_parts(28_258_000, 6249)
81+
// Minimum execution time: 27_071_000 picoseconds.
82+
Weight::from_parts(27_828_000, 6249)
8383
.saturating_add(T::DbWeight::get().reads(4_u64))
8484
.saturating_add(T::DbWeight::get().writes(2_u64))
8585
}
@@ -91,8 +91,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
9191
// Proof Size summary in bytes:
9292
// Measured: `0`
9393
// Estimated: `2974`
94-
// Minimum execution time: 3_960_000 picoseconds.
95-
Weight::from_parts(4_060_000, 2974)
94+
// Minimum execution time: 3_837_000 picoseconds.
95+
Weight::from_parts(4_100_000, 2974)
9696
.saturating_add(T::DbWeight::get().reads(2_u64))
9797
.saturating_add(T::DbWeight::get().writes(1_u64))
9898
}
@@ -108,8 +108,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
108108
// Proof Size summary in bytes:
109109
// Measured: `271`
110110
// Estimated: `5071`
111-
// Minimum execution time: 26_250_000 picoseconds.
112-
Weight::from_parts(26_923_000, 5071)
111+
// Minimum execution time: 26_393_000 picoseconds.
112+
Weight::from_parts(27_053_000, 5071)
113113
.saturating_add(T::DbWeight::get().reads(4_u64))
114114
.saturating_add(T::DbWeight::get().writes(4_u64))
115115
}
@@ -119,8 +119,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
119119
// Proof Size summary in bytes:
120120
// Measured: `0`
121121
// Estimated: `0`
122-
// Minimum execution time: 6_267_000 picoseconds.
123-
Weight::from_parts(6_644_000, 0)
122+
// Minimum execution time: 6_456_000 picoseconds.
123+
Weight::from_parts(6_752_000, 0)
124124
.saturating_add(T::DbWeight::get().writes(1_u64))
125125
}
126126
}
@@ -145,8 +145,8 @@ impl WeightInfo for () {
145145
// Proof Size summary in bytes:
146146
// Measured: `174`
147147
// Estimated: `6249`
148-
// Minimum execution time: 40_905_000 picoseconds.
149-
Weight::from_parts(41_735_000, 6249)
148+
// Minimum execution time: 39_892_000 picoseconds.
149+
Weight::from_parts(41_069_000, 6249)
150150
.saturating_add(RocksDbWeight::get().reads(7_u64))
151151
.saturating_add(RocksDbWeight::get().writes(4_u64))
152152
}
@@ -162,8 +162,8 @@ impl WeightInfo for () {
162162
// Proof Size summary in bytes:
163163
// Measured: `285`
164164
// Estimated: `6249`
165-
// Minimum execution time: 27_968_000 picoseconds.
166-
Weight::from_parts(28_258_000, 6249)
165+
// Minimum execution time: 27_071_000 picoseconds.
166+
Weight::from_parts(27_828_000, 6249)
167167
.saturating_add(RocksDbWeight::get().reads(4_u64))
168168
.saturating_add(RocksDbWeight::get().writes(2_u64))
169169
}
@@ -175,8 +175,8 @@ impl WeightInfo for () {
175175
// Proof Size summary in bytes:
176176
// Measured: `0`
177177
// Estimated: `2974`
178-
// Minimum execution time: 3_960_000 picoseconds.
179-
Weight::from_parts(4_060_000, 2974)
178+
// Minimum execution time: 3_837_000 picoseconds.
179+
Weight::from_parts(4_100_000, 2974)
180180
.saturating_add(RocksDbWeight::get().reads(2_u64))
181181
.saturating_add(RocksDbWeight::get().writes(1_u64))
182182
}
@@ -192,8 +192,8 @@ impl WeightInfo for () {
192192
// Proof Size summary in bytes:
193193
// Measured: `271`
194194
// Estimated: `5071`
195-
// Minimum execution time: 26_250_000 picoseconds.
196-
Weight::from_parts(26_923_000, 5071)
195+
// Minimum execution time: 26_393_000 picoseconds.
196+
Weight::from_parts(27_053_000, 5071)
197197
.saturating_add(RocksDbWeight::get().reads(4_u64))
198198
.saturating_add(RocksDbWeight::get().writes(4_u64))
199199
}
@@ -203,8 +203,8 @@ impl WeightInfo for () {
203203
// Proof Size summary in bytes:
204204
// Measured: `0`
205205
// Estimated: `0`
206-
// Minimum execution time: 6_267_000 picoseconds.
207-
Weight::from_parts(6_644_000, 0)
206+
// Minimum execution time: 6_456_000 picoseconds.
207+
Weight::from_parts(6_752_000, 0)
208208
.saturating_add(RocksDbWeight::get().writes(1_u64))
209209
}
210210
}

pallets/frequency-tx-payment/src/tests/mock.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,14 +226,15 @@ pub struct TestCapacityCalls;
226226
impl GetStableWeight<RuntimeCall, Weight> for TestCapacityCalls {
227227
fn get_stable_weight(call: &RuntimeCall) -> Option<Weight> {
228228
match call {
229-
RuntimeCall::Balances(BalancesCall::transfer { .. }) => Some(Weight::from_parts(11, 0)),
229+
RuntimeCall::Balances(BalancesCall::transfer_allow_death { .. }) =>
230+
Some(Weight::from_parts(11, 0)),
230231
RuntimeCall::Msa(pallet_msa::Call::create { .. }) => Some(Weight::from_parts(12, 0)),
231232
_ => None,
232233
}
233234
}
234235

235236
fn get_inner_calls(_call: &RuntimeCall) -> Option<Vec<&RuntimeCall>> {
236-
return Some(vec![&RuntimeCall::Msa(pallet_msa::Call::create {})])
237+
return Some(vec![&RuntimeCall::Msa(pallet_msa::Call::create {})]);
237238
}
238239
}
239240

0 commit comments

Comments
 (0)