Skip to content

Commit

Permalink
Merge pull request #84 from uptest-sc/minor_subxt_bug
Browse files Browse the repository at this point in the history
fixed subxt feature flag
  • Loading branch information
flipchan authored Aug 11, 2023
2 parents 5083519 + 6b2ad0b commit b50835f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libuptest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ tokio = { version = "1.27", features = ["full"] }


[features]
all = ["metadatadecode", "migrationsearch"]#, "subxthelper"
all = ["metadatadecode", "migrationsearch", "subxthelper"]
metadatadecode = ["desub-current", "frame-metadata"]
subxthelper = ["subxt", "subxt-signer", "subxt-macro", "subxt-metadata"]
migrationsearch = ["reqwest", "glob", "regex", "tar", "flate2"]
Expand Down Expand Up @@ -82,4 +82,4 @@ optional = true

[dependencies.tar]
version = "0.4.39"
optional = true
optional = true
3 changes: 3 additions & 0 deletions libuptest/src/test_helper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ use rand::{Rng, SeedableRng}; // https://rust-random.github.io/book/guide-rngs.h

#[cfg(feature = "subxthelper")]
use subxt_signer::sr25519::Keypair;


#[cfg(feature = "subxthelper")]
use subxt::utils::AccountId32;


Expand Down

0 comments on commit b50835f

Please sign in to comment.