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

all: expose block number information to statedb #27753

Merged
merged 3 commits into from
Jul 24, 2023

Conversation

rjl493456442
Copy link
Member

@rjl493456442 rjl493456442 commented Jul 21, 2023

This PR exposes the associated block number of state transition to statedb,
and be stored in state history (in following PR). It's more like a prerequisite
step for path-based storage PR.

@rjl493456442 rjl493456442 marked this pull request as ready for review July 24, 2023 06:17
core/state/statedb.go Outdated Show resolved Hide resolved
trie/database.go Outdated Show resolved Hide resolved
@rjl493456442
Copy link
Member Author

Updated, please take another look.

Copy link
Member

@MariusVanDerWijden MariusVanDerWijden left a comment

Choose a reason for hiding this comment

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

LGTM

@karalabe karalabe added this to the 1.12.1 milestone Jul 24, 2023
@karalabe karalabe merged commit 88f3d61 into ethereum:master Jul 24, 2023
1 check passed
devopsbo3 pushed a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
* core/state: clean up

* all: add block number infomration to statedb

* core, trie: rename blockNumber to block
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants