-
Notifications
You must be signed in to change notification settings - Fork 302
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
tests(app): 🧪 test that uptime tracks signed blocks #4070
Merged
cratelyn
merged 5 commits into
main
from
kate/mock-consensus-validator-uptime-signatures
Mar 26, 2024
Merged
tests(app): 🧪 test that uptime tracks signed blocks #4070
cratelyn
merged 5 commits into
main
from
kate/mock-consensus-validator-uptime-signatures
Mar 26, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cratelyn
added
A-testing
Area: Relates to testing of Penumbra
A-mock-consensus
Area: Relates to the mock consensus engine
labels
Mar 21, 2024
This was referenced Mar 21, 2024
cratelyn
force-pushed
the
kate/mock-consensus-validator-uptime-signatures
branch
from
March 21, 2024 22:25
747043b
to
97b8ace
Compare
cratelyn
force-pushed
the
kate/mock-consensus-validator-uptime-signatures
branch
from
March 22, 2024 14:04
9c675f9
to
2efe2de
Compare
cratelyn
force-pushed
the
kate/mock-consensus-validator-uptime-signatures
branch
from
March 22, 2024 15:57
2efe2de
to
bcdf647
Compare
cratelyn
force-pushed
the
kate/mock-consensus-validator-uptime-signatures
branch
from
March 22, 2024 21:12
bcdf647
to
19e01d1
Compare
cratelyn
force-pushed
the
kate/mock-consensus-validator-uptime-signatures
branch
from
March 25, 2024 21:01
19e01d1
to
49660e2
Compare
This was referenced Mar 25, 2024
this changes the mock consensus test node s.t. it includes commit signatures from all validators in the keyring. the app does not validate that signatures are well formed, so empty vote information is provided for now. --- * this adds a signatures field to the block `Builder` so that we can manipulate the list of validator signatures in a block to be built by the mock consensus engine. * a `with_signatures` block builder method is added to manipulate that field. * `LastCommitInfo` is now constructed from the list of signatures. --- some todo's about potential upstream patches are left where applicable.
now that we sign blocks by default, this should be a 0. the validator hasn't missed any blocks.
cratelyn
force-pushed
the
kate/mock-consensus-validator-uptime-signatures
branch
from
March 25, 2024 21:49
49660e2
to
00e23f5
Compare
rebased now that #4099 has landed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-mock-consensus
Area: Relates to the mock consensus engine
A-testing
Area: Relates to testing of Penumbra
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
NB: this is based on #4099.
this adds test coverage, complementary to the work in #4061, which asserts that we properly track the affirmative case of validators signing blocks.
fixes #4040. see #3995.