From baa61fd097c20b168c098ed0f9d82feb17c9d5b2 Mon Sep 17 00:00:00 2001 From: giuseppere Date: Tue, 18 Feb 2025 15:38:27 +0100 Subject: [PATCH 01/15] add Runtime Api version to runtime metadata --- substrate/frame/support/test/tests/runtime_metadata.rs | 2 ++ substrate/primitives/api/proc-macro/src/runtime_metadata.rs | 1 + substrate/primitives/metadata-ir/src/types.rs | 5 ++++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/substrate/frame/support/test/tests/runtime_metadata.rs b/substrate/frame/support/test/tests/runtime_metadata.rs index a098643abb911..8a791d5ad793a 100644 --- a/substrate/frame/support/test/tests/runtime_metadata.rs +++ b/substrate/frame/support/test/tests/runtime_metadata.rs @@ -200,6 +200,7 @@ fn runtime_metadata() { " Documentation on multiline.", ]), deprecation_info: DeprecationStatusIR::DeprecatedWithoutNote, + version: codec::Compact(1), }, RuntimeApiMetadataIR { @@ -238,6 +239,7 @@ fn runtime_metadata() { " The `Core` runtime api that every Substrate runtime needs to implement.", ]), deprecation_info: DeprecationStatusIR::NotDeprecated, + version: codec::Compact(5), }, ]; diff --git a/substrate/primitives/api/proc-macro/src/runtime_metadata.rs b/substrate/primitives/api/proc-macro/src/runtime_metadata.rs index 1706f8ca6fbb4..e68da53bef557 100644 --- a/substrate/primitives/api/proc-macro/src/runtime_metadata.rs +++ b/substrate/primitives/api/proc-macro/src/runtime_metadata.rs @@ -184,6 +184,7 @@ pub fn generate_decl_runtime_metadata<'a>( .collect(), docs: #docs, deprecation_info: #deprecation, + version: impl_version.into(), } } } diff --git a/substrate/primitives/metadata-ir/src/types.rs b/substrate/primitives/metadata-ir/src/types.rs index 986925e6f5168..29adfd606df66 100644 --- a/substrate/primitives/metadata-ir/src/types.rs +++ b/substrate/primitives/metadata-ir/src/types.rs @@ -52,8 +52,10 @@ pub struct RuntimeApiMetadataIR { pub methods: Vec>, /// Trait documentation. pub docs: Vec, - /// Deprecation info + /// Deprecation info. pub deprecation_info: DeprecationStatusIR, + /// Runtime API version. + pub version: Compact, } impl IntoPortable for RuntimeApiMetadataIR { @@ -65,6 +67,7 @@ impl IntoPortable for RuntimeApiMetadataIR { methods: registry.map_into_portable(self.methods), docs: registry.map_into_portable(self.docs), deprecation_info: self.deprecation_info.into_portable(registry), + version: self.version, } } } From a165fbcb6a103443ad7b333255fc8b36f2e2df03 Mon Sep 17 00:00:00 2001 From: giuseppere Date: Tue, 18 Feb 2025 15:44:57 +0100 Subject: [PATCH 02/15] Add TODO for v16 integration --- substrate/primitives/metadata-ir/src/unstable.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/substrate/primitives/metadata-ir/src/unstable.rs b/substrate/primitives/metadata-ir/src/unstable.rs index d03a7ddad2685..5f861b5fa9ccb 100644 --- a/substrate/primitives/metadata-ir/src/unstable.rs +++ b/substrate/primitives/metadata-ir/src/unstable.rs @@ -59,6 +59,8 @@ impl From for RuntimeApiMetadata { methods: ir.methods.into_iter().map(Into::into).collect(), docs: ir.docs, deprecation_info: ir.deprecation_info.into(), + // TODO: add with new version of v16 metadata + // version: ir.version, } } } From a9c74f68cfdc79ad82f5351e78d8580d20338ee7 Mon Sep 17 00:00:00 2001 From: "cmd[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 18 Feb 2025 15:00:40 +0000 Subject: [PATCH 03/15] Update from re-gius running command 'prdoc --audience runtime_dev --bump minor' --- prdoc/pr_7607.prdoc | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 prdoc/pr_7607.prdoc diff --git a/prdoc/pr_7607.prdoc b/prdoc/pr_7607.prdoc new file mode 100644 index 0000000000000..729d8510b217d --- /dev/null +++ b/prdoc/pr_7607.prdoc @@ -0,0 +1,12 @@ +title: Add Runtime Api version to metadata +doc: +- audience: Runtime Dev + description: |- + The runtime API implemented version is not explicitly shown in metadata, so here we add it to improve developer experience. + + This closes #7352 . +crates: +- name: sp-api-proc-macro + bump: minor +- name: sp-metadata-ir + bump: minor From 9fe6988e9e10b4027d79a00432198721d7e2882d Mon Sep 17 00:00:00 2001 From: giuseppere Date: Tue, 18 Feb 2025 16:13:06 +0100 Subject: [PATCH 04/15] fix prdoc --- prdoc/pr_7607.prdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prdoc/pr_7607.prdoc b/prdoc/pr_7607.prdoc index 729d8510b217d..ad914e02fd6ee 100644 --- a/prdoc/pr_7607.prdoc +++ b/prdoc/pr_7607.prdoc @@ -7,6 +7,6 @@ doc: This closes #7352 . crates: - name: sp-api-proc-macro - bump: minor + bump: patch - name: sp-metadata-ir - bump: minor + bump: major From c4b0ba75f0ed033f2902da2625817201aaeb176b Mon Sep 17 00:00:00 2001 From: giuseppere Date: Tue, 18 Feb 2025 17:28:33 +0100 Subject: [PATCH 05/15] convert `Compact` into `u32` --- substrate/primitives/metadata-ir/src/unstable.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/primitives/metadata-ir/src/unstable.rs b/substrate/primitives/metadata-ir/src/unstable.rs index 5f861b5fa9ccb..c1db8bfbe4fe7 100644 --- a/substrate/primitives/metadata-ir/src/unstable.rs +++ b/substrate/primitives/metadata-ir/src/unstable.rs @@ -60,7 +60,7 @@ impl From for RuntimeApiMetadata { docs: ir.docs, deprecation_info: ir.deprecation_info.into(), // TODO: add with new version of v16 metadata - // version: ir.version, + // version: ir.version.into(), } } } From 84b227b0a37c3c07f78366ef3120bef0990f8ceb Mon Sep 17 00:00:00 2001 From: giuseppere Date: Fri, 21 Feb 2025 17:53:07 +0100 Subject: [PATCH 06/15] Bump `frame-metadata` and `merkleized-metadata` --- Cargo.lock | 24 +++++++++---------- Cargo.toml | 4 ++-- .../primitives/metadata-ir/src/unstable.rs | 3 +-- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 5457e44aeaabe..aa716c45d98fb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7446,9 +7446,9 @@ dependencies = [ [[package]] name = "frame-metadata" -version = "19.0.0" +version = "20.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "835a2e736d544b98dab966b4b9541f15af416288a86c3738fdd67bd9fbc4696e" +checksum = "26de808fa6461f2485dc51811aefed108850064994fb4a62b3ac21ffa62ac8df" dependencies = [ "cfg-if", "parity-scale-codec", @@ -7463,7 +7463,7 @@ dependencies = [ "array-bytes", "const-hex", "docify", - "frame-metadata 19.0.0", + "frame-metadata 20.0.0", "frame-support 28.0.0", "frame-system 28.0.0", "log", @@ -7548,7 +7548,7 @@ dependencies = [ "bitflags 1.3.2", "docify", "environmental", - "frame-metadata 19.0.0", + "frame-metadata 20.0.0", "frame-support-procedural 23.0.0", "frame-system 28.0.0", "impl-trait-for-tuples", @@ -7726,7 +7726,7 @@ version = "3.0.0" dependencies = [ "frame-benchmarking 28.0.0", "frame-executive 28.0.0", - "frame-metadata 19.0.0", + "frame-metadata 20.0.0", "frame-support 28.0.0", "frame-support-test-pallet", "frame-system 28.0.0", @@ -8775,7 +8775,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.4.9", + "socket2 0.5.8", "tokio", "tower-service", "tracing", @@ -10964,13 +10964,13 @@ dependencies = [ [[package]] name = "merkleized-metadata" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e656ca4a152e892cbbf4b621c242b070136643b797709007d4861881d71ff4c9" +checksum = "dc9b7ac0ce054412d9a85ff39bac27aec27483b06cef8756b57d9c29d448d081" dependencies = [ "array-bytes", "blake3", - "frame-metadata 19.0.0", + "frame-metadata 20.0.0", "parity-scale-codec", "scale-decode 0.13.1", "scale-info", @@ -13869,7 +13869,7 @@ name = "pallet-example-view-functions" version = "1.0.0" dependencies = [ "frame-benchmarking 28.0.0", - "frame-metadata 19.0.0", + "frame-metadata 20.0.0", "frame-support 28.0.0", "frame-system 28.0.0", "log", @@ -27243,7 +27243,7 @@ dependencies = [ name = "sp-metadata-ir" version = "0.6.0" dependencies = [ - "frame-metadata 19.0.0", + "frame-metadata 20.0.0", "parity-scale-codec", "scale-info", ] @@ -29349,7 +29349,7 @@ dependencies = [ "cargo_metadata", "console", "filetime", - "frame-metadata 19.0.0", + "frame-metadata 20.0.0", "jobserver", "merkleized-metadata", "parity-scale-codec", diff --git a/Cargo.toml b/Cargo.toml index b73e87d9bac26..b197e632782d7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -787,7 +787,7 @@ frame-benchmarking-pallet-pov = { default-features = false, path = "substrate/fr frame-election-provider-solution-type = { path = "substrate/frame/election-provider-support/solution-type", default-features = false } frame-election-provider-support = { path = "substrate/frame/election-provider-support", default-features = false } frame-executive = { path = "substrate/frame/executive", default-features = false } -frame-metadata = { version = "19.0.0", default-features = false } +frame-metadata = { version = "20.0.0", default-features = false } frame-metadata-hash-extension = { path = "substrate/frame/metadata-hash-extension", default-features = false } frame-support = { path = "substrate/frame/support", default-features = false } frame-support-procedural = { path = "substrate/frame/support/procedural", default-features = false } @@ -862,7 +862,7 @@ macro_magic = { version = "0.5.1" } maplit = { version = "1.0.2" } memmap2 = { version = "0.9.3" } memory-db = { version = "0.32.0", default-features = false } -merkleized-metadata = { version = "0.3.0" } +merkleized-metadata = { version = "0.4.0" } merlin = { version = "3.0", default-features = false } messages-relay = { path = "bridges/relays/messages" } metered = { version = "0.6.1", default-features = false, package = "prioritized-metered-channel" } diff --git a/substrate/primitives/metadata-ir/src/unstable.rs b/substrate/primitives/metadata-ir/src/unstable.rs index c1db8bfbe4fe7..64cdfa7bc8244 100644 --- a/substrate/primitives/metadata-ir/src/unstable.rs +++ b/substrate/primitives/metadata-ir/src/unstable.rs @@ -59,8 +59,7 @@ impl From for RuntimeApiMetadata { methods: ir.methods.into_iter().map(Into::into).collect(), docs: ir.docs, deprecation_info: ir.deprecation_info.into(), - // TODO: add with new version of v16 metadata - // version: ir.version.into(), + version: ir.version.into(), } } } From c7934531a4313a074e791d5d26ed52c9c56f14a1 Mon Sep 17 00:00:00 2001 From: giuseppere Date: Mon, 24 Feb 2025 11:37:32 +0100 Subject: [PATCH 07/15] fix prdoc --- prdoc/pr_7607.prdoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/prdoc/pr_7607.prdoc b/prdoc/pr_7607.prdoc index ad914e02fd6ee..ac1b8db06d5ed 100644 --- a/prdoc/pr_7607.prdoc +++ b/prdoc/pr_7607.prdoc @@ -10,3 +10,9 @@ crates: bump: patch - name: sp-metadata-ir bump: major +- name: frame-support + bump: none +- name: substrate-wasm-builder + bump: minor +- name: pallet-example-view-functions + bump: minor From 945c363b382a8e136aee41c4ab0ce046b8cec502 Mon Sep 17 00:00:00 2001 From: giuseppere Date: Mon, 24 Feb 2025 11:40:31 +0100 Subject: [PATCH 08/15] Replate `ViewFunctionMethod` with `ViewFunction` everywhere in metadata types --- .../examples/view-functions/src/tests.rs | 9 ++++----- .../src/pallet/expand/view_functions.rs | 6 +++--- substrate/primitives/metadata-ir/src/types.rs | 20 +++++++++---------- .../primitives/metadata-ir/src/unstable.rs | 12 +++++------ 4 files changed, 23 insertions(+), 24 deletions(-) diff --git a/substrate/frame/examples/view-functions/src/tests.rs b/substrate/frame/examples/view-functions/src/tests.rs index 01a2d15dc6cde..e4d0642b3ed05 100644 --- a/substrate/frame/examples/view-functions/src/tests.rs +++ b/substrate/frame/examples/view-functions/src/tests.rs @@ -28,8 +28,7 @@ use scale_info::meta_type; use frame_support::{derive_impl, pallet_prelude::PalletInfoAccess, view_functions::ViewFunction}; use sp_io::hashing::twox_128; use sp_metadata_ir::{ - DeprecationStatusIR, PalletViewFunctionMethodMetadataIR, - PalletViewFunctionMethodParamMetadataIR, + DeprecationStatusIR, PalletViewFunctionMetadataIR, PalletViewFunctionParamMetadataIR, }; use sp_runtime::testing::TestXt; @@ -139,7 +138,7 @@ fn metadata_ir_definitions() { pretty_assertions::assert_eq!( pallet1.view_functions, vec![ - PalletViewFunctionMethodMetadataIR { + PalletViewFunctionMetadataIR { name: "get_value", id: get_value_id, inputs: vec![], @@ -147,10 +146,10 @@ fn metadata_ir_definitions() { docs: vec![" Query value with no input args."], deprecation_info: DeprecationStatusIR::NotDeprecated, }, - PalletViewFunctionMethodMetadataIR { + PalletViewFunctionMetadataIR { name: "get_value_with_arg", id: get_value_with_arg_id, - inputs: vec![PalletViewFunctionMethodParamMetadataIR { + inputs: vec![PalletViewFunctionParamMetadataIR { name: "key", ty: meta_type::() },], diff --git a/substrate/frame/support/procedural/src/pallet/expand/view_functions.rs b/substrate/frame/support/procedural/src/pallet/expand/view_functions.rs index 0222301852c9b..d856b8c05d8bb 100644 --- a/substrate/frame/support/procedural/src/pallet/expand/view_functions.rs +++ b/substrate/frame/support/procedural/src/pallet/expand/view_functions.rs @@ -214,7 +214,7 @@ fn impl_view_function_metadata( let pat = &typed.pat; let ty = &typed.ty; Some(quote::quote! { - #frame_support::__private::metadata_ir::PalletViewFunctionMethodParamMetadataIR { + #frame_support::__private::metadata_ir::PalletViewFunctionParamMetadataIR { name: ::core::stringify!(#pat), ty: #frame_support::__private::scale_info::meta_type::<#ty>(), } @@ -235,7 +235,7 @@ fn impl_view_function_metadata( }; quote::quote! { - #frame_support::__private::metadata_ir::PalletViewFunctionMethodMetadataIR { + #frame_support::__private::metadata_ir::PalletViewFunctionMetadataIR { name: ::core::stringify!(#name), id: <#view_function_struct_ident<#type_use_gen> as #frame_support::view_functions::ViewFunction>::id().into(), inputs: #frame_support::__private::sp_std::vec![ #( #inputs ),* ], @@ -252,7 +252,7 @@ fn impl_view_function_metadata( impl<#type_impl_gen> #pallet_ident<#type_use_gen> #where_clause { #[doc(hidden)] pub fn pallet_view_functions_metadata() - -> #frame_support::__private::Vec<#frame_support::__private::metadata_ir::PalletViewFunctionMethodMetadataIR> { + -> #frame_support::__private::Vec<#frame_support::__private::metadata_ir::PalletViewFunctionMetadataIR> { #frame_support::__private::vec![ #( #view_functions ),* ] } } diff --git a/substrate/primitives/metadata-ir/src/types.rs b/substrate/primitives/metadata-ir/src/types.rs index 29adfd606df66..c048733647d89 100644 --- a/substrate/primitives/metadata-ir/src/types.rs +++ b/substrate/primitives/metadata-ir/src/types.rs @@ -123,13 +123,13 @@ impl IntoPortable for RuntimeApiMethodParamMetadataIR { /// Metadata of a pallet view function method. #[derive(Clone, PartialEq, Eq, Encode, Decode, Debug)] -pub struct PalletViewFunctionMethodMetadataIR { +pub struct PalletViewFunctionMetadataIR { /// Method name. pub name: T::String, /// Method id. pub id: [u8; 32], /// Method parameters. - pub inputs: Vec>, + pub inputs: Vec>, /// Method output. pub output: T::Type, /// Method documentation. @@ -138,11 +138,11 @@ pub struct PalletViewFunctionMethodMetadataIR { pub deprecation_info: DeprecationStatusIR, } -impl IntoPortable for PalletViewFunctionMethodMetadataIR { - type Output = PalletViewFunctionMethodMetadataIR; +impl IntoPortable for PalletViewFunctionMetadataIR { + type Output = PalletViewFunctionMetadataIR; fn into_portable(self, registry: &mut Registry) -> Self::Output { - PalletViewFunctionMethodMetadataIR { + PalletViewFunctionMetadataIR { name: self.name.into_portable(registry), id: self.id, inputs: registry.map_into_portable(self.inputs), @@ -155,18 +155,18 @@ impl IntoPortable for PalletViewFunctionMethodMetadataIR { /// Metadata of a pallet view function method argument. #[derive(Clone, PartialEq, Eq, Encode, Decode, Debug)] -pub struct PalletViewFunctionMethodParamMetadataIR { +pub struct PalletViewFunctionParamMetadataIR { /// Parameter name. pub name: T::String, /// Parameter type. pub ty: T::Type, } -impl IntoPortable for PalletViewFunctionMethodParamMetadataIR { - type Output = PalletViewFunctionMethodParamMetadataIR; +impl IntoPortable for PalletViewFunctionParamMetadataIR { + type Output = PalletViewFunctionParamMetadataIR; fn into_portable(self, registry: &mut Registry) -> Self::Output { - PalletViewFunctionMethodParamMetadataIR { + PalletViewFunctionParamMetadataIR { name: self.name.into_portable(registry), ty: registry.register_type(&self.ty), } @@ -183,7 +183,7 @@ pub struct PalletMetadataIR { /// Pallet calls metadata. pub calls: Option>, /// Pallet view functions metadata. - pub view_functions: Vec>, + pub view_functions: Vec>, /// Pallet event metadata. pub event: Option>, /// Pallet constants metadata. diff --git a/substrate/primitives/metadata-ir/src/unstable.rs b/substrate/primitives/metadata-ir/src/unstable.rs index 64cdfa7bc8244..60e3ebf6389f3 100644 --- a/substrate/primitives/metadata-ir/src/unstable.rs +++ b/substrate/primitives/metadata-ir/src/unstable.rs @@ -20,8 +20,8 @@ use crate::{ DeprecationInfoIR, DeprecationStatusIR, OuterEnumsIR, PalletAssociatedTypeMetadataIR, PalletCallMetadataIR, PalletConstantMetadataIR, PalletErrorMetadataIR, PalletEventMetadataIR, - PalletStorageMetadataIR, PalletViewFunctionMethodMetadataIR, - PalletViewFunctionMethodParamMetadataIR, StorageEntryMetadataIR, + PalletStorageMetadataIR, PalletViewFunctionMetadataIR, PalletViewFunctionParamMetadataIR, + StorageEntryMetadataIR, }; use super::types::{ @@ -146,8 +146,8 @@ impl From for PalletCallMetadata { } } -impl From for PalletViewFunctionMetadata { - fn from(ir: PalletViewFunctionMethodMetadataIR) -> Self { +impl From for PalletViewFunctionMetadata { + fn from(ir: PalletViewFunctionMetadataIR) -> Self { PalletViewFunctionMetadata { name: ir.name, id: ir.id, @@ -159,8 +159,8 @@ impl From for PalletViewFunctionMetadata { } } -impl From for PalletViewFunctionParamMetadata { - fn from(ir: PalletViewFunctionMethodParamMetadataIR) -> Self { +impl From for PalletViewFunctionParamMetadata { + fn from(ir: PalletViewFunctionParamMetadataIR) -> Self { PalletViewFunctionParamMetadata { name: ir.name, ty: ir.ty } } } From c331fe1d3228cee30efc4c5ce67adae04c65b363 Mon Sep 17 00:00:00 2001 From: giuseppere Date: Mon, 24 Feb 2025 12:47:30 +0100 Subject: [PATCH 09/15] fix prdoc --- prdoc/pr_7607.prdoc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/prdoc/pr_7607.prdoc b/prdoc/pr_7607.prdoc index ac1b8db06d5ed..0048ac8e9538e 100644 --- a/prdoc/pr_7607.prdoc +++ b/prdoc/pr_7607.prdoc @@ -11,7 +11,9 @@ crates: - name: sp-metadata-ir bump: major - name: frame-support - bump: none + bump: minor +- name: frame-support-procedural + bump: patch - name: substrate-wasm-builder bump: minor - name: pallet-example-view-functions From 3662a92f1bb2a15744e7ee95e8ecb09821e72cfa Mon Sep 17 00:00:00 2001 From: giuseppere Date: Tue, 25 Feb 2025 12:02:27 +0100 Subject: [PATCH 10/15] Try to fix semver CI --- .github/workflows/check-semver.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-semver.yml b/.github/workflows/check-semver.yml index 958a1590bd248..c7fcb54bfd5d9 100644 --- a/.github/workflows/check-semver.yml +++ b/.github/workflows/check-semver.yml @@ -11,7 +11,7 @@ concurrency: cancel-in-progress: true env: - TOOLCHAIN: nightly-2024-11-19 + TOOLCHAIN: nightly-2024-04-10 jobs: isdraft: @@ -26,7 +26,7 @@ jobs: container: image: ${{ needs.preflight.outputs.IMAGE }} steps: - - uses: actions/checkout@6d193bf28034eafb982f37bd894289fe649468fc # v4.1.7 + - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.1.7 with: fetch-depth: 2 From e353eb613517fd2ceed38db8e8e3ec45a42ef947 Mon Sep 17 00:00:00 2001 From: giuseppere Date: Tue, 25 Feb 2025 12:08:59 +0100 Subject: [PATCH 11/15] undo nightly change --- .github/workflows/check-semver.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-semver.yml b/.github/workflows/check-semver.yml index c7fcb54bfd5d9..b53badd629594 100644 --- a/.github/workflows/check-semver.yml +++ b/.github/workflows/check-semver.yml @@ -11,7 +11,7 @@ concurrency: cancel-in-progress: true env: - TOOLCHAIN: nightly-2024-04-10 + TOOLCHAIN: nightly-2024-11-19 jobs: isdraft: From ef3e8afa4793d853abdfb4d85bad1d2557d3f261 Mon Sep 17 00:00:00 2001 From: giuseppere Date: Tue, 25 Feb 2025 12:50:48 +0100 Subject: [PATCH 12/15] use same nightly version as rust version in `check-semver` CI --- .github/workflows/check-semver.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-semver.yml b/.github/workflows/check-semver.yml index b53badd629594..e7243dae02e36 100644 --- a/.github/workflows/check-semver.yml +++ b/.github/workflows/check-semver.yml @@ -11,7 +11,7 @@ concurrency: cancel-in-progress: true env: - TOOLCHAIN: nightly-2024-11-19 + TOOLCHAIN: nightly-2025-01-28 jobs: isdraft: From c252bf46c9b4e261fa24fcb1e3111356f464a669 Mon Sep 17 00:00:00 2001 From: giuseppere Date: Tue, 25 Feb 2025 12:58:30 +0100 Subject: [PATCH 13/15] undo change --- .github/workflows/check-semver.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-semver.yml b/.github/workflows/check-semver.yml index e7243dae02e36..b53badd629594 100644 --- a/.github/workflows/check-semver.yml +++ b/.github/workflows/check-semver.yml @@ -11,7 +11,7 @@ concurrency: cancel-in-progress: true env: - TOOLCHAIN: nightly-2025-01-28 + TOOLCHAIN: nightly-2024-11-19 jobs: isdraft: From ff5d2a6fd7039125fadc7b9befdc9e434ad79eff Mon Sep 17 00:00:00 2001 From: giuseppere Date: Tue, 25 Feb 2025 13:00:03 +0100 Subject: [PATCH 14/15] undo change --- .github/workflows/check-semver.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-semver.yml b/.github/workflows/check-semver.yml index b53badd629594..958a1590bd248 100644 --- a/.github/workflows/check-semver.yml +++ b/.github/workflows/check-semver.yml @@ -26,7 +26,7 @@ jobs: container: image: ${{ needs.preflight.outputs.IMAGE }} steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.1.7 + - uses: actions/checkout@6d193bf28034eafb982f37bd894289fe649468fc # v4.1.7 with: fetch-depth: 2 From 2964fb01213eea8b44c0fa2170c952c831d33e56 Mon Sep 17 00:00:00 2001 From: giuseppere Date: Tue, 25 Feb 2025 13:01:45 +0100 Subject: [PATCH 15/15] Cargo.lock fix --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index f0e793874dff3..0dbf45f629580 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7800,7 +7800,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.5.8", + "socket2 0.4.9", "tokio", "tower-service", "tracing",