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

A0-4006: Check initial unit control hashes early #417

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

timorleph
Copy link
Contributor

Control hashes of initial units have to refer to the empty parent set, so their combined hash is actually known a priori and can be checked early. This also changes one test that used to assume a initial unit with a broken hash can be passed into consensus.

The only connection to A0-4006 is that the test in question failed after the refactor, since I didn't want to react to this incongruous situation internally.

Copy link

Please make sure the following happened

  • Appropriate tests created
  • Infrastructure updated accordingly
  • Updated existing documentation
  • New documentation created
  • Version bumped if breaking changes

@timorleph timorleph merged commit 2cec6cd into Cardinal-Cryptography:main Feb 28, 2024
7 checks passed
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.

3 participants