-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test: One invalid then valid quorum (#350)
* Invalid then quorum pre consensus test * Invalid then quorum post consensus test * Generate tests * generate-jsons * Fix blinded proposer runner test --------- Co-authored-by: Gal Rogozinski <[email protected]>
- Loading branch information
1 parent
83e0897
commit bf2b883
Showing
23 changed files
with
5,520 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
322 changes: 322 additions & 0 deletions
322
...rison/tests_MultiMsgProcessingSpecTest/post_consensus_invalid_then_quorum/aggregator.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,322 @@ | ||
{ | ||
"BaseRunner": { | ||
"State": { | ||
"PreConsensusContainer": { | ||
"Signatures": {}, | ||
"Quorum": 3 | ||
}, | ||
"PostConsensusContainer": { | ||
"Signatures": { | ||
"c4551c9873f0588b4a13819ed39bde8c5cb6838b52e18d7b1807f02208c5b515": { | ||
"1": "iGl6ZXMgVK2sVRM82h6J+2tRxDtnbe6iC1XL7auRM9U4LnfvirxqQHiWJNCw8WRKFmYj1HnKxS3O0WDTxyh50Gaaw5Z6znGbHkt/rdXLu7OUzmpen/rIVP9Avyx2mY8s", | ||
"2": "tVOROqJaP6C4g7uajgC44qC1QJ505Ol2tNefLK9jHg5AH0TCzsEnVIMbWRbYkZchALink2Clu63xVq79esPDOJ3u0sT5DkKAOCC2GebeKpQBZWxXVaMf3/QtNxs52ZBR", | ||
"3": "p4mJsTHfJ9m/maFmyKe6pmptN6IMZMTD6pek2OhyB7k/9gc9iFNrnh/g7ZlxPMgJEs4RyEPe6RPBw5R2ldz9GECRUuE+so0uURYzfZtbDeC31xHu8QAwAdXAmFyA0x9t" | ||
} | ||
}, | ||
"Quorum": 3 | ||
}, | ||
"RunningInstance": { | ||
"State": { | ||
"Share": { | ||
"OperatorID": 1, | ||
"ValidatorPubKey": "joAGZVGoGzGCWHCe2vfdH2PNaGoOTbiym7t6z+ZWCGd69aUn2USO5Hg1SF4CtQvA", | ||
"SharePubKey": "l9lKgR1kSTYFKp0tSs1kcYl0z2eNvv0mcyTI6fjnA0pKa32HeeJ6AZU4w8Qlw+Xn", | ||
"Committee": [ | ||
{ | ||
"OperatorID": 1, | ||
"PubKey": "l9lKgR1kSTYFKp0tSs1kcYl0z2eNvv0mcyTI6fjnA0pKa32HeeJ6AZU4w8Qlw+Xn" | ||
}, | ||
{ | ||
"OperatorID": 2, | ||
"PubKey": "przr4wl9dBcbQMcSoDHOsDcds9PEAs8s5pG5Eg87q3XU1W36DzdZFUSZm/GMU1Pt" | ||
}, | ||
{ | ||
"OperatorID": 3, | ||
"PubKey": "gJDgt2ZqRezF1O90GKyZ8J5sskQCn+pqCn/Mvp7gi8U53g36Zr5rq8hJPdmd0amN" | ||
}, | ||
{ | ||
"OperatorID": 4, | ||
"PubKey": "p8CidrcKXuM5XH1tJlXtYFKKolLU0h7KX8xSI+UMxCvRaLKAq3q1MXNU3d/PPfnk" | ||
} | ||
], | ||
"Quorum": 3, | ||
"PartialQuorum": 2, | ||
"DomainType": [ | ||
0, | ||
0, | ||
3, | ||
1 | ||
], | ||
"FeeRecipientAddress": [ | ||
83, | ||
89, | ||
83, | ||
181, | ||
166, | ||
4, | ||
0, | ||
116, | ||
148, | ||
140, | ||
241, | ||
133, | ||
234, | ||
167, | ||
210, | ||
171, | ||
189, | ||
102, | ||
128, | ||
143 | ||
], | ||
"Graffiti": null | ||
}, | ||
"ID": "AAADAY6ABmVRqBsxglhwntr33R9jzWhqDk24spu7es/mVghnevWlJ9lEjuR4NUheArULwAEAAAA=", | ||
"Round": 1, | ||
"Height": 0, | ||
"LastPreparedRound": 0, | ||
"LastPreparedValue": null, | ||
"ProposalAcceptedForCurrentRound": null, | ||
"Decided": true, | ||
"DecidedValue": "FAAAAAAAAAAAAAAAgAAAAIAAAAABAAAAAAAAAI6ABmVRqBsxglhwntr33R9jzWhqDk24spu7es/mVghnevWlJ9lEjuR4NUheArULwAwAAAAAAAAAAQAAAAAAAAAWAAAAAAAAAIAAAAAAAAAAJAAAAAAAAAALAAAAAAAAAGwAAAABAAAAAAAAAGwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADkAAAADAAAAAAAAAADAAAAAAAAAAECAwQFBgcICQoBAgMEBQYHCAkKAQIDBAUGBwgJCgECAAAAAAAAAAABAgMEBQYHCAkKAQIDBAUGBwgJCgECAwQFBgcICQoBAgEAAAAAAAAAAQIDBAUGBwgJCgECAwQFBgcICQoBAgMEBQYHCAkKAQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQ==", | ||
"ProposeContainer": { | ||
"Msgs": {} | ||
}, | ||
"PrepareContainer": { | ||
"Msgs": {} | ||
}, | ||
"CommitContainer": { | ||
"Msgs": {} | ||
}, | ||
"RoundChangeContainer": { | ||
"Msgs": {} | ||
} | ||
}, | ||
"StartValue": null | ||
}, | ||
"DecidedValue": { | ||
"Duty": { | ||
"Type": 1, | ||
"PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", | ||
"Slot": "12", | ||
"ValidatorIndex": "1", | ||
"CommitteeIndex": 22, | ||
"CommitteeLength": 128, | ||
"CommitteesAtSlot": 36, | ||
"ValidatorCommitteeIndex": 11, | ||
"ValidatorSyncCommitteeIndices": null | ||
}, | ||
"Version": "phase0", | ||
"PreConsensusJustifications": null, | ||
"DataSSZ": "AQAAAAAAAABsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA5AAAAAwAAAAAAAAAAwAAAAAAAAABAgMEBQYHCAkKAQIDBAUGBwgJCgECAwQFBgcICQoBAgAAAAAAAAAAAQIDBAUGBwgJCgECAwQFBgcICQoBAgMEBQYHCAkKAQIBAAAAAAAAAAECAwQFBgcICQoBAgMEBQYHCAkKAQIDBAUGBwgJCgECAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE=" | ||
}, | ||
"StartingDuty": { | ||
"Type": 1, | ||
"PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", | ||
"Slot": "12", | ||
"ValidatorIndex": "1", | ||
"CommitteeIndex": 22, | ||
"CommitteeLength": 128, | ||
"CommitteesAtSlot": 36, | ||
"ValidatorCommitteeIndex": 11, | ||
"ValidatorSyncCommitteeIndices": null | ||
}, | ||
"Finished": true | ||
}, | ||
"Share": { | ||
"OperatorID": 1, | ||
"ValidatorPubKey": "joAGZVGoGzGCWHCe2vfdH2PNaGoOTbiym7t6z+ZWCGd69aUn2USO5Hg1SF4CtQvA", | ||
"SharePubKey": "l9lKgR1kSTYFKp0tSs1kcYl0z2eNvv0mcyTI6fjnA0pKa32HeeJ6AZU4w8Qlw+Xn", | ||
"Committee": [ | ||
{ | ||
"OperatorID": 1, | ||
"PubKey": "l9lKgR1kSTYFKp0tSs1kcYl0z2eNvv0mcyTI6fjnA0pKa32HeeJ6AZU4w8Qlw+Xn" | ||
}, | ||
{ | ||
"OperatorID": 2, | ||
"PubKey": "przr4wl9dBcbQMcSoDHOsDcds9PEAs8s5pG5Eg87q3XU1W36DzdZFUSZm/GMU1Pt" | ||
}, | ||
{ | ||
"OperatorID": 3, | ||
"PubKey": "gJDgt2ZqRezF1O90GKyZ8J5sskQCn+pqCn/Mvp7gi8U53g36Zr5rq8hJPdmd0amN" | ||
}, | ||
{ | ||
"OperatorID": 4, | ||
"PubKey": "p8CidrcKXuM5XH1tJlXtYFKKolLU0h7KX8xSI+UMxCvRaLKAq3q1MXNU3d/PPfnk" | ||
} | ||
], | ||
"Quorum": 3, | ||
"PartialQuorum": 2, | ||
"DomainType": [ | ||
0, | ||
0, | ||
3, | ||
1 | ||
], | ||
"FeeRecipientAddress": [ | ||
83, | ||
89, | ||
83, | ||
181, | ||
166, | ||
4, | ||
0, | ||
116, | ||
148, | ||
140, | ||
241, | ||
133, | ||
234, | ||
167, | ||
210, | ||
171, | ||
189, | ||
102, | ||
128, | ||
143 | ||
], | ||
"Graffiti": null | ||
}, | ||
"QBFTController": { | ||
"Identifier": "AAADAY6ABmVRqBsxglhwntr33R9jzWhqDk24spu7es/mVghnevWlJ9lEjuR4NUheArULwAEAAAA=", | ||
"Height": 0, | ||
"StoredInstances": [ | ||
{ | ||
"State": { | ||
"Share": { | ||
"OperatorID": 1, | ||
"ValidatorPubKey": "joAGZVGoGzGCWHCe2vfdH2PNaGoOTbiym7t6z+ZWCGd69aUn2USO5Hg1SF4CtQvA", | ||
"SharePubKey": "l9lKgR1kSTYFKp0tSs1kcYl0z2eNvv0mcyTI6fjnA0pKa32HeeJ6AZU4w8Qlw+Xn", | ||
"Committee": [ | ||
{ | ||
"OperatorID": 1, | ||
"PubKey": "l9lKgR1kSTYFKp0tSs1kcYl0z2eNvv0mcyTI6fjnA0pKa32HeeJ6AZU4w8Qlw+Xn" | ||
}, | ||
{ | ||
"OperatorID": 2, | ||
"PubKey": "przr4wl9dBcbQMcSoDHOsDcds9PEAs8s5pG5Eg87q3XU1W36DzdZFUSZm/GMU1Pt" | ||
}, | ||
{ | ||
"OperatorID": 3, | ||
"PubKey": "gJDgt2ZqRezF1O90GKyZ8J5sskQCn+pqCn/Mvp7gi8U53g36Zr5rq8hJPdmd0amN" | ||
}, | ||
{ | ||
"OperatorID": 4, | ||
"PubKey": "p8CidrcKXuM5XH1tJlXtYFKKolLU0h7KX8xSI+UMxCvRaLKAq3q1MXNU3d/PPfnk" | ||
} | ||
], | ||
"Quorum": 3, | ||
"PartialQuorum": 2, | ||
"DomainType": [ | ||
0, | ||
0, | ||
3, | ||
1 | ||
], | ||
"FeeRecipientAddress": [ | ||
83, | ||
89, | ||
83, | ||
181, | ||
166, | ||
4, | ||
0, | ||
116, | ||
148, | ||
140, | ||
241, | ||
133, | ||
234, | ||
167, | ||
210, | ||
171, | ||
189, | ||
102, | ||
128, | ||
143 | ||
], | ||
"Graffiti": null | ||
}, | ||
"ID": "AAADAY6ABmVRqBsxglhwntr33R9jzWhqDk24spu7es/mVghnevWlJ9lEjuR4NUheArULwAEAAAA=", | ||
"Round": 1, | ||
"Height": 0, | ||
"LastPreparedRound": 0, | ||
"LastPreparedValue": null, | ||
"ProposalAcceptedForCurrentRound": null, | ||
"Decided": true, | ||
"DecidedValue": "FAAAAAAAAAAAAAAAgAAAAIAAAAABAAAAAAAAAI6ABmVRqBsxglhwntr33R9jzWhqDk24spu7es/mVghnevWlJ9lEjuR4NUheArULwAwAAAAAAAAAAQAAAAAAAAAWAAAAAAAAAIAAAAAAAAAAJAAAAAAAAAALAAAAAAAAAGwAAAABAAAAAAAAAGwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADkAAAADAAAAAAAAAADAAAAAAAAAAECAwQFBgcICQoBAgMEBQYHCAkKAQIDBAUGBwgJCgECAAAAAAAAAAABAgMEBQYHCAkKAQIDBAUGBwgJCgECAwQFBgcICQoBAgEAAAAAAAAAAQIDBAUGBwgJCgECAwQFBgcICQoBAgMEBQYHCAkKAQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQ==", | ||
"ProposeContainer": { | ||
"Msgs": {} | ||
}, | ||
"PrepareContainer": { | ||
"Msgs": {} | ||
}, | ||
"CommitContainer": { | ||
"Msgs": {} | ||
}, | ||
"RoundChangeContainer": { | ||
"Msgs": {} | ||
} | ||
}, | ||
"StartValue": null | ||
} | ||
], | ||
"Share": { | ||
"OperatorID": 1, | ||
"ValidatorPubKey": "joAGZVGoGzGCWHCe2vfdH2PNaGoOTbiym7t6z+ZWCGd69aUn2USO5Hg1SF4CtQvA", | ||
"SharePubKey": "l9lKgR1kSTYFKp0tSs1kcYl0z2eNvv0mcyTI6fjnA0pKa32HeeJ6AZU4w8Qlw+Xn", | ||
"Committee": [ | ||
{ | ||
"OperatorID": 1, | ||
"PubKey": "l9lKgR1kSTYFKp0tSs1kcYl0z2eNvv0mcyTI6fjnA0pKa32HeeJ6AZU4w8Qlw+Xn" | ||
}, | ||
{ | ||
"OperatorID": 2, | ||
"PubKey": "przr4wl9dBcbQMcSoDHOsDcds9PEAs8s5pG5Eg87q3XU1W36DzdZFUSZm/GMU1Pt" | ||
}, | ||
{ | ||
"OperatorID": 3, | ||
"PubKey": "gJDgt2ZqRezF1O90GKyZ8J5sskQCn+pqCn/Mvp7gi8U53g36Zr5rq8hJPdmd0amN" | ||
}, | ||
{ | ||
"OperatorID": 4, | ||
"PubKey": "p8CidrcKXuM5XH1tJlXtYFKKolLU0h7KX8xSI+UMxCvRaLKAq3q1MXNU3d/PPfnk" | ||
} | ||
], | ||
"Quorum": 3, | ||
"PartialQuorum": 2, | ||
"DomainType": [ | ||
0, | ||
0, | ||
3, | ||
1 | ||
], | ||
"FeeRecipientAddress": [ | ||
83, | ||
89, | ||
83, | ||
181, | ||
166, | ||
4, | ||
0, | ||
116, | ||
148, | ||
140, | ||
241, | ||
133, | ||
234, | ||
167, | ||
210, | ||
171, | ||
189, | ||
102, | ||
128, | ||
143 | ||
], | ||
"Graffiti": null | ||
} | ||
}, | ||
"BeaconNetwork": "now_test_network", | ||
"BeaconRoleType": 1 | ||
} | ||
} |
Oops, something went wrong.