Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 4a4285d

Browse files
authored
Release v0.10.0 (#8)
* Release `v0.10.0` Signed-off-by: Xavier Lau <xavier@inv.cafe> * Fix compile --------- Signed-off-by: Xavier Lau <xavier@inv.cafe>
1 parent bbc3cef commit 4a4285d

5 files changed

Lines changed: 20 additions & 21 deletions

File tree

Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ members = [
1616
homepage = "https://substrate-minimal.hack.ink"
1717
license = "GPL-3.0"
1818
repository = "https://github.com/hack-ink/substrate-minimal"
19-
version = "0.9.2"
19+
version = "0.10.0"
2020

2121
[workspace.dependencies]
2222
# crates.io
@@ -32,11 +32,11 @@ members = [
3232
tracing = { version = "0.1" }
3333

3434
# hack-ink
35-
subcryptor = { version = "0.9.1", path = "subcryptor" }
36-
subhasher = { version = "0.9.1", path = "subhasher" }
37-
submetadatan = { version = "0.9.1", path = "submetadatan" }
38-
subrpcer = { version = "0.9.1", path = "subrpcer" }
39-
subruntimer = { version = "0.9.1", path = "subruntimer" }
40-
subspector = { version = "0.9.1", path = "subspector" }
41-
substorager = { version = "0.9.1", path = "substorager" }
42-
subversioner = { version = "0.9.1", path = "subversioner" }
35+
subcryptor = { version = "0.10", path = "subcryptor" }
36+
subhasher = { version = "0.10", path = "subhasher" }
37+
submetadatan = { version = "0.10", path = "submetadatan" }
38+
subrpcer = { version = "0.10", path = "subrpcer" }
39+
subruntimer = { version = "0.10", path = "subruntimer" }
40+
subspector = { version = "0.10", path = "subspector" }
41+
substorager = { version = "0.10", path = "substorager" }
42+
subversioner = { version = "0.10", path = "subversioner" }

submetadatan/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ pub use error::Error;
99
pub mod metadata;
1010
pub use metadata::*;
1111

12-
#[cfg(feature = "cmp")]
13-
pub mod cmp;
12+
#[cfg(feature = "cmp")] pub mod cmp;
1413

1514
pub use frame_metadata::{self, RuntimeMetadataV14 as LatestRuntimeMetadata};
1615
pub use parity_scale_codec;

subrpcer/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ pub fn rpc(id: usize, method: &str, params: Value) -> Value {
119119
"params": params
120120
});
121121

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

125125
rpc

substorager/src/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use super::*;
44
#[test]
55
fn storage_key_should_work() {
66
assert_eq!(
7-
storage_key(b"System", b"Account").0,
7+
storage_value_key(&b"System"[..], &b"Account"[..]).0,
88
[
99
38, 170, 57, 78, 234, 86, 48, 224, 124, 72, 174, 12, 149, 88, 206, 247, 185, 157, 136,
1010
14, 198, 129, 121, 156, 12, 243, 14, 136, 134, 55, 29, 169

0 commit comments

Comments
 (0)