Skip to content

Conversation

at: Option<BlockHash>,
) -> RpcResult<Vec<u8>>;
#[method(name = "subnetInfo_getSelectiveMechagraph")]
fn get_selective_mechagraph(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldnt be called metagraph?
is that some new naming convention?

Some(SelectiveMetagraphIndex::Incentives) => SelectiveMetagraph {
netuid: netuid.into(),
incentives: Some(
Incentive::<T>::get(NetUidStorageIndex::from(netuid))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure but is it fetching incentives from the parent subnet? shouldnt it refer the netuid_index? same for the last_update below
btw. is the other metagraph stuff like weights/bonds/etc gonna be accessible through metagraph for subsubnets?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy-mainnet skip-cargo-audit This PR fails cargo audit but needs to be merged anyway
Projects
None yet
Development

Successfully merging this pull request may close these issues.