Skip to content

Commit

Permalink
Release v0.10.0 (#8)
Browse files Browse the repository at this point in the history
* Release `v0.10.0`

Signed-off-by: Xavier Lau <xavier@inv.cafe>

* Fix compile

---------

Signed-off-by: Xavier Lau <xavier@inv.cafe>
  • Loading branch information
aurexav authored Apr 18, 2023
1 parent bbc3cef commit 4a4285d
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 21 deletions.
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ members = [
homepage = "https://substrate-minimal.hack.ink"
license = "GPL-3.0"
repository = "https://github.com/hack-ink/substrate-minimal"
version = "0.9.2"
version = "0.10.0"

[workspace.dependencies]
# crates.io
Expand All @@ -32,11 +32,11 @@ members = [
tracing = { version = "0.1" }

# hack-ink
subcryptor = { version = "0.9.1", path = "subcryptor" }
subhasher = { version = "0.9.1", path = "subhasher" }
submetadatan = { version = "0.9.1", path = "submetadatan" }
subrpcer = { version = "0.9.1", path = "subrpcer" }
subruntimer = { version = "0.9.1", path = "subruntimer" }
subspector = { version = "0.9.1", path = "subspector" }
substorager = { version = "0.9.1", path = "substorager" }
subversioner = { version = "0.9.1", path = "subversioner" }
subcryptor = { version = "0.10", path = "subcryptor" }
subhasher = { version = "0.10", path = "subhasher" }
submetadatan = { version = "0.10", path = "submetadatan" }
subrpcer = { version = "0.10", path = "subrpcer" }
subruntimer = { version = "0.10", path = "subruntimer" }
subspector = { version = "0.10", path = "subspector" }
substorager = { version = "0.10", path = "substorager" }
subversioner = { version = "0.10", path = "subversioner" }
3 changes: 1 addition & 2 deletions submetadatan/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ pub use error::Error;
pub mod metadata;
pub use metadata::*;

#[cfg(feature = "cmp")]
pub mod cmp;
#[cfg(feature = "cmp")] pub mod cmp;

pub use frame_metadata::{self, RuntimeMetadataV14 as LatestRuntimeMetadata};
pub use parity_scale_codec;
Expand Down
2 changes: 1 addition & 1 deletion subrpcer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ pub fn rpc(id: usize, method: &str, params: Value) -> Value {
"params": params
});

#[feature = "tracing"]
#[cfg(feature = "tracing")]
tracing::trace!("Rpc({:?})", serde_json::to_string(&rpc).unwrap());

rpc
Expand Down
2 changes: 1 addition & 1 deletion substorager/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use super::*;
#[test]
fn storage_key_should_work() {
assert_eq!(
storage_key(b"System", b"Account").0,
storage_value_key(&b"System"[..], &b"Account"[..]).0,
[
38, 170, 57, 78, 234, 86, 48, 224, 124, 72, 174, 12, 149, 88, 206, 247, 185, 157, 136,
14, 198, 129, 121, 156, 12, 243, 14, 136, 134, 55, 29, 169
Expand Down

0 comments on commit 4a4285d

Please sign in to comment.