Skip to content

Commit a322703

Browse files
authored
Merge pull request #386 from opentensor/fix/fix-slow-proxy-test
fix: fix slow proxy test
2 parents a415323 + 4c1c033 commit a322703

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

runtime/tests/pallet_proxy.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ fn call_add_stake() -> RuntimeCall {
112112
fn call_register() -> RuntimeCall {
113113
let block_number: u64 = 1;
114114
let netuid: u16 = 2;
115+
116+
// lower diff first
117+
SubtensorModule::set_difficulty(netuid, 100);
118+
115119
let (nonce, work): (u64, Vec<u8>) = SubtensorModule::create_work_for_block_number(
116120
netuid,
117121
block_number,

0 commit comments

Comments
 (0)