Skip to content

Commit 6d49fa3

Browse files
author
Roman
committed
fix unit tests
1 parent ab5e594 commit 6d49fa3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

bittensor/core/subtensor_api/chain.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def __init__(self, subtensor: Union["_Subtensor", "_AsyncSubtensor"]):
1414
self.get_minimum_required_stake = subtensor.get_minimum_required_stake
1515
self.get_vote_data = subtensor.get_vote_data
1616
self.get_timestamp = subtensor.get_timestamp
17+
self.is_fast_blocks = subtensor.is_fast_blocks
1718
self.last_drand_round = subtensor.last_drand_round
1819
self.state_call = subtensor.state_call
1920
self.tx_rate_limit = subtensor.tx_rate_limit

bittensor/core/subtensor_api/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def add_legacy_methods(subtensor: "SubtensorApi"):
101101
subtensor.get_unstake_fee = subtensor._subtensor.get_unstake_fee
102102
subtensor.get_vote_data = subtensor._subtensor.get_vote_data
103103
subtensor.immunity_period = subtensor._subtensor.immunity_period
104+
subtensor.is_fast_blocks = subtensor._subtensor.is_fast_blocks
104105
subtensor.is_hotkey_delegate = subtensor._subtensor.is_hotkey_delegate
105106
subtensor.is_hotkey_registered = subtensor._subtensor.is_hotkey_registered
106107
subtensor.is_hotkey_registered_any = subtensor._subtensor.is_hotkey_registered_any

0 commit comments

Comments
 (0)