Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added e2e test for CRv3 + enhancements #2532

Merged
merged 5 commits into from
Dec 12, 2024

Conversation

ibraheem-opentensor
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-opentensor ibraheem-opentensor 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
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.

3 participants