You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need a view method in staking precompile that allows to get stake by hotkey, coldkey, and netuid (only accept root ID for netuid for now, but it will need to change when we release rao).
In Solidity/EVM Substrate keys are represented as bytes32 public keys.
Comment: If a H160 address stakes, there's still a 32 byte public key that represents it in stake map in subtensor pallet, so there is no need to allow accessing stake map by H160 address in addition to 32 byte substrate public key.
We need a view method in staking precompile that allows to get stake by hotkey, coldkey, and netuid (only accept root ID for netuid for now, but it will need to change when we release rao).
In Solidity/EVM Substrate keys are represented as bytes32 public keys.
Comment: If a H160 address stakes, there's still a 32 byte public key that represents it in stake map in subtensor pallet, so there is no need to allow accessing stake map by H160 address in addition to 32 byte substrate public key.
Acceptance Criteria:
The text was updated successfully, but these errors were encountered: