Skip to content

Commit

Permalink
Merge branch 'feat/rao-2025-01' of github.com:opentensor/subtensor in…
Browse files Browse the repository at this point in the history
…to feat/rao-2025-01
  • Loading branch information
JohnReedV committed Jan 8, 2025
2 parents 5f25de2 + 84a43ae commit 4627dd1
Show file tree
Hide file tree
Showing 3 changed files with 168 additions and 191 deletions.
10 changes: 1 addition & 9 deletions pallets/subtensor/src/tests/batch_tx.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
use codec::Compact;
use frame_support::{assert_ok, traits::Currency};
use frame_system::Config;
use sp_core::{H256, U256};
use sp_runtime::{
traits::{BlakeTwo256, Hash},
DispatchError,
};

use crate::{Error, Event};
use sp_core::U256;
use super::mock::*;


// SKIP_WASM_BUILD=1 RUST_LOG=debug cargo test --package pallet-subtensor --lib -- tests::batch_tx::test_batch_txs --exact --show-output --nocapture
#[test]
fn test_batch_txs() {
Expand Down
6 changes: 3 additions & 3 deletions pallets/subtensor/src/tests/epoch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
use super::mock::*;
use crate::epoch::math::safe_exp;
use crate::*;
use frame_support::{assert_err, assert_ok};
use frame_system::Config;
use frame_support::assert_ok;
// use frame_system::Config;
use rand::{distributions::Uniform, rngs::StdRng, seq::SliceRandom, thread_rng, Rng, SeedableRng};
use sp_core::U256;
use sp_runtime::DispatchError;
// use sp_runtime::DispatchError;
use std::time::Instant;
use substrate_fixed::types::I32F32;

Expand Down
Loading

0 comments on commit 4627dd1

Please sign in to comment.