Skip to content

Conversation

@joey0612
Copy link
Contributor

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:

  • add each change in a bullet point here
  • ...

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
@joey0612 joey0612 added the wip work in process label Aug 27, 2024
@joey0612 joey0612 changed the title feat: integrate versa db [WIP]feat: integrate versa db Aug 27, 2024
@joey0612 joey0612 changed the title [WIP]feat: integrate versa db 【WIP】 feat: integrate versa db Aug 27, 2024
@joey0612 joey0612 changed the title 【WIP】 feat: integrate versa db feat: integrate versa db Aug 27, 2024
@joey0612 joey0612 changed the title feat: integrate versa db chore: versa db test Aug 27, 2024
@joey0612 joey0612 force-pushed the versa_perf branch 4 times, most recently from b75e552 to 3e8e74d Compare August 28, 2024 00:51
@joey0612 joey0612 force-pushed the versa_perf branch 3 times, most recently from 6135d38 to 2c59e15 Compare September 4, 2024 04:43
@joey0612 joey0612 force-pushed the versa_perf branch 6 times, most recently from 7fe2f45 to ec1d0a4 Compare September 5, 2024 04:05
fix: genesis version to -1

fix: copy with version

fix: change version type from uint64 to int64

fix: set genesis for rewind
// 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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mark.

@buddh0 buddh0 marked this pull request as draft November 28, 2025 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wip work in process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants