diff --git a/Cargo.toml b/Cargo.toml index d3ea5dd..af5ea7c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,12 +23,12 @@ plot_icon = {version = "0.3.0", optional = true, default-features = false, featu parity-scale-codec = {version = "3.6.9", default-features = false, features = ["derive", "bit-vec"]} primitive-types = {version = "0.12.2", default-features = false} scale-info = {version = "2.10.0", default-features = false} -sp-arithmetic = {version = "24.0.0", default-features = false} -sp-core-hashing = {version = "16.0.0", default-features = false} +sp-arithmetic = {version = "25.0.0", default-features = false} +sp-crypto-hashing = {version = "0.1.0", default-features = false} [features] default = ["std"] -std = ["external-memory-tools/std", "frame-metadata/std", "plot_icon", "primitive-types/std", "sp-core-hashing/std"] +std = ["external-memory-tools/std", "frame-metadata/std", "plot_icon", "primitive-types/std", "sp-crypto-hashing/std"] [lib] name = "substrate_parser" diff --git a/src/storage_data.rs b/src/storage_data.rs index 33d7f63..ca7138b 100644 --- a/src/storage_data.rs +++ b/src/storage_data.rs @@ -24,7 +24,7 @@ use external_memory_tools::{AddressableBuffer, ExternalMemory}; use frame_metadata::v14::{StorageEntryMetadata, StorageEntryType, StorageHasher}; use scale_info::{form::PortableForm, interner::UntrackedSymbol, TypeDef}; -use sp_core_hashing::{blake2_128, twox_64}; +use sp_crypto_hashing::{blake2_128, twox_64}; use crate::std::{string::String, vec::Vec};