Repository navigation
chore(backport): update unit tests after backport fo tendermint v0.35 - #245
Merged
Merged
Conversation
shotonoff
commented
Jan 20, 2022
| } | ||
|
|
||
| switch msg.Msg.(type) { | ||
| case *CommitMessage: |
Collaborator
Author
There was a problem hiding this comment.
this is a critical part of tenderdash https://github.com/dashevo/tenderdash/blob/v0.7-dev/consensus/reactor.go#L340
apparently, it was missed during backporting. tests will fail if this piece of code is missing
| mockNode.AssertExpectations(t) | ||
| } | ||
|
|
||
| func TestClientRemovesWitnessIfItSendsUsIncorrectHeader(t *testing.T) { |
Collaborator
Author
There was a problem hiding this comment.
@QuantumExplorer removed this test case during working on tenderdash
| // 96 for Block signature, 96 for State Signature | ||
| MaxCommitOverheadBytes int64 = 326 | ||
| // 96 for Block signature, 96 for State Signature and -> 3 bytes overhead | ||
| MaxCommitOverheadBytes int64 = 329 |
Collaborator
Author
There was a problem hiding this comment.
@QuantumExplorer please confirm that it is a correct value
lklimek
approved these changes
Jan 25, 2022
Collaborator
|
Squash-merge |
fix git workflow
* fix: remove bls-signatures from deps of build-linux task * fix: add "post setup go" task to replace installed go version in /bin directory
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Issue being fixed or feature implemented
After fixing compile errors, now the codebase is ready to fix the unit tests after backporting v0.35
What was done?
Fix unit tests for backport of v0.35
How Has This Been Tested?
Run unit tests
Breaking Changes
Checklist:
For repository code-owners and collaborators only