From 754e25f128e6d56b13f2a977a31cbc4fd55165ab Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Tue, 22 Oct 2024 18:53:09 +0200 Subject: [PATCH 1/3] chore(deps): bump scale crates to latest version --- Cargo.lock | 63 +++++++++++++++++++++++++++++++++--------------------- Cargo.toml | 6 +++--- 2 files changed, 42 insertions(+), 27 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 81dfbc4..9bce754 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -133,6 +133,27 @@ dependencies = [ "syn 2.0.77", ] +[[package]] +name = "derive_more" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.77", + "unicode-xid", +] + [[package]] name = "digest" version = "0.10.7" @@ -160,7 +181,7 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" name = "frame-decode" version = "0.4.0" dependencies = [ - "frame-metadata 16.0.0", + "frame-metadata", "hex", "parity-scale-codec", "scale-decode", @@ -173,17 +194,6 @@ dependencies = [ "sp-crypto-hashing", ] -[[package]] -name = "frame-metadata" -version = "15.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c" -dependencies = [ - "cfg-if", - "parity-scale-codec", - "scale-info", -] - [[package]] name = "frame-metadata" version = "16.0.0" @@ -412,11 +422,11 @@ dependencies = [ [[package]] name = "scale-decode" -version = "0.13.1" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e98f3262c250d90e700bb802eb704e1f841e03331c2eb815e46516c4edbf5b27" +checksum = "f8ae9cc099ae85ff28820210732b00f019546f36f33225f509fe25d5816864a0" dependencies = [ - "derive_more", + "derive_more 1.0.0", "parity-scale-codec", "scale-bits", "scale-type-resolver", @@ -425,11 +435,11 @@ dependencies = [ [[package]] name = "scale-encode" -version = "0.7.1" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ba0b9c48dc0eb20c60b083c29447c0c4617cb7c4a4c9fef72aa5c5bc539e15e" +checksum = "5f9271284d05d0749c40771c46180ce89905fd95aa72a2a2fddb4b7c0aa424db" dependencies = [ - "derive_more", + "derive_more 1.0.0", "parity-scale-codec", "scale-bits", "scale-type-resolver", @@ -444,7 +454,7 @@ checksum = "eca070c12893629e2cc820a9761bedf6ce1dcddc9852984d1dc734b8bd9bd024" dependencies = [ "bitvec", "cfg-if", - "derive_more", + "derive_more 0.99.18", "parity-scale-codec", "scale-info-derive", "serde", @@ -468,7 +478,7 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4eb04ed2b1e16cd492e7964b406d4c8cc43094e0cf700ebd18999ae76998fd62" dependencies = [ - "derive_more", + "derive_more 0.99.18", "hashbrown", "scale-type-resolver", "serde", @@ -489,15 +499,14 @@ dependencies = [ [[package]] name = "scale-value" -version = "0.16.3" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8cd6ab090d823e75cfdb258aad5fe92e13f2af7d04b43a55d607d25fcc38c811" +checksum = "f5e0ef2a0ee1e02a69ada37feb87ea1616ce9808aca072befe2d3131bf28576e" dependencies = [ "base58", "blake2", - "derive_more", + "derive_more 1.0.0", "either", - "frame-metadata 15.1.0", "parity-scale-codec", "scale-bits", "scale-decode", @@ -684,6 +693,12 @@ version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" +[[package]] +name = "unicode-xid" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" + [[package]] name = "unsafe-libyaml" version = "0.2.11" diff --git a/Cargo.toml b/Cargo.toml index 1865b1e..7151ac2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,15 +40,15 @@ legacy = [ frame-metadata = { version = "16.0.0", features = ["current"], default-features = false } hex = { version = "0.4.3", default-features = false } parity-scale-codec = { version = "3.6.12", default-features = false } -scale-decode = { version = "0.13.1", default-features = false } +scale-decode = { version = "0.14.0", default-features = false } scale-info = { version = "2.11.3", default-features = false } scale-info-legacy = { version = "0.2.1", default-features = false, optional = true } scale-type-resolver = "0.2.0" -scale-value = { version = "0.16.3", default-features = false, optional = true } +scale-value = { version = "0.17.0", default-features = false, optional = true } sp-crypto-hashing = { version = "0.1.0", default-features = false } [dev-dependencies] serde_yaml = "0.9" serde_json = "1" -scale-value = "0.16.2" +scale-value = "0.17.0" scale-info-legacy = "0.2.1" From da4b98ce0befbafeec417ee840168d6eb938d604 Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Wed, 23 Oct 2024 10:44:13 +0200 Subject: [PATCH 2/3] Update Cargo.toml --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7151ac2..72b6edb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ frame-metadata = { version = "16.0.0", features = ["current"], default-features hex = { version = "0.4.3", default-features = false } parity-scale-codec = { version = "3.6.12", default-features = false } scale-decode = { version = "0.14.0", default-features = false } -scale-info = { version = "2.11.3", default-features = false } +scale-info = { version = "2.11.4", default-features = false } scale-info-legacy = { version = "0.2.1", default-features = false, optional = true } scale-type-resolver = "0.2.0" scale-value = { version = "0.17.0", default-features = false, optional = true } From a4f9d4da0d6f8e7a550969cbaf8cb5b7140aa4e2 Mon Sep 17 00:00:00 2001 From: Niklas Adolfsson Date: Wed, 23 Oct 2024 10:48:39 +0200 Subject: [PATCH 3/3] update Cargo.lock --- Cargo.lock | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9bce754..6a1c664 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -448,13 +448,13 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.11.3" +version = "2.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eca070c12893629e2cc820a9761bedf6ce1dcddc9852984d1dc734b8bd9bd024" +checksum = "22760a375f81a31817aeaf6f5081e9ccb7ffd7f2da1809a6e3fc82b6656f10d5" dependencies = [ "bitvec", "cfg-if", - "derive_more 0.99.18", + "derive_more 1.0.0", "parity-scale-codec", "scale-info-derive", "serde", @@ -462,9 +462,9 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.11.3" +version = "2.11.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d35494501194174bda522a32605929eefc9ecf7e0a326c26db1fdd85881eb62" +checksum = "abc61ebe25a5c410c0e245028fc9934bf8fa4817199ef5a24a68092edfd34614" dependencies = [ "proc-macro-crate", "proc-macro2",