Skip to content

Conversation

@ibraheem-abe
Copy link
Contributor

  • Adds 2 subtensor functions, last_drand_round and get_crv3_weight_commits
  • Helper functions next_tempo and sudo_set_admin_utils in e2e
  • Adds e2e test for V3 of commit_reveal

Note: Test passing in devnet but skipping it here till we have it on testnet

@ibraheem-abe ibraheem-abe requested a review from a team December 11, 2024 01:29
result = self.substrate.query(
module="Drand", storage_function="LastStoredRound"
)
return getattr(result, "value", None)
Copy link
Contributor

Choose a reason for hiding this comment

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

Make a note that we'll need to update this after #2526 is merged

params=[netuid],
block=block,
)
return result.records[0][1].value if result and result.records else []
Copy link
Contributor

Choose a reason for hiding this comment

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

Same thing here

@garrett-opentensor garrett-opentensor merged commit ac9cc8b into feat/roman/cr-v-3 Dec 12, 2024
15 checks passed
@garrett-opentensor garrett-opentensor deleted the feat/crv3-e2e-test branch December 12, 2024 16:36
@ibraheem-abe ibraheem-abe mentioned this pull request Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants