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.
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
[1.0.1] Add missing data to block_header_state and change verify_qc_claim to use block_header_state data rather than only looking up a block_state in the fork database #719
[1.0.1] Add missing data to block_header_state and change verify_qc_claim to use block_header_state data rather than only looking up a block_state in the fork database #719
Changes from all commits
e8b2aa2
2ec1e10
c582674
d72477b
926f805
3177015
1f6447e
ac6552a
af6aced
dc4e11e
0d1c2a4
27725de
8b6a095
1cf1c56
2419d7d
3349fd6
dfff2bf
f3d2a71
33c011f
e6fc1f5
549dd7f
dafa750
a1979b5
33cd6ab
fd087fe
6dad5bb
c1a760b
98ff3a5
ef67a54
5a08f6e
1127abf
0f4f6fb
98677ef
50fbcb7
43e7ab5
6b89dc1
c3c6729
e6c7331
008e1e5
8dfe282
e3cdb7c
1068e0f
fa686db
43622f2
4164a34
0dd7a36
ced3e55
edf294d
1bdd276
d272c25
5e591b1
5426c85
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since EOS_ASSERT on line 164 is always on, is this small assert redundant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I have both on purpose.
The
assert
to clearly state this property always hold. And the fact that this smallassert
is there indicates that the property holds in all our tests.The
EOS_ASSERT
in case I am wrong and that is not true. Which is why I added the comment// just in case
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this small assert redundant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I have both on purpose.
The assert to clearly state this property always hold. And the fact that this small
assert
is there indicates that the property holds in all our tests.The EOS_ASSERT in case I am wrong and that is not true. Which is why I added the comment // just in case.