CodeChain-io / CodeChain-io/foundry
Tendermint consensus does not generate blocks if the network is disabled
- Lenguaje dominante
- Rust
- Estrellas
- 36
- Forks
- 11
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
If we use the solo consensus engine, it can generate blocks even though the network is disabled. The Tendermint consensus engine, however, does not generate blocks if the network is disabled.
Actually, since a normal network will be able to enable the network, this is not an important issue. If a user wants to run a network with only one Tendermint node to test some feature, this can matter.
What I mean by disabling/enabling the network is changing the "disable" value in the config file: https://github.com/CodeChain-io/foundry/blob/bb58de0b9beb652714a48fb102e52036ebebc08b/foundry/config/presets/config.dev.toml#L19
Guía de contribución
Línea de trabajo
Comienza con la configuración de config.dev.toml en la línea enlazada y reproduce una red de Tendermint de un solo nodo con la red deshabilitada. Compara su comportamiento de generación de bloques con el solo consensus engine; se considera terminado cuando se haya establecido el comportamiento esperado de generación de bloques para el caso de red deshabilitada.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- rust
- Área
- blockchain, distributed-systems
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100