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

core, trie: Expose block number to statedb #593

Conversation

Francesco4203
Copy link
Contributor

@Francesco4203 Francesco4203 commented Oct 4, 2024

References: ethereum/go-ethereum#27753

Changes:

  • clean up: stateObject already contains the db, so there is no need to pass the db in its methods
  • statedb.Commit() now also pass the block number, which will be later used for PBSS to build history data

@huyngopt1994
Copy link
Collaborator

LGTM

@huyngopt1994 huyngopt1994 merged commit e8b6079 into axieinfinity:path-base-implementing Oct 4, 2024
1 check passed
Francesco4203 added a commit that referenced this pull request Oct 17, 2024
* core/state: clean up: db already exist in stateObject

* core, trie: statedb also commit the block number
huyngopt1994 pushed a commit that referenced this pull request Oct 25, 2024
* core/state: clean up: db already exist in stateObject

* core, trie: statedb also commit the block number
huyngopt1994 pushed a commit that referenced this pull request Nov 21, 2024
* core/state: clean up: db already exist in stateObject

* core, trie: statedb also commit the block number
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.

2 participants