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

libtester voting optimizations #264

Closed
arhag opened this issue Jun 10, 2024 · 0 comments · Fixed by #279
Closed

libtester voting optimizations #264

arhag opened this issue Jun 10, 2024 · 0 comments · Fixed by #279
Assignees
Labels
👍 lgtm OCI Work exclusive to OCI team
Milestone

Comments

@arhag
Copy link
Member

arhag commented Jun 10, 2024

By default only use 1 finalizer key.

Additionally, consider the following optimization for calls to produce_blocks:

  • If the number of blocks to produce is 3 or less, continue voting on each block as is currently done.
  • If the number of blocks to produce is more than 3, only vote on the last 3 blocks.

This saves time on unnecessary BLS math operations for tests that need to produce a lot of empty blocks as part of the test.

@arhag arhag added this to the Savanna: Cusp milestone Jun 10, 2024
@enf-ci-bot enf-ci-bot moved this to Todo in Team Backlog Jun 10, 2024
@arhag arhag added 👍 lgtm and removed triage labels Jun 10, 2024
@heifner heifner self-assigned this Jun 11, 2024
@heifner heifner added the OCI Work exclusive to OCI team label Jun 11, 2024
@heifner heifner moved this from Todo to In Progress in Team Backlog Jun 11, 2024
heifner added a commit that referenced this issue Jun 11, 2024
Test: Remove production of unneeded blocks
heifner added a commit that referenced this issue Jun 12, 2024
heifner added a commit that referenced this issue Jun 12, 2024
heifner added a commit that referenced this issue Jun 12, 2024
heifner added a commit that referenced this issue Jun 13, 2024
heifner added a commit that referenced this issue Jun 13, 2024
Test: Optimize test by minimizing voting
@github-project-automation github-project-automation bot moved this from In Progress to Done in Team Backlog Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👍 lgtm OCI Work exclusive to OCI team
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants