chore(deps): bump scale family crates, primitive-types and impl-serde (#1832)

* chore(deps): bump scale-encode and scale-decode

* Update Cargo.toml

* Update Cargo.toml

* Update Cargo.toml

* update Cargo.lock

* bump scale-typegen

* use primitive_types::H256

* cargo fmt

* remove old darling hack
This commit is contained in:
Niklas Adolfsson
2024-10-22 19:23:38 +02:00
committed by GitHub
parent 418bd88e62
commit 9b5523e4b0
6 changed files with 143 additions and 164 deletions
+2 -1
View File
@@ -45,7 +45,8 @@ impl RuntimeGenerator {
///
/// Supported versions: v14 and v15.
pub fn new(mut metadata: Metadata) -> Self {
scale_typegen::utils::ensure_unique_type_paths(metadata.types_mut());
scale_typegen::utils::ensure_unique_type_paths(metadata.types_mut())
.expect("Duplicate type paths in metadata; this is bug please file an issue.");
RuntimeGenerator { metadata }
}