@@ -461,14 +461,14 @@ def _get_substrate(
461461 the configuration parameters.
462462
463463 Arguments:
464- fallback_endpoints: List of fallback endpoints to use if default or provided network is not available.
464+ fallback_endpoints: List of fallback endpoints to use if default or provided network is not available.
465465 Defaults to `None`.
466466 retry_forever: Whether to retry forever on connection errors. Defaults to `False`.
467467 _mock: Whether this is a mock instance. Mainly for testing purposes. Defaults to `False`.
468- archive_endpoints: Similar to fallback_endpoints, but specifically only archive nodes. Will be used in
469- cases where you are requesting a block that is too old for your current (presumably lite) node. Defaults
468+ archive_endpoints: Similar to fallback_endpoints, but specifically only archive nodes. Will be used in
469+ cases where you are requesting a block that is too old for your current (presumably lite) node. Defaults
470470 to `None`.
471- ws_shutdown_timer: Amount of time, in seconds, to wait after the last response from the chain to close
471+ ws_shutdown_timer: Amount of time, in seconds, to wait after the last response from the chain to close
472472 the connection.
473473
474474 Returns:
@@ -509,17 +509,17 @@ async def query_constant(
509509 ) -> Optional ["ScaleObj" ]:
510510 """Retrieves a constant from the specified module on the Bittensor blockchain.
511511
512- This function is used to access fixed values defined within the blockchain's modules, which are essential for
512+ This function is used to access fixed values defined within the blockchain's modules, which are essential for
513513 understanding the network's configuration and rules. These include include critical network parameters such as
514514 inflation rates, consensus rules, or validation thresholds, providing a deeper understanding of the Bittensor
515515 network's operational parameters.
516516
517517 Arguments:
518518 module_name: The name of the module containing the constant (e.g., "Balances", "SubtensorModule").
519519 constant_name: The name of the constant to retrieve (e.g., "ExistentialDeposit").
520- block: The blockchain block number at which to query the constant. Do not specify if using block_hash or
520+ block: The blockchain block number at which to query the constant. Do not specify if using block_hash or
521521 reuse_block.
522- block_hash: The hash of the blockchain block at which to query the constant. Do not specify if using
522+ block_hash: The hash of the blockchain block at which to query the constant. Do not specify if using
523523 block or reuse_block.
524524 reuse_block: Whether to reuse the blockchain block at which to query the constant. Defaults to `False`.
525525
@@ -566,9 +566,9 @@ async def query_map(
566566 module: The name of the module from which to query the map storage (e.g., "SubtensorModule", "System").
567567 name: The specific storage function within the module to query (e.g., "Bonds", "Weights").
568568 block: The blockchain block number at which to perform the query. Defaults to `None` (latest block).
569- block_hash: The hash of the block to retrieve the parameter from. Do not specify if using block or
569+ block_hash: The hash of the block to retrieve the parameter from. Do not specify if using block or
570570 reuse_block.
571- reuse_block: Whether to use the last-used block. Do not set if using block_hash or block. Defaults to
571+ reuse_block: Whether to use the last-used block. Do not set if using block_hash or block. Defaults to
572572 `False`.
573573 params: Parameters to be passed to the query. Defaults to `None`.
574574
@@ -600,22 +600,22 @@ async def query_map_subtensor(
600600 reuse_block : bool = False ,
601601 params : Optional [list ] = None ,
602602 ) -> "AsyncQueryMapResult" :
603- """Queries map storage from the Subtensor module on the Bittensor blockchain. This function is designed to
603+ """Queries map storage from the Subtensor module on the Bittensor blockchain. This function is designed to
604604 retrieve a map-like data structure, which can include various neuron-specific details or network-wide
605605 attributes.
606606
607607 Arguments:
608608 name: The name of the map storage function to query.
609609 block: The blockchain block number at which to perform the query.
610- block_hash: The hash of the block to retrieve the parameter from. Do not specify if using block or
610+ block_hash: The hash of the block to retrieve the parameter from. Do not specify if using block or
611611 reuse_block.
612612 reuse_block: Whether to use the last-used block. Do not set if using block_hash or block.
613613 params: A list of parameters to pass to the query function.
614614
615615 Returns:
616616 An object containing the map-like data structure, or `None` if not found.
617617
618- This function is particularly useful for analyzing and understanding complex network structures and
618+ This function is particularly useful for analyzing and understanding complex network structures and
619619 relationships within the Bittensor ecosystem, such as interneuronal connections and stake distributions.
620620 """
621621 block_hash = await self .determine_block_hash (block , block_hash , reuse_block )
@@ -876,7 +876,7 @@ async def bonds(
876876 ) -> list [tuple [int , list [tuple [int , int ]]]]:
877877 """Retrieves the bond distribution set by subnet validators within a specific subnet.
878878
879- Bonds represent the "investment" a subnet validator has made in evaluating a specific subnet miner. This
879+ Bonds represent the "investment" a subnet validator has made in evaluating a specific subnet miner. This
880880 bonding mechanism is integral to the Yuma Consensus' design intent of incentivizing high-quality performance
881881 by subnet miners, and honest evaluation by subnet validators.
882882
@@ -924,7 +924,7 @@ async def commit(
924924 wallet: The wallet associated with the neuron committing the data.
925925 netuid: The unique identifier of the subnet.
926926 data: The data to be committed to the network.
927- period: The number of blocks during which the transaction will remain valid after it's submitted. If the
927+ period: The number of blocks during which the transaction will remain valid after it's submitted. If the
928928 transaction is not included in a block within that number of blocks, it will expire and be rejected. You
929929 can think of it as an expiration date for the transaction.
930930
@@ -961,7 +961,7 @@ async def commit_reveal_enabled(
961961 """Check if commit-reveal mechanism is enabled for a given subnet at a specific block.
962962
963963 The commit reveal feature is designed to solve the weight-copying problem by giving would-be weight-copiers
964- access only to stale weights. Copying stale weights should result in subnet validators departing from
964+ access only to stale weights. Copying stale weights should result in subnet validators departing from
965965 consensus.
966966
967967 Arguments:
@@ -1002,13 +1002,13 @@ async def difficulty(
10021002
10031003 This parameter determines the computational challenge required for neurons to participate in consensus and
10041004 validation processes. The difficulty directly impacts the network's security and integrity by setting the
1005- computational effort required for validating transactions and participating in the network's consensus
1005+ computational effort required for validating transactions and participating in the network's consensus
10061006 mechanism.
10071007
10081008 Arguments:
10091009 netuid: The unique identifier of the subnet.
10101010 block: The block number for the query. Do not specify if using block_hash or reuse_block.
1011- block_hash: The hash of the block to retrieve the parameter from. Do not specify if using block or
1011+ block_hash: The hash of the block to retrieve the parameter from. Do not specify if using block or
10121012 reuse_block.
10131013 reuse_block: Whether to use the last-used block. Do not set if using block_hash or block.
10141014
@@ -1217,7 +1217,7 @@ async def get_balances(
12171217 async def get_current_block (self ) -> int :
12181218 """Returns the current block number on the Bittensor blockchain.
12191219
1220- This function provides the latest block number, indicating the most recent state of the blockchain. Knowing
1220+ This function provides the latest block number, indicating the most recent state of the blockchain. Knowing
12211221 the current block number is essential for querying real-time data and performing time-sensitive operations on
12221222 the blockchain. It serves as a reference point for network activities and data synchronization.
12231223
@@ -4944,7 +4944,7 @@ async def set_weights(
49444944 based on their performance evaluation.
49454945
49464946 This method allows subnet validators to submit their weight vectors, which rank the value of each subnet
4947- miner's work. These weight vectors are used by the Yuma Consensus algorithm to compute emissions for both
4947+ miner's work. These weight vectors are used by the Yuma Consensus algorithm to compute emissions for both
49484948 validators and miners.
49494949
49504950 Arguments:
0 commit comments