Skip to content

Commit

Permalink
add tracing subscriber to display logs
Browse files Browse the repository at this point in the history
  • Loading branch information
nanocryk committed Jul 19, 2021
1 parent 2f24e98 commit 9a3ce46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions runtime/moonriver/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ cumulus-primitives-parachain-inherent = { git = "https://github.com/purestake/cu
evm = { version = "0.27.0", default-features = false, features = ["with-codec"] }
rlp = "0.5"
hex = "0.4"
tracing-subscriber = { version = "0.2.19", features = ["fmt"]}

[build-dependencies]
substrate-wasm-builder = { version = "4.0.0", git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.8" }
Expand Down
2 changes: 2 additions & 0 deletions runtime/moonriver/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,8 @@ fn initialize_crowdloan_addresses_with_batch_and_pay() {

#[test]
fn claim_via_precompile() {
tracing_subscriber::fmt::init();

ExtBuilder::default()
.with_balances(vec![
(AccountId::from(ALICE), 2_000 * MOVR),
Expand Down

0 comments on commit 9a3ce46

Please sign in to comment.