CometMock
CometMock copied to clipboard
Drop-in replacement for CometBFT in end-to-end tests
**Is your feature request related to a problem? Please describe.** When running a test, it might be that for certain parts you want automatic block production and don't so much...
CometMock should provide a way to connect to new apps during runtime, e.g. to add validators. #### Proposed Solution We add a new CometMock-specific RPC endpoint in https://github.com/informalsystems/CometMock/blob/ph/v0.38.x-upgrade/cometmock/rpc_server/routes.go#L56: `register-node(address, node_home)`...
**Is your feature request related to a problem? Please describe.** To interact with CometMock, we call its RPC endpoints. From the command line, this can be done e.g. via curl...
**Is your feature request related to a problem? Please describe.** When an application crashes or is disconnected, CometMock should not crash. It should also allow disconnected apps to reconnect, and...
There should be documentation for the deficiencies where CometMock does not replicate the behaviour of CometBFT (yet). For example, a folder with Markdown documentation.
**Is your feature request related to a problem? Please describe.** When e.g. calling the status endpoint https://docs.cometbft.com/v0.34/rpc/#/Info/status, currently CometMock just uses the first validator and prints information for it. This...
The automated tests for v0.34 are currently not running, because we are missing a Docker image for a simapp compatible with v0.34.x Comet. The problem appears to be that the...