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

Fix change_signers_info benchmark #1035

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

HCastano
Copy link
Collaborator

In #978 a couple of extra checks were added to
ensure that parameters related to signing could only change so quickly. This ended up breaking one
of the benchmarks since the benchmark setup used a difference that was larger than the allowed
amount.

I've fixed that by reading the current values from storage (set at Genesis) and updating those by
the allowed amount.

Maybe worth revisiting #916...

In #978 a couple of extra checks were added to
ensure that parameters related to signing could only change so quickly. This ended up breaking one
of the benchmarks since the benchmark setup used a difference that was larger than the allowed
amount.

I've fixed that by reading the current values from storage (set at Genesis) and updating those by
the allowed amount.
Copy link
Contributor

@ameba23 ameba23 left a comment

Choose a reason for hiding this comment

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

Great

@HCastano HCastano merged commit 624b37d into master Aug 30, 2024
8 checks passed
@HCastano HCastano deleted the hc/fix-change-signers-info-benchmark branch August 30, 2024 15:10
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.

2 participants