chore: rename Go module as github.com/ava-labs/libevm
#60
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why this should be merged
Completes renaming of the Go module to
github.com/ava-labs/libevm
to no longer clash with the truegithub.com/ethereum/go-ethereum
and require areplace
directive.How this works
The merge commit
d6d53f9
merges therenamed-go-module
branch, resolves conflicts (imports only) and also renames all other imports using the samesed
regex/replace as the auto-renaming workflow. Completing the import renaming in a single commit made it self-contained and able to build and pass all tests.The other commit makes all necessary CI changes to accomodate for the renaming. Of note, it removes use of the
libevm-base
tag and instead includes the commit hash in the relevant workflow; this allows for an atomic change of base commit at time of merging.How this was tested
Renaming of the module is confirmed by inspection of
go.mod
. Updating all internal import paths is confirmed by an updated linter that blocks modules, guaranteeing that theethereum/go-ethereum
module isn't imported.The
libevm delta
workflow can also be inspected to see that the current diff doesn't show any module-name differences, while the diff againstmain
does.All regular CI (Go build + test) passes as expected.
Merge checklist
a7f08d0
with a signed equivalent from feat: signed commit when renaming upstream module #61