-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Conversation
…ned authority structure, still fixing bugs and compile errors
…c to solve ABI versioning and contract upgrade issues. TODO: implement intrinsic changes, implement mult-sig signed blocks, fix tests etc
…tester setup to use the interim bios until features are activated
…es for wtmsig block production, augment tester to accomodate
…the activation of the protocol features. Added v2 snapshots based on a deterministic blockchain and added test to make sure that recreateing the blockchain and loading the compatible snapshot produce the same integrity hash
…ger necessary to maintain
…oducer_authority etc
…ig-block-production
…ig-block-production
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part 1 of review (does not include changes to plugins or tests).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part 2 of review: covers changes addressing comments from previous review as well as the changes made in this PR to the plugins. That includes changes to the state_history_plugin, but I would like @tbfleming to review that specific part of it as well.
Review of changes related to tests still remain for part 3 of the review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Part 3 of review: covers tests.
refactored the wtmsig tests so that they are only testing that those authorities work. added a utility to produce blocks (with a limit) until a set of BPs has been seen
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change Description
This change implements #7403
This now encompasses (and fixes conflicts from) #7421
Remaining work:
Consensus Changes
see #7403
API Changes
new deployments of the API will emit
producer_authority
's for all block signing data regardless of feature activation (it will not backport to the legacy structure)specifically the
get_producers
API will no longer guarantee the result has a fieldproducer_key
. Instead it will returnproducer_authority
. In instances where theproducer_authority
appears to be a canonical "upsert" of the legacy single key, this API will still emit theproducer_key
field as expected. In those instances, theproducer_authority
field will contain a 1-of-1 wtmsig where both the threshold and weight are exactly1
Documentation Additions
need to document
set_proposed_producers_ex
, see TBD PR in eosio.cdtOther notes
this PR is likely to conflict with #7012 as that will also bump the snapshot version. This PR should give way to a PR regarding that featureResolved as #7012 was merged todevelop
and this PR is caught up.this PR includes #7401 as it introduces an otherwise breaking change to the in-memory format