mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-10 17:11:03 +00:00
Update scale-info to 2.5.0 (#896)
* Upodate scale-info to 2.5.0 * A couple more clippy fixes * more deprecation things that appeared
This commit is contained in:
@@ -22,7 +22,7 @@ frame-metadata = "15.0.0"
|
||||
futures = "0.3.27"
|
||||
hex = "0.4.3"
|
||||
regex = "1.7.3"
|
||||
scale-info = { version = "2.4.0", features = ["bit-vec"] }
|
||||
scale-info = { version = "2.5.0", features = ["bit-vec"] }
|
||||
sp-core = { version = "18.0.0", default-features = false }
|
||||
sp-runtime = "20.0.0"
|
||||
sp-keyring = "20.0.0"
|
||||
|
||||
@@ -20,8 +20,8 @@ fn metadata_docs() -> Vec<String> {
|
||||
|
||||
// Inspect the metadata types and collect the documentation.
|
||||
let mut docs = Vec::new();
|
||||
for ty in metadata.types.types() {
|
||||
docs.extend_from_slice(ty.ty().docs());
|
||||
for ty in &metadata.types.types {
|
||||
docs.extend_from_slice(&ty.ty.docs);
|
||||
}
|
||||
|
||||
for pallet in metadata.pallets {
|
||||
|
||||
@@ -10,7 +10,7 @@ publish = false
|
||||
|
||||
[dev-dependencies]
|
||||
trybuild = "1.0.79"
|
||||
scale-info = { version = "2.4.0", features = ["bit-vec"] }
|
||||
scale-info = { version = "2.5.0", features = ["bit-vec"] }
|
||||
frame-metadata = "15.0.0"
|
||||
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "full", "bit-vec"] }
|
||||
subxt = { path = "../../subxt" }
|
||||
|
||||
Reference in New Issue
Block a user