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: update FMD parameters when needed in compact block #4715

Closed
wants to merge 3 commits into from

Conversation

redshiftzero
Copy link
Member

Describe your changes

This fixes the compact block generation such that updated FMD parameters are provided. This is required to use an algorithm in the future that dynamically updates the FMD parameters (see #1087)

Issue ticket number and link

Closes #4714

Checklist before requesting a review

  • If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

    REPLACE THIS TEXT WITH RATIONALE (CAN BE BRIEF)

@redshiftzero redshiftzero changed the title wip: update FMD parameters when needed in compact block fix: update FMD parameters when needed in compact block Jul 17, 2024
@redshiftzero redshiftzero marked this pull request as ready for review July 17, 2024 15:07
@conorsch
Copy link
Contributor

This fixes the compact block generation

which means this is a consensus-breaking change, no? There's no rationale in the PR text explaining why it isn't a consensus-breaking change, so I'm adding the tag. Please remove if I've misunderstood.

@conorsch conorsch added the consensus-breaking breaking change to execution of on-chain data label Jul 17, 2024
@cronokirby
Copy link
Contributor

It breaks consensus only for a dynamic FMD algorithm

@hdevalence
Copy link
Member

This would need to be added in a chain upgrade, then, and there are currently no plans for chain upgrades, pending emergence of a community-driven upgrade process. So we'd need to icebox it for now.

@conorsch conorsch self-requested a review July 24, 2024 18:59
Copy link
Contributor

@conorsch conorsch left a comment

Choose a reason for hiding this comment

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

Requesting changes to block merge, pending chain-upgrade plans.

@cronokirby cronokirby closed this Aug 5, 2024
@cronokirby
Copy link
Contributor

Closing for now, we can reopen once there's some community noise about preparing an upgrade that would include this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consensus-breaking breaking change to execution of on-chain data
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Updated FMD parameters not provided in compact block
4 participants