Skip to content

Commit 7492611

Browse files
committed
move imports
1 parent 318c244 commit 7492611

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

pallets/subtensor/tests/weights.rs

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ use sp_runtime::{
1616
};
1717
use sp_std::collections::vec_deque::VecDeque;
1818
use substrate_fixed::types::I32F32;
19+
use ark_serialize::CanonicalDeserialize;
20+
use rand_chacha::{ChaCha20Rng, rand_core::SeedableRng};
21+
use sha2::Digest;
22+
use tle::{tlock::{tld, tle}, ibe::fullident::Identity, curves::drand::TinyBLS381, stream_ciphers::AESGCMStreamCipherProvider};
23+
use w3f_bls::EngineBLS;
1924

2025
/***************************
2126
pub fn set_weights() tests
@@ -4189,16 +4194,6 @@ fn test_commit_weights_rate_limit() {
41894194
});
41904195
}
41914196

4192-
use ark_serialize::CanonicalDeserialize;
4193-
use rand_chacha::rand_core::SeedableRng;
4194-
use rand_chacha::ChaCha20Rng;
4195-
use sha2::Digest;
4196-
use tle::ibe::fullident::Identity;
4197-
use tle::tlock::tld;
4198-
use tle::tlock::tle;
4199-
use tle::{curves::drand::TinyBLS381, stream_ciphers::AESGCMStreamCipherProvider};
4200-
use w3f_bls::EngineBLS;
4201-
42024197
#[test]
42034198
pub fn tlock_encrypt_decrypt_drand_quicknet_works() {
42044199
// using a pulse from drand's QuickNet

0 commit comments

Comments
 (0)