We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dc87b3 commit e91aa71Copy full SHA for e91aa71
runtime/tests/pallet_proxy.rs
@@ -101,15 +101,6 @@ fn call_senate() -> RuntimeCall {
101
102
// staking call
103
fn call_add_stake() -> RuntimeCall {
104
- let block_number: u64 = 1;
105
- let netuid: u16 = 2;
106
- let (_, work): (u64, Vec<u8>) = SubtensorModule::create_work_for_block_number(
107
- netuid,
108
- block_number,
109
- 0,
110
- &AccountId::from(ACCOUNT),
111
- );
112
-
113
let amount_staked = 100;
114
RuntimeCall::SubtensorModule(pallet_subtensor::Call::add_stake {
115
hotkey: AccountId::from(DELEGATE).into(),
0 commit comments