Skip to content

Conversation

@qdm12
Copy link
Contributor

@qdm12 qdm12 commented Mar 2, 2025

Why this should be merged

Suggested by @darioush to clean up rawdb a bit further. This is non blocking for the libevm branch to be merged into master.

How this works

  • Move our custom code from core/rawdb to plugin/evm/rawdb
  • Remove rawdb/imports.go and import from libevm directly in other files

How this was tested

CI passing

Need to be documented?

No

Need to update RELEASES.md?

No

@qdm12 qdm12 force-pushed the qdm12/plugin/evm/rawdb branch from 737f723 to 1b96bd2 Compare March 2, 2025 20:52
Base automatically changed from qdm12/core/rawdb-geth-closer to libevm March 5, 2025 16:37
@qdm12 qdm12 force-pushed the qdm12/plugin/evm/rawdb branch from 1b96bd2 to 432dfae Compare March 6, 2025 07:05
@qdm12 qdm12 marked this pull request as ready for review March 6, 2025 08:00
@qdm12 qdm12 requested review from a team and ceyonur as code owners March 6, 2025 08:00
Copy link

@darioush darioush left a comment

Choose a reason for hiding this comment

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

If anyone has a better name than customrawdb that would be nice but I can't think of anything better right now

Copy link
Collaborator

@ARR4N ARR4N left a comment

Choose a reason for hiding this comment

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

Minor comments re consistency, otherwise LGTM

@qdm12 qdm12 force-pushed the qdm12/plugin/evm/rawdb branch from 2d7b55b to ba76d51 Compare March 10, 2025 17:22
qdm12 added 4 commits March 11, 2025 09:13
- Move our custom code from core/rawdb to plugin/evm/rawdb
- Remove rawdb/imports.go and import from libevm directly in other files
- Use hyperlink config in comment
- Use constants when possible instead of variables
- Use `require` to shorten test
- Check errors returned
- Use t.Cleanup instead of defer
- Use `any` instead of `interface{}` like we're in Go 1.17 days!
@qdm12 qdm12 force-pushed the qdm12/plugin/evm/rawdb branch from 69e165e to 2773bbb Compare March 11, 2025 08:13
@qdm12
Copy link
Contributor Author

qdm12 commented Mar 11, 2025

ℹ️ last force push is just to add missing gpg signatures (no diff)

@qdm12 qdm12 merged commit 79c693f into libevm Mar 11, 2025
6 checks passed
@qdm12 qdm12 deleted the qdm12/plugin/evm/rawdb branch March 11, 2025 08:34
@qdm12
Copy link
Contributor Author

qdm12 commented Mar 11, 2025

Commit 2773bbb added my mistake to this branch before merging, see #866 for reverting this

qdm12 added a commit to ava-labs/subnet-evm that referenced this pull request Mar 19, 2025
qdm12 added a commit to ava-labs/subnet-evm that referenced this pull request Mar 21, 2025
qdm12 added a commit to ava-labs/subnet-evm that referenced this pull request Mar 21, 2025
qdm12 added a commit to ava-labs/subnet-evm that referenced this pull request Mar 24, 2025
qdm12 added a commit to ava-labs/subnet-evm that referenced this pull request Mar 24, 2025
qdm12 added a commit to ava-labs/subnet-evm that referenced this pull request Mar 24, 2025
qdm12 added a commit to ava-labs/subnet-evm that referenced this pull request Mar 28, 2025
qdm12 added a commit to ava-labs/subnet-evm that referenced this pull request Apr 1, 2025
node-druidx56y added a commit to node-druidx56y/subnet-evm that referenced this pull request Sep 28, 2025
kevpaq-520 added a commit to kevpaq-520/subnet2 that referenced this pull request Oct 27, 2025
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