informalsystems / cosmos.nix

A reproducible package set for Cosmos, IBC and CosmWasm
https://flakehub.com/flake/informalsystems/cosmos.nix
MIT License
57 stars 11 forks source link

feat: abstract modules for reuse #187

Closed dzmitry-lahoda closed 8 months ago

dzmitry-lahoda commented 11 months ago

currently chain modules are serviced only.

see how I changed hermes modules to be reusable not only in serviced.

so can make abstract module config per existing chain, and just reuse in serviced.

so can configure later shells/devnets/hermes/testnets/microvm/process-compose/dockers etc - whatever can be derived.

so request is to split chain modules in repo in 2 options parts, one is abstract for process/node, and other is wrapper for systemd.

so that can build modules on top - using lowest layer as basic config abstraction.

dzmitry-lahoda commented 8 months ago

I will close for now. We have example of hermes as module for serviced vs just to generate toml. if somebody will want to do chains - can do it. So I am using process-compose directly, so not up to that in nearest time. New task can be opened or this reopend.

May be with cosmosd-sdk 1.0 release when all is settled.

dzmitry-lahoda commented 8 months ago

could start making more sense if start sharing oci containers https://github.com/informalsystems/cosmos.nix/pull/231#issuecomment-2004615830