Skip to content

Commit 1226845

Browse files
committed
srtool
1 parent ef29f54 commit 1226845

File tree

8 files changed

+14
-9
lines changed

8 files changed

+14
-9
lines changed

Cargo.lock

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

pallets/inflation/src/migration.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ mod v2 {
5656
fn on_runtime_upgrade() -> Weight {
5757
let decay_rate = DecayRate::get();
5858
let decay_factor = DecayFactor::get();
59+
log::warn!("Decay Rate: {:?}", decay_rate);
60+
log::warn!("Decay Factor: {:?}", decay_factor);
5961

6062
// Add the _decay_rate_ to the inflation params
6163
let result =
@@ -112,6 +114,7 @@ mod v2 {
112114

113115
#[cfg(feature = "try-runtime")]
114116
fn pre_upgrade() -> Result<Vec<u8>, TryRuntimeError> {
117+
log::warn!("pre_upgrade start");
115118
let old_config = v1::ActiveInflationConfig::<T>::get().ok_or_else(|| {
116119
TryRuntimeError::Other(
117120
"pallet-inflation::migration::v2: No old config found for ActiveInflationConfig",
@@ -128,6 +131,7 @@ mod v2 {
128131

129132
#[cfg(feature = "try-runtime")]
130133
fn post_upgrade(data: Vec<u8>) -> Result<(), TryRuntimeError> {
134+
log::warn!("post_upgrade start");
131135
// Decode the old values
132136
let (old_config, old_params): (InflationConfigurationV1, InflationParametersV1) =
133137
Decode::decode(&mut &data[..]).map_err(|_| {
@@ -241,6 +245,7 @@ mod v2 {
241245
"pallet-inflation::migration::v2: Wrong storage version."
242246
);
243247

248+
log::warn!("post_upgrade OK");
244249
Ok(())
245250
}
246251
}

runtime/astar/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "astar-runtime"
3-
version = "17.0.0"
3+
version = "17.1.0"
44
build = "build.rs"
55
authors.workspace = true
66
edition.workspace = true

runtime/astar/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
193193
spec_name: Cow::Borrowed("astar"),
194194
impl_name: Cow::Borrowed("astar"),
195195
authoring_version: 1,
196-
spec_version: 1700,
196+
spec_version: 1701,
197197
impl_version: 0,
198198
apis: RUNTIME_API_VERSIONS,
199199
transaction_version: 3,

runtime/shibuya/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "shibuya-runtime"
3-
version = "17.0.0"
3+
version = "17.1.0"
44
build = "build.rs"
55
authors.workspace = true
66
edition.workspace = true

runtime/shibuya/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
211211
spec_name: Cow::Borrowed("shibuya"),
212212
impl_name: Cow::Borrowed("shibuya"),
213213
authoring_version: 1,
214-
spec_version: 1700,
214+
spec_version: 1701,
215215
impl_version: 0,
216216
apis: RUNTIME_API_VERSIONS,
217217
transaction_version: 3,

runtime/shiden/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "shiden-runtime"
3-
version = "17.0.0"
3+
version = "17.1.0"
44
build = "build.rs"
55
authors.workspace = true
66
edition.workspace = true

runtime/shiden/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
184184
spec_name: Cow::Borrowed("shiden"),
185185
impl_name: Cow::Borrowed("shiden"),
186186
authoring_version: 1,
187-
spec_version: 1700,
187+
spec_version: 1701,
188188
impl_version: 0,
189189
apis: RUNTIME_API_VERSIONS,
190190
transaction_version: 3,

0 commit comments

Comments
 (0)