Skip to content

Commit 9ea22c4

Browse files
committed
fix typos and warnings
1 parent 35af8ab commit 9ea22c4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pallets/subtensor/tests/root.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ fn test_issance_bounds() {
702702
// We converge to 20_999_999_989_500_000 (< 1 TAO away).
703703
let n_halvings: usize = 100;
704704
let mut total_issuance: u64 = 0;
705-
for i in 0..n_halvings {
705+
for _ in 0..n_halvings {
706706
let block_emission_10_500_000x: u64 =
707707
SubtensorModule::get_block_emission_for_issuance(total_issuance).unwrap()
708708
* 10_500_000;

runtime/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ pallet-commitments = { version = "4.0.0-dev", default-features = false, path = "
8383

8484
[dev-dependencies]
8585
sp-io = { version = "23", git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v1.0.0" }
86-
sp-tracing = { vrsion = "23", git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" }
86+
sp-tracing = { version = "10", git = "https://github.com/paritytech/substrate", branch = "polkadot-v1.0.0" }
8787

8888
[build-dependencies]
8989
substrate-wasm-builder = { version = "5.0.0-dev", git = "https://github.com/paritytech/substrate.git", optional = true, branch = "polkadot-v1.0.0" }

0 commit comments

Comments
 (0)