erigontech / erigon

Ethereum implementation on the efficiency frontier https://erigon.gitbook.io
GNU Lesser General Public License v3.0
3.15k stars 1.13k forks source link

Make erigon-lib an internal package #12873

Open antonis19 opened 11 hours ago

antonis19 commented 11 hours ago

Currently erigon-lib is built as a standalone module , and has its own go.mod. This setup is too prohibitive as it doesn't allow for the import of packages from the root erigon directory (e.g. core/state/types ) .

This PR addresses this problem by making erigon-lib a standard inner package of the main project.