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/state: unexport GetOrNewStateObject #28804

Merged
merged 2 commits into from
Jan 14, 2024

Conversation

darioush
Copy link
Contributor

@darioush darioush commented Jan 13, 2024

This PR slightly refactors the only external use of GetOrNewStateObject so it can be unexported.

  • core/vm/runtime/runtime.go

Since this method returns an unexported type (*stateObject), I think it is nicer for it to not be part of state.StateDB's exported interface.

@darioush darioush marked this pull request as ready for review January 13, 2024 18:31
@ghost

This comment was marked as spam.

@fjl fjl merged commit 29b7355 into ethereum:master Jan 14, 2024
1 of 2 checks passed
@fjl fjl added this to the 1.13.11 milestone Jan 14, 2024
Dergarcon pushed a commit to specialmechanisms/mev-geth-0x2mev that referenced this pull request Jan 31, 2024
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