Skip to content
This repository was archived by the owner on Jun 5, 2026. It is now read-only.

[Fix] Wrong order when checking the privacy block in the genesis file against stored config - #1138

Closed
ricardolyn wants to merge 1 commit into
Consensys-Incorporated:masterfrom
ricardolyn:fix/genesis-privacy-check
Closed

[Fix] Wrong order when checking the privacy block in the genesis file against stored config#1138
ricardolyn wants to merge 1 commit into
Consensys-Incorporated:masterfrom
ricardolyn:fix/genesis-privacy-check

Conversation

@ricardolyn

@ricardolyn ricardolyn commented Feb 17, 2021

Copy link
Copy Markdown
Contributor

Summary

There was an issue with the order when calling checkAndPrintPrivacyEnhancementsWarning inside the SetupGenesisBlock.

This created an issue in the AT Partial Network upgrade from an old version (q2.5.0/t0.10.5) to privacy enhancements enabled version of geth and tessera as the test was expecting that message to come before the fatal error.

Introduced by #1130.

Changes

  • Change order of checkAndPrintPrivacyEnhancementsWarning check

@ricardolyn
ricardolyn marked this pull request as ready for review February 17, 2021 19:08
@ricardolyn
ricardolyn requested a review from nmvalera February 17, 2021 19:08

@achraf17 achraf17 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

looks good to go

@ricardolyn

Copy link
Copy Markdown
Contributor Author

Merge Consensys-Incorporated/quorum-acceptance-tests#78 after this PR is merged to improve the test stability.

@ricardolyn ricardolyn added the bug label Feb 18, 2021
@ricardolyn

Copy link
Copy Markdown
Contributor Author

Not the right logic after discussion with @nicolae-leonte-go . closing

@ricardolyn ricardolyn closed this Feb 18, 2021
@ricardolyn
ricardolyn deleted the fix/genesis-privacy-check branch February 18, 2021 15:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants