celestiaorg/ethermint

Try using Go Workspaces to build Evmos images

jbowen93 opened this issue · 1 comments

We should attempt to use Go Mod Workspaces for building the evmos images instead of hacking together stuff with go mod edit --replace.

This should work

mkdir whatever && cd whatever
git clone https://github.com/celestiaorg/optimint.git
git clone https://github.com/celestiaorg/evmos.git
git clone https://github.com/celestiaorg/ethermint.git
# you can check out any version, or tag, or hash, or manually edit those repos
go work init
go work use ./optimint
go work use ./ethermint
go work use ./evmos
# again you can do whatever you want with those repos, and everything should be in sync
# when you build your code, everything will just be used from local dirs

Why was this closed?