CodeChain-io / CodeChain-io/foundry

Tendermint consensus does not generate blocks if the network is disabled

Open
#227 0 comments 0 reactions 0 assignees View on GitHub
bug consensus
Dominant language
Rust
Stars
36
Forks
11
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.