Closed rnbguy closed 1 year ago
When block time (timeout_commit in config.toml) is reduced, GRPC calls are failed. This is because, even though Tendermint has started to produce blocks, GRPC endpoints are not ready.
timeout_commit
config.toml
In the following code, .spinup() waits for RPC endpoints.
.spinup()
https://github.com/informalsystems/atomkraft/blob/f95e408eba8599471c7e23946b89f4971c8a6ee3/atomkraft/chain/testnet.py#L310-L330
But it should also wait for GRPC endpoints, probably for LCD/REST endpoints too.
When block time (
timeout_commit
inconfig.toml
) is reduced, GRPC calls are failed. This is because, even though Tendermint has started to produce blocks, GRPC endpoints are not ready.In the following code,
.spinup()
waits for RPC endpoints.https://github.com/informalsystems/atomkraft/blob/f95e408eba8599471c7e23946b89f4971c8a6ee3/atomkraft/chain/testnet.py#L310-L330
But it should also wait for GRPC endpoints, probably for LCD/REST endpoints too.