inps/go-secp256k1 dep causing duplicate link
issues with go-ethereum in the same go module as lotus
#9811
Open
7 of 18 tasks
Labels
Checklist
Latest release
, or the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.Lotus component
Lotus Version
Describe the Bug
Thanks @Stebalien for the help on articulating this issue:
ipsn/go-secp256k1
is a fork ofgo-ethereum/crypto
, which is used infilecoin-project/go-crypto
(filecoin-project/go-crypto go.mod)Because
ipsn/go-secp256k1
is a fork ofgo-ethereum/crypto
, it reuses the same C libraries, with the same symbols.The result is that importing both
go-ethereum/ethereum
andfilecoin-project/lotus
in the same go module causes build errors when running clang. I expect relying on these two modules will be a not-so-uncommon use case among early FEVM builders, since there's helpful APIs in both.Steb had two ideas:
Logging Information
The text was updated successfully, but these errors were encountered: