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

feat: generalize ehf activation #5824

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

panleone
Copy link

@panleone panleone commented Jan 14, 2024

Issue being fixed or feature implemented

Try to sign/mine any ehf deployment and not only mn_rr. As asked in the review this decouples (and improves) commit e24cb23 from PR #5799

What was done?

See commit description

How Has This Been Tested?

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation
  • I have assigned this pull request to a milestone

src/llmq/ehf_signals.cpp Show resolved Hide resolved
src/llmq/ehf_signals.cpp Outdated Show resolved Hide resolved
@knst knst added this to the 20.1 milestone Jan 14, 2024
@knst
Copy link
Collaborator

knst commented Jan 14, 2024

you can add also changes from test/functional/test_framework/test_framework.py related to s/activate_mn_rr/activate_ehf/ to this PR

knst
knst previously approved these changes Jan 14, 2024
Copy link
Collaborator

@knst knst left a comment

Choose a reason for hiding this comment

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

utACK

Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

LGTM in general 👍 however I'd like to squash few lines to make no-whitespaces diff look a bit more compact

src/llmq/ehf_signals.cpp Outdated Show resolved Hide resolved
src/llmq/ehf_signals.cpp Outdated Show resolved Hide resolved
src/llmq/ehf_signals.cpp Outdated Show resolved Hide resolved
UdjinM6
UdjinM6 previously approved these changes Jan 15, 2024
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

👍

utACK

knst
knst previously approved these changes Jan 15, 2024
Copy link
Collaborator

@knst knst left a comment

Choose a reason for hiding this comment

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

re-utACK

src/llmq/ehf_signals.cpp Outdated Show resolved Hide resolved
src/llmq/ehf_signals.cpp Outdated Show resolved Hide resolved
UdjinM6
UdjinM6 previously approved these changes Jan 30, 2024
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

re-utACK

@PastaPastaPasta
Copy link
Member

@knst Can you please help to coordinate a devnet test with this build and 20.0.4 ensuring that both activate EHF as expected and no issues are detected?

@DashCoreAutoGuix
Copy link

Guix Automation has failed due to the HEAD commit not being signed by an authorized core-team member. Please rebase and sign or push a new empty signed commit to allow Guix build to happen.

@PastaPastaPasta
Copy link
Member

Can't push a commit here due to lack of permission issues @panleone; please check this box; or I'd have to create a new PR in order to get a build here
image

@panleone
Copy link
Author

Can't push a commit here due to lack of permission issues @panleone; please check this box; or I'd have to create a new PR in order to get a build here image

hmm looks this option is not available since I forked dash from an organisation (https://stackoverflow.com/questions/75596018/allow-edits-from-maintainers-does-not-work-when-the-pr-is-created-by-a-group)

Copy link

github-actions bot commented Feb 3, 2024

This pull request has conflicts, please rebase.

Try to sign any ehf deployment that can be activated and that hasn't been mined on chain yet.
Also when receiving a new recovered signature try to match it with any ehf deployment which hasn't been mined on chain yet
To avoid copy and pasting future ehf deployments activation functions
@DashCoreAutoGuix
Copy link

Guix Automation has failed due to the HEAD commit not being signed by an authorized core-team member. Please rebase and sign or push a new empty signed commit to allow Guix build to happen.

@panleone
Copy link
Author

panleone commented Feb 8, 2024

had to rebase since there was a conflict
relevant diff is here
https://github.com/dashpay/dash/compare/0fc3599cf65ef3fc6c191e6345604d13de34354b..1821d92b66ad570508b9c4318283fba7e21ecfc7
(in the file ehf_signals.cpp )

Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

rebase looks clean, re-utACK

Copy link
Collaborator

@knst knst left a comment

Choose a reason for hiding this comment

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

tACK

Details here: #5857

@knst knst mentioned this pull request Feb 16, 2024
5 tasks
Copy link
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

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

utACK for merge via merge commit

@PastaPastaPasta PastaPastaPasta merged commit 7701948 into dashpay:develop Feb 29, 2024
8 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants