CodeChain-io / CodeChain-io/foundry

Make UpdateConsensus to choose the proposer

Open
#603 0 comments 0 reactions 0 assignees View on GitHub
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

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.