Skip to content

Commit c66e40d

Browse files
author
Roman
committed
replace inner call with subtensor call in e2e test
1 parent 4c7df84 commit c66e40d

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

tests/e2e_tests/test_incentive.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
import pytest
44

55
from bittensor.utils.btlogging import logging
6-
76
from tests.e2e_tests.utils.chain_interactions import (
87
root_set_subtensor_hyperparameter_values,
98
sudo_set_admin_utils,
109
wait_epoch,
11-
wait_interval,
1210
)
1311

1412
DURATION_OF_START_CALL = 10
@@ -70,15 +68,8 @@ async def test_incentive(local_chain, subtensor, templates, alice_wallet, bob_wa
7068

7169
subtensor.wait_for_block(DURATION_OF_START_CALL)
7270

73-
# Subnet "Start Call" https://github.com/opentensor/bits/pull/13
74-
status, error = await root_set_subtensor_hyperparameter_values(
75-
local_chain,
76-
alice_wallet,
77-
call_function="start_call",
78-
call_params={
79-
"netuid": netuid,
80-
},
81-
)
71+
# # Subnet "Start Call" https://github.com/opentensor/bits/pull/13
72+
status, error = subtensor.start_call(wallet=alice_wallet, netuid=netuid)
8273

8374
assert status is True, error
8475

0 commit comments

Comments
 (0)