CodeChain-io / CodeChain-io/foundry
Make UpdateConsensus to choose the proposer
Open
- Dominant language
- Rust
- Stars
- 36
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
Foundry host eventually has to use the 0th validator given by `UpdateConsensus`, as the proposer.
This will remove old CodeChain proposer selection logic https://github.com/CodeChain-io/foundry/pull/602#pullrequestreview-556853470.
And also, to express complicated staking rule considering tendermint process, we have to pass the current view (round) to the module, via `block_opened()`.
Contributor guide
Assessment
This issue has not been assessed yet.