trie: fix range prover#22210
Merged
holiman merged 2 commits intoethereum:masterfrom Jan 22, 2021
Merged
Conversation
holiman
approved these changes
Jan 22, 2021
Member
|
Erm, doesn't this PR always return |
Member
|
Oh, there was a true, just in a new return line so it didn't get extra-highlighted. Sry for the noise. |
Member
Author
|
@karalabe You can run this test and it will return true https://github.com/ethereum/go-ethereum/pull/22210/files#diff-37d2520502076e40fa878b9a2cf4606e782daefe7c56acbd4eb0b84b0d39c74fR389 |
bulgakovk
pushed a commit
to bulgakovk/go-ethereum
that referenced
this pull request
Jan 26, 2021
Fixes a special case when the trie only has a single trie node and the range proof only contains a single element.
9 tasks
9 tasks
This was referenced Sep 23, 2022
19 tasks
gzliudan
pushed a commit
to gzliudan/XDPoSChain
that referenced
this pull request
Jun 9, 2025
Fixes a special case when the trie only has a single trie node and the range proof only contains a single element.
gzliudan
pushed a commit
to gzliudan/XDPoSChain
that referenced
this pull request
Jun 25, 2025
Fixes a special case when the trie only has a single trie node and the range proof only contains a single element.
gzliudan
added a commit
to XinFinOrg/XDPoSChain
that referenced
this pull request
Jul 11, 2025
Fixes a special case when the trie only has a single trie node and the range proof only contains a single element. Co-authored-by: gary rong <garyrong0905@gmail.com>
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.
Fixes the issue described #22179 (comment)
It's a special case that the trie only has a single trie node and the range proof only contains a single element.