diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e57fd08aa..dfe572303 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,6 +33,8 @@ jobs: run: make dev-format-check - name: Install clippy run: rustup component add clippy + - name: Update + run: cargo update - name: Run clippy run: cargo clippy -- -D warnings - name: Check for Wasm diff --git a/xtokens/Cargo.toml b/xtokens/Cargo.toml index 0c56c663d..118810024 100644 --- a/xtokens/Cargo.toml +++ b/xtokens/Cargo.toml @@ -19,6 +19,7 @@ frame-system = { workspace = true } sp-io = { workspace = true } sp-runtime = { workspace = true } sp-std = { workspace = true } +sp-tracing = "17.0.1" # polkadot pallet-xcm = { workspace = true } diff --git a/xtokens/src/tests.rs b/xtokens/src/tests.rs index 5f2e08b15..683412d4c 100644 --- a/xtokens/src/tests.rs +++ b/xtokens/src/tests.rs @@ -708,6 +708,7 @@ fn sending_sibling_asset_to_reserve_sibling_with_relay_fee_works() { #[test] fn sending_sibling_asset_to_reserve_sibling_with_relay_fee_works_with_relative_self_location() { + sp_tracing::init_for_tests(); TestNet::reset(); ParaD::execute_with(|| {