Skip to content

Commit

Permalink
chore: switch to sp-crypto-hashing, bump sp-arithmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
varovainen committed Mar 4, 2024
1 parent 04f745f commit da8696a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/storage_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};

Expand Down

0 comments on commit da8696a

Please sign in to comment.