berachain / beacon-kit

A modular framework for building EVM consensus clients ⛵️✨
https://berachain.com
Other
178 stars 140 forks source link

Use single go.mod for beacon-kit #2198

Closed fridrik01 closed 1 week ago

fridrik01 commented 1 week ago

Currently we split beacon-kit into multiple modules, each with their own go.mod and go.sum files. This makes upgrading dependencies a headache and error prone without much needed benefits.

We should move everything into one module which lives in the project root directory. This will simplify dependency management immensely and improve dev productivity while we are still making bigger code changes/refactorings (such as upgrading cosmossdk).

fridrik01 commented 1 week ago

@berachain/core thoughts on why we should not do this?

The main downside is that we can't independently version different modules, but other than that I don't see a big downside atm.