Network high-level specs:
-
We should allow to use a builder pattern to construct the network and the build method should create all the needed configuration to spawn the network.
-
spawn method should check that all the needed artifacts are ready, and if not we should build internally.
-
info method should return all the running config info (endpoints/chain-spec paths/ log paths/etc)
-
destroy method should tear-down all the network and clean-up all the resources. (we want to allow to save the logs/database for a later analysis)
-
rebuild should allow to rebuild the network instance from the same json we get from info.
Networkhigh-level specs:We should allow to use a builder pattern to construct the network and the
buildmethod should create all the needed configuration to spawn the network.spawnmethod should check that all the needed artifacts are ready, and if not we shouldbuildinternally.infomethod should return all the running config info (endpoints/chain-spec paths/ log paths/etc)destroymethod should tear-down all the network and clean-up all the resources. (we want to allow to save the logs/database for a later analysis)rebuildshould allow to rebuild thenetworkinstance from the same json we get frominfo.