Add POSDAO transition and malice report queue. (#11245)
* Add POSDAO transition; call emitInitiateChange. * Retry failed malice reports. * Make malice reports with zero gas price. * Address review comments. * Extract ReportQueue from ValidatorSafeContract. * Add shouldValidatorReport to validator set contract. * Rename queue_report to enqueue_report * Increment nonce between randomness and POSDAO transactions. * Refactor the test ValidatorSet contract * Address review comments, docs * Update ethcore/res/validator_contract.sol Co-Authored-By: David <dvdplm@gmail.com> * Update ethcore/res/validator_contract.sol Co-Authored-By: David <dvdplm@gmail.com> Co-authored-by: varasev <33550681+varasev@users.noreply.github.com> Co-authored-by: David <dvdplm@gmail.com>
This commit is contained in:
@@ -100,6 +100,9 @@ pub struct AuthorityRoundParams {
|
||||
/// The addresses of contracts that determine the block gas limit starting from the block number
|
||||
/// associated with each of those contracts.
|
||||
pub block_gas_limit_contract_transitions: Option<BTreeMap<Uint, Address>>,
|
||||
/// The block number at which the consensus engine switches from AuRa to AuRa with POSDAO
|
||||
/// modifications.
|
||||
pub posdao_transition: Option<Uint>,
|
||||
}
|
||||
|
||||
/// Authority engine deserialization.
|
||||
|
||||
Reference in New Issue
Block a user