Skip to content
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

feat: Hybrid StateDB for precompile support #47

Closed
wants to merge 100 commits into from
Closed

Conversation

drklee3
Copy link
Member

@drklee3 drklee3 commented Apr 15, 2024

@drklee3 drklee3 force-pushed the dl-hybrid-statedb branch 2 times, most recently from 745372a to e94221d Compare April 15, 2024 19:39
@drklee3 drklee3 marked this pull request as ready for review April 17, 2024 16:45
drklee3 added 17 commits April 29, 2024 14:50
without the goal of state compatibility, removes extra complexity and unneeded logic
Previous to this change, keeper SetState() only deletes when the
len(value) == 0. However, since value in the StateDB is a common.Hash{},
this will always be the HashLength. Deleting the value when the empty
hash is set will also ensure specific no-op changes will not be committed,
e.g. Creating a state, then deleting it in the same tx will result in
no state added.
@drklee3 drklee3 force-pushed the dl-hybrid-statedb branch from 24e4968 to 5030d2e Compare April 29, 2024 22:02
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days-before-close if no further activity occurs.

Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days-before-close if no further activity occurs.

Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days-before-close if no further activity occurs.

Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days-before-close if no further activity occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants