Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

cmd/geth: remove DAO fork test #27161

Merged
merged 2 commits into from
Apr 25, 2023
Merged

cmd/geth: remove DAO fork test #27161

merged 2 commits into from
Apr 25, 2023

Conversation

holiman
Copy link
Contributor

@holiman holiman commented Apr 25, 2023

This PR fixes a test which fails on 32-bit platforms, since #27136 made it "blindly" use pebble.
The fix in this PR uses the geth db get functionality to retrieve data from the db, which leaves it up to the geth internals to figure out what db to use.

An alternative to this fix would be to simply nuke the dao-test from the repo.

@fjl
Copy link
Contributor

fjl commented Apr 25, 2023

We should honestly just delete this test instead of fixing it like that.

@holiman
Copy link
Contributor Author

holiman commented Apr 25, 2023

Fair enough. I'll do that then 😢

@fjl fjl changed the title cmd/geth: fix test to not use explicit db cmd/geth: remove DAO fork test Apr 25, 2023
@fjl fjl added this to the 1.11.7 milestone Apr 25, 2023
Copy link
Contributor

@s1na s1na left a comment

Choose a reason for hiding this comment

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

Looks good to me

@holiman holiman merged commit 9a12cc9 into ethereum:master Apr 25, 2023
shekhirin pushed a commit to shekhirin/go-ethereum that referenced this pull request Jun 6, 2023
* cmd/geth: fix test to not use explicit db

* cmd/geth: remove dao-test
@holiman holiman deleted the dao_fix branch October 11, 2023 07:28
devopsbo3 pushed a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
* cmd/geth: fix test to not use explicit db

* cmd/geth: remove dao-test
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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants