QuarkChain / go-ethereum

Official Go implementation of the Ethereum protocol
https://geth.ethereum.org
GNU Lesser General Public License v3.0
5 stars 2 forks source link

validator reward by encoding proposer frequency into epoch header #94

Closed ping-ke closed 2 years ago

ping-ke commented 2 years ago

Functions:

  1. increase the proposed block count for the state when a block has been applied in the tendermint consensus.
  2. add state rlp to epoch header extraData and reset state
  3. relayer: adding header number to submit function params

Test:

  1. integration test
  2. use the proposed state checker to verify epoch header extraData
qizhou commented 2 years ago

What is the test plan?

ping-ke commented 2 years ago
  1. integration test
  2. use the proposed state checker to verify epoch header extraData