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!: add validator mmr size #5873

Merged

Conversation

SWvheerden
Copy link
Collaborator

Description

Adds in the size of the validator balance tree to the header.

Motivation and Context

The validator size needs to be committed too like the other Merkle roots as well. A peer syncing will have no way of verifying the validator merkle root is it does not know the size.

How Has This Been Tested?

Unit tests

What process can a PR reviewer use to test or verify this change?

ensure its committed to and not malleable.

@github-actions
Copy link

github-actions bot commented Oct 25, 2023

Test Results (CI)

1 243 tests   1 243 ✔️  11m 36s ⏱️
     39 suites         0 💤
       1 files           0

Results for commit c59d54b.

♻️ This comment has been updated with latest results.

@ghpbot-tari-project ghpbot-tari-project added P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged labels Oct 25, 2023
@github-actions
Copy link

github-actions bot commented Oct 25, 2023

Test Results (Integration tests)

31 tests   31 ✔️  15m 9s ⏱️
11 suites    0 💤
  2 files      0

Results for commit c59d54b.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@hansieodendaal hansieodendaal left a comment

Choose a reason for hiding this comment

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

utACK

@ghpbot-tari-project ghpbot-tari-project removed the P-reviews_required Process - Requires a review from a lead maintainer to be merged label Nov 1, 2023
stringhandler
stringhandler previously approved these changes Nov 6, 2023
Copy link
Collaborator

@stringhandler stringhandler left a comment

Choose a reason for hiding this comment

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

Not sure if it's necessary, but rather be safe than sorry

@SWvheerden SWvheerden force-pushed the sw_add_validator_mmr_size branch from 1736cc7 to c59d54b Compare November 6, 2023 12:20
@SWvheerden SWvheerden merged commit fd51045 into tari-project:development Nov 6, 2023
13 checks passed
@SWvheerden SWvheerden deleted the sw_add_validator_mmr_size branch November 7, 2023 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-acks_required Process - Requires more ACKs or utACKs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants