-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
chore: versa db test #2667
Open
joeylichang
wants to merge
23
commits into
versa_base
Choose a base branch
from
versa_perf
base: versa_base
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
chore: versa db test #2667
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
feat: add version commit chore: forbid versiondb rewind feat: add mode for new caching db feat: add version scheme for startup feat: init genesis for versa db feat: add caching db and trie copy feat: support HasState on versa db and must fullsync under versa db fix: append open strorage trie error to statedb fix: storage tree value encode fix: add state object trie expire interface fix: blockchain stateat use rw state chore: forbid prefetcher chore: delete storage pool feat: hold version in state objet for repeat search account tree fix: version mismatch that add contract balance without update storage tree fix: 373559 blocks issue add breakpoint feat: add version state debug system feat: add hash state db debug system feat: add version and hash state diff system fix: the timing release debug state instance
joeylichang
changed the title
[WIP]feat: integrate versa db
【WIP】 feat: integrate versa db
Aug 27, 2024
joeylichang
force-pushed
the
versa_perf
branch
4 times, most recently
from
August 28, 2024 00:51
b75e552
to
3e8e74d
Compare
joeylichang
force-pushed
the
versa_perf
branch
from
August 29, 2024 04:16
9a8c7d0
to
06366d7
Compare
joeylichang
force-pushed
the
versa_perf
branch
3 times, most recently
from
September 4, 2024 04:43
6135d38
to
2c59e15
Compare
fix: rewind for genesis
joeylichang
force-pushed
the
versa_perf
branch
6 times, most recently
from
September 5, 2024 04:05
7fe2f45
to
ec1d0a4
Compare
fix: genesis version to -1 fix: copy with version fix: change version type from uint64 to int64 fix: set genesis for rewind
joeylichang
force-pushed
the
versa_perf
branch
from
September 5, 2024 06:56
b2af639
to
f646d4f
Compare
chore: update versadb default config
chore: update trivals
joeylichang
force-pushed
the
versa_perf
branch
from
September 18, 2024 06:17
cad1e3e
to
b8f5b6a
Compare
will-2012
reviewed
Sep 26, 2024
@@ -515,6 +519,11 @@ func (s *stateObject) updateRoot() { | |||
// The returned set can be nil if nothing to commit. This function assumes all | |||
// storage mutations have already been flushed into trie by updateRoot. | |||
func (s *stateObject) commit() (*trienode.NodeSet, error) { | |||
if s.IsContractAccount() && s.trie == nil { | |||
panic(fmt.Sprintf("not open contract account, owner: %s, r_version: %d, c_version: %d, root: %s", |
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.
mark.
joeylichang
force-pushed
the
versa_perf
branch
from
September 30, 2024 08:49
ffa6c04
to
6d41ff8
Compare
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.
Description
add a description of your changes here...
Rationale
tell us why we need these changes...
Example
add an example CLI or API response...
Changes
Notable changes: