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 poa-block-txs-selection-max-time option that was inadvertently reset to its default after being configured #6444

Merged
merged 3 commits into from
Jan 25, 2024

Conversation

fab-10
Copy link
Contributor

@fab-10 fab-10 commented Jan 22, 2024

PR description

Fix poa-block-txs-selection-max-time option that was inadvertently reset to its default after being configured.
Mining options needs the value of the block period from the genesis file, so the way to pass it to the class has been improved to avoid using the mining options if that value was not set, in order to be less error prone.

Fixed Issue(s)

Copy link

github-actions bot commented Jan 22, 2024

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.
  • I thought about the changelog and included a changelog update if required.
  • If my PR includes database changes (e.g. KeyValueSegmentIdentifier) I have thought about compatibility and performed forwards and backwards compatibility tests

@fab-10 fab-10 force-pushed the fix-poa-block-txs-selection-max-time branch 6 times, most recently from de8b0bb to 8aab6e7 Compare January 23, 2024 09:43
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
@fab-10 fab-10 force-pushed the fix-poa-block-txs-selection-max-time branch from 8aab6e7 to fef14d5 Compare January 23, 2024 09:48
Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
@fab-10 fab-10 changed the title Better way to pass genesis block period seconds to mining options Fix poa-block-txs-selection-max-time option that was inadvertently reset to its default after being configured Jan 23, 2024
@fab-10 fab-10 marked this pull request as ready for review January 23, 2024 09:55
@fab-10 fab-10 enabled auto-merge (squash) January 25, 2024 09:00
@fab-10 fab-10 merged commit 16016ec into hyperledger:main Jan 25, 2024
18 checks passed
@fab-10 fab-10 deleted the fix-poa-block-txs-selection-max-time branch January 25, 2024 09:39
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