Proposal

← Back

Update Consensus config exclude_round from 20 to 40

Executed24 Mar 2023, 03:22:45
Proposer:
Voting period:23 Mar 2023, 16:26:50 - 30 Mar 2023, 16:26:50

Proposal Hash

0xa094b13ae8b3417bf17f2176c5f117d6d7f98dc363d9cce554411e5920d6641e

Description

For Consensus to operate correctly, all validators need to agree on the same leader. In Aptos, Consensus coordinates leader selection via deterministic formula based on on-chain state (like root hash), that each validator computes independently. For achieving high efficiency and throughput, we also have decoupled execution, where we have a pipeline of stages (consensus ordering, execution, commit), where each stage has a queue and operates independently. That means that there is a delay between consensus ordering a block and state in storage being updated. Given decoupled execution, in order for leader election to agree among validators, we have on-chain config called exclude_round which defines which state is used for computing leader for a particular round: leader[round] = selection_formula(round - exclude_round). If number of blocks in the pipeline is larger than exclude_rounds, then validator has not yet computed the state needed for leader election formula, and validators will not agree on the same leader, leading to failed round and increased latency. We have noticed, that under high load, number of blocks in the pipeline can temporarily grow to ~30, so increasing exlcude_rounds to 40 should improve experience and latency under high load.

Vote

Connect a wallet to vote on this proposal.

Results

FOR521,266,908.37 APT 100%
AGAINST0 APT 0%
Participation100%

521,266,908.37 APT for · 0 APT against · Threshold met · min 400,000,000 APT

Early resolution at 512,908,086 APT

Votes

addressvotevoting power
FOR22,359,888.77 APT
FOR22,352,843.46 APT
FOR22,341,375.78 APT
FOR22,339,763.02 APT
FOR22,339,596.82 APT
FOR22,339,382.6 APT
FOR22,339,382.06 APT
FOR22,339,368.17 APT
FOR22,339,311.55 APT
FOR22,339,132.59 APT
FOR22,339,007.35 APT
FOR22,338,002.79 APT
FOR22,337,924.99 APT
FOR22,337,226.16 APT
FOR22,275,613.67 APT
FOR22,275,059.64 APT
FOR22,274,362.67 APT
FOR22,273,763.06 APT
FOR22,273,731.69 APT
FOR22,273,057.23 APT