diff --git a/qbft/spectest/generate/state_comparison/tests_MsgSpecTest/qbft message msg identifier len == 0.json b/qbft/spectest/generate/state_comparison/tests_MsgSpecTest/qbft message msg identifier len == 0.json index 213e74863..a6f2173cb 100644 --- a/qbft/spectest/generate/state_comparison/tests_MsgSpecTest/qbft message msg identifier len == 0.json +++ b/qbft/spectest/generate/state_comparison/tests_MsgSpecTest/qbft message msg identifier len == 0.json @@ -20,5 +20,5 @@ ], "EncodedMessages": null, "ExpectedRoots": null, - "ExpectedErrorCode": 33 + "ExpectedErrorCode": 31 } \ No newline at end of file diff --git a/qbft/spectest/generate/state_comparison/tests_MsgSpecTest/qbft message msg identifier nil.json b/qbft/spectest/generate/state_comparison/tests_MsgSpecTest/qbft message msg identifier nil.json index a565bdc73..40bcdd739 100644 --- a/qbft/spectest/generate/state_comparison/tests_MsgSpecTest/qbft message msg identifier nil.json +++ b/qbft/spectest/generate/state_comparison/tests_MsgSpecTest/qbft message msg identifier nil.json @@ -20,5 +20,5 @@ ], "EncodedMessages": null, "ExpectedRoots": null, - "ExpectedErrorCode": 33 + "ExpectedErrorCode": 31 } \ No newline at end of file diff --git a/qbft/spectest/generate/state_comparison/tests_MsgSpecTest/qbft message msg type unknown.json b/qbft/spectest/generate/state_comparison/tests_MsgSpecTest/qbft message msg type unknown.json index f0a34e6c5..972da5838 100644 --- a/qbft/spectest/generate/state_comparison/tests_MsgSpecTest/qbft message msg type unknown.json +++ b/qbft/spectest/generate/state_comparison/tests_MsgSpecTest/qbft message msg type unknown.json @@ -20,5 +20,5 @@ ], "EncodedMessages": null, "ExpectedRoots": null, - "ExpectedErrorCode": 31 + "ExpectedErrorCode": 29 } \ No newline at end of file diff --git a/qbft/spectest/generate/state_comparison/tests_MsgSpecTest/qbft message no signers.json b/qbft/spectest/generate/state_comparison/tests_MsgSpecTest/qbft message no signers.json index 17d32d247..f79b44e11 100644 --- a/qbft/spectest/generate/state_comparison/tests_MsgSpecTest/qbft message no signers.json +++ b/qbft/spectest/generate/state_comparison/tests_MsgSpecTest/qbft message no signers.json @@ -18,5 +18,5 @@ ], "EncodedMessages": null, "ExpectedRoots": null, - "ExpectedErrorCode": 18 + "ExpectedErrorCode": 16 } \ No newline at end of file diff --git a/qbft/spectest/generate/state_comparison/tests_MsgSpecTest/qbft message signer 0.json b/qbft/spectest/generate/state_comparison/tests_MsgSpecTest/qbft message signer 0.json index 13c47c2b6..98be0c7c2 100644 --- a/qbft/spectest/generate/state_comparison/tests_MsgSpecTest/qbft message signer 0.json +++ b/qbft/spectest/generate/state_comparison/tests_MsgSpecTest/qbft message signer 0.json @@ -24,5 +24,5 @@ ], "EncodedMessages": null, "ExpectedRoots": null, - "ExpectedErrorCode": 19 + "ExpectedErrorCode": 17 } \ No newline at end of file diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_decide_invalid_full_data.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_decide_invalid_full_data.json index fb7d04b7e..23aec6383 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_decide_invalid_full_data.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_decide_invalid_full_data.json @@ -35,7 +35,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 64, + "ExpectedErrorCode": 62, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_decide_invalid_msg.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_decide_invalid_msg.json index d24dcf6f5..faa18a6ee 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_decide_invalid_msg.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_decide_invalid_msg.json @@ -31,7 +31,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_decide_no_quorum.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_decide_no_quorum.json index 7f5bf5f1e..7ab983d6c 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_decide_no_quorum.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_decide_no_quorum.json @@ -33,7 +33,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 59, + "ExpectedErrorCode": 57, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_decide_wrong_msg_type.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_decide_wrong_msg_type.json index a27ec1eac..ec8e603c6 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_decide_wrong_msg_type.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_decide_wrong_msg_type.json @@ -35,7 +35,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 58, + "ExpectedErrorCode": 56, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_decide_wrong_sig.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_decide_wrong_sig.json index fe126c198..25206e666 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_decide_wrong_sig.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_decide_wrong_sig.json @@ -35,7 +35,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 65, + "ExpectedErrorCode": 63, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_full_flow_after_decided.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_full_flow_after_decided.json index 9a387f456..d835ae49e 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_full_flow_after_decided.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_full_flow_after_decided.json @@ -133,7 +133,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_commit.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_commit.json index dfe1190d3..04f24a5de 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_commit.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_commit.json @@ -146,7 +146,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_commit_past_instance.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_commit_past_instance.json index 3a9f98d05..a5770df2a 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_commit_past_instance.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_commit_past_instance.json @@ -285,7 +285,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_commit_past_round.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_commit_past_round.json index ce1e9edae..add1cd6ce 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_commit_past_round.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_commit_past_round.json @@ -230,7 +230,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_non_duplicate_proposal_past_instance.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_non_duplicate_proposal_past_instance.json index c73f2f20a..904a450b9 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_non_duplicate_proposal_past_instance.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_non_duplicate_proposal_past_instance.json @@ -158,7 +158,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_prepare.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_prepare.json index 3de03d40a..1edccd45d 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_prepare.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_prepare.json @@ -146,7 +146,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_prepare_past_instance.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_prepare_past_instance.json index b9549bd5f..cf2c92a0b 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_prepare_past_instance.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_prepare_past_instance.json @@ -285,7 +285,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_prepare_past_round.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_prepare_past_round.json index fb62c6d34..85dc5082d 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_prepare_past_round.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_prepare_past_round.json @@ -230,7 +230,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_proposal.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_proposal.json index e09792131..65338ced2 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_proposal.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_proposal.json @@ -146,7 +146,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_proposal_past_instance.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_proposal_past_instance.json index 9d0cbf19b..7cef64714 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_proposal_past_instance.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_proposal_past_instance.json @@ -285,7 +285,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_proposal_past_round.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_proposal_past_round.json index 41dd083c1..b813b5d30 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_proposal_past_round.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_proposal_past_round.json @@ -230,7 +230,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_round_change.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_round_change.json index ff37e71e6..eed324480 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_round_change.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_round_change.json @@ -146,7 +146,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_round_change_past_instance.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_round_change_past_instance.json index 6b205c3bd..e9ac7f247 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_round_change_past_instance.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_round_change_past_instance.json @@ -285,7 +285,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_round_change_past_round.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_round_change_past_round.json index c2c1915c3..123d69374 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_round_change_past_round.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_late_round_change_past_round.json @@ -230,7 +230,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_process_msg_error.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_process_msg_error.json index adec024f5..57eaaaac7 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_process_msg_error.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_process_msg_error.json @@ -31,7 +31,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 62, + "ExpectedErrorCode": 60, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_empty_value.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_empty_value.json index 2c6a58eec..c14a0e367 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_empty_value.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_empty_value.json @@ -16,7 +16,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 66, + "ExpectedErrorCode": 64, "Controller": { "Identifier": "AQIDBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", "Height": 0, diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_equal_height_running_instance.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_equal_height_running_instance.json index 0bfa12905..17f9eb7aa 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_equal_height_running_instance.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_equal_height_running_instance.json @@ -29,7 +29,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 70, + "ExpectedErrorCode": 68, "Controller": { "Identifier": "AQIDBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", "Height": 0, diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_invalid_value.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_invalid_value.json index e4dcabe50..6d680b932 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_invalid_value.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_invalid_value.json @@ -16,7 +16,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 66, + "ExpectedErrorCode": 64, "Controller": { "Identifier": "AQIDBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", "Height": 0, diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_lower_height.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_lower_height.json index f3e3e22ab..75e941c0c 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_lower_height.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_lower_height.json @@ -29,7 +29,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 71, + "ExpectedErrorCode": 69, "Controller": { "Identifier": "AQIDBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", "Height": 0, diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_nil_value.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_nil_value.json index 79170f51d..f284c3c31 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_nil_value.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_nil_value.json @@ -16,7 +16,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 66, + "ExpectedErrorCode": 64, "Controller": { "Identifier": "AQIDBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", "Height": 0, diff --git a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_post_future_decided.json b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_post_future_decided.json index bae59e9d8..75b0b93fa 100644 --- a/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_post_future_decided.json +++ b/qbft/spectest/generate/tests/tests.ControllerSpecTest_qbft_controller_start_instance_post_future_decided.json @@ -46,7 +46,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 71, + "ExpectedErrorCode": 69, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_commit_data_!=_acceptedProposalData.Data.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_commit_data_!=_acceptedProposalData.Data.json index 68705b208..dd3fd86dc 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_commit_data_!=_acceptedProposalData.Data.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_commit_data_!=_acceptedProposalData.Data.json @@ -95,7 +95,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 61, + "ExpectedErrorCode": 59, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_commit_data_!=_prepared_data.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_commit_data_!=_prepared_data.json index bf039618f..3754aef3c 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_commit_data_!=_prepared_data.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_commit_data_!=_prepared_data.json @@ -155,7 +155,7 @@ "FullData": null } ], - "ExpectedErrorCode": 61, + "ExpectedErrorCode": 59, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_commit_future_round.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_commit_future_round.json index 3ad3fc256..a515752e6 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_commit_future_round.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_commit_future_round.json @@ -95,7 +95,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 57, + "ExpectedErrorCode": 55, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_commit_past_round.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_commit_past_round.json index 6d8371e2c..4815e4e10 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_commit_past_round.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_commit_past_round.json @@ -95,7 +95,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 60, + "ExpectedErrorCode": 58, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_duplicate_prepare_msg_justification.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_duplicate_prepare_msg_justification.json index cc3f4ac6d..f9ce8d70a 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_duplicate_prepare_msg_justification.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_duplicate_prepare_msg_justification.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 68, + "ExpectedErrorCode": 66, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_duplicate_rc_msg_justification.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_duplicate_rc_msg_justification.json index 5c75e6f58..43731d1c8 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_duplicate_rc_msg_justification.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_duplicate_rc_msg_justification.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 62, + "ExpectedErrorCode": 60, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_duplicate_rc_msg_justification_(prepared).json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_duplicate_rc_msg_justification_(prepared).json index 9e0d26d28..ef2da71c2 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_duplicate_rc_msg_justification_(prepared).json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_duplicate_rc_msg_justification_(prepared).json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 62, + "ExpectedErrorCode": 60, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_force_stop_commit_message.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_force_stop_commit_message.json index ac8357982..decf0de84 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_force_stop_commit_message.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_force_stop_commit_message.json @@ -96,7 +96,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 56, + "ExpectedErrorCode": 54, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_force_stop_prepare_message.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_force_stop_prepare_message.json index c9a04f48f..72e725eac 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_force_stop_prepare_message.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_force_stop_prepare_message.json @@ -96,7 +96,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 56, + "ExpectedErrorCode": 54, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_force_stop_proposal_message.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_force_stop_proposal_message.json index d23545cdb..9f07bfdf1 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_force_stop_proposal_message.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_force_stop_proposal_message.json @@ -71,7 +71,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 56, + "ExpectedErrorCode": 54, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_force_stop_round_change_message.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_force_stop_round_change_message.json index 3b62c5cf5..58dc6e742 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_force_stop_round_change_message.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_force_stop_round_change_message.json @@ -96,7 +96,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 56, + "ExpectedErrorCode": 54, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_invalid_full_data.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_invalid_full_data.json index e3d8dcd52..adbc0da9c 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_invalid_full_data.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_invalid_full_data.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 64, + "ExpectedErrorCode": 62, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_invalid_prepare_justification_round.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_invalid_prepare_justification_round.json index 1cde73962..602e66d46 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_invalid_prepare_justification_round.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_invalid_prepare_justification_round.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 57, + "ExpectedErrorCode": 55, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_invalid_prepare_justification_value.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_invalid_prepare_justification_value.json index 41becef8f..33f2d6407 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_invalid_prepare_justification_value.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_invalid_prepare_justification_value.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 61, + "ExpectedErrorCode": 59, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_invalid_proposal_value_check.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_invalid_proposal_value_check.json index b0297cb1d..5573f47c4 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_invalid_proposal_value_check.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_invalid_proposal_value_check.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 66, + "ExpectedErrorCode": 64, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_justification_duplicate_msg.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_justification_duplicate_msg.json index 8b5dc50ea..cd8085a69 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_justification_duplicate_msg.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_justification_duplicate_msg.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 68, + "ExpectedErrorCode": 66, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_justification_invalid_round.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_justification_invalid_round.json index 619b84b14..880ced971 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_justification_invalid_round.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_justification_invalid_round.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 57, + "ExpectedErrorCode": 55, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_justification_invalid_sig.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_justification_invalid_sig.json index 7d555f423..433a49d6f 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_justification_invalid_sig.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_justification_invalid_sig.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 65, + "ExpectedErrorCode": 63, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_justification_multi_signer.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_justification_multi_signer.json index 5c849fd85..7e2a18bab 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_justification_multi_signer.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_justification_multi_signer.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 58, + "ExpectedErrorCode": 56, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_multi_signer,_no_overlap.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_multi_signer,_no_overlap.json index a9c3a4afa..8324544d7 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_multi_signer,_no_overlap.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_multi_signer,_no_overlap.json @@ -171,7 +171,7 @@ "FullData": null } ], - "ExpectedErrorCode": 58, + "ExpectedErrorCode": 56, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_multi_signer,_with_overlap.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_multi_signer,_with_overlap.json index b62a5397d..4c8d45a6e 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_multi_signer,_with_overlap.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_multi_signer,_with_overlap.json @@ -185,7 +185,7 @@ "FullData": null } ], - "ExpectedErrorCode": 58, + "ExpectedErrorCode": 56, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_no_prepare_quorum_(prepared).json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_no_prepare_quorum_(prepared).json index 4026a15c7..3ec0f9ad7 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_no_prepare_quorum_(prepared).json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_no_prepare_quorum_(prepared).json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 68, + "ExpectedErrorCode": 66, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_no_previous_accepted_proposal.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_no_previous_accepted_proposal.json index fca874b69..3756eed74 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_no_previous_accepted_proposal.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_no_previous_accepted_proposal.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 59, + "ExpectedErrorCode": 57, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_no_previous_proposal_for_prepare.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_no_previous_proposal_for_prepare.json index 55c035269..3f76aeca7 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_no_previous_proposal_for_prepare.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_no_previous_proposal_for_prepare.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 59, + "ExpectedErrorCode": 57, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_no_rc_quorum.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_no_rc_quorum.json index 7d284b8d6..da3168bf7 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_no_rc_quorum.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_no_rc_quorum.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 62, + "ExpectedErrorCode": 60, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_no_rc_quorum_(prepared).json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_no_rc_quorum_(prepared).json index 1a8982cf6..f09bd4106 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_no_rc_quorum_(prepared).json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_no_rc_quorum_(prepared).json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 62, + "ExpectedErrorCode": 60, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_prepare_future_round.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_prepare_future_round.json index 8134aaf55..e4188db27 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_prepare_future_round.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_prepare_future_round.json @@ -95,7 +95,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 57, + "ExpectedErrorCode": 55, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_prepare_multi_signer.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_prepare_multi_signer.json index c00ccc345..d0f1b1e6f 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_prepare_multi_signer.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_prepare_multi_signer.json @@ -97,7 +97,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 58, + "ExpectedErrorCode": 56, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_prepare_prev_round.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_prepare_prev_round.json index 34845e864..2d06df7cf 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_prepare_prev_round.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_prepare_prev_round.json @@ -99,7 +99,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 60, + "ExpectedErrorCode": 58, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_prepare_wrong_data.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_prepare_wrong_data.json index d98ef6b7d..c109ab1ab 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_prepare_wrong_data.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_prepare_wrong_data.json @@ -95,7 +95,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 61, + "ExpectedErrorCode": 59, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_duplicate_message.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_duplicate_message.json index 048c9ac8b..2b3d1a0af 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_duplicate_message.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_duplicate_message.json @@ -99,7 +99,7 @@ "FullData": null } ], - "ExpectedErrorCode": 63, + "ExpectedErrorCode": 61, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_duplicate_message_different_value.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_duplicate_message_different_value.json index 926dffc6e..e802b6e8f 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_duplicate_message_different_value.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_duplicate_message_different_value.json @@ -99,7 +99,7 @@ "FullData": null } ], - "ExpectedErrorCode": 63, + "ExpectedErrorCode": 61, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_justification_not_highest.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_justification_not_highest.json index e1b37dd7a..0a1e5413f 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_justification_not_highest.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_justification_not_highest.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 67, + "ExpectedErrorCode": 65, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_multi_signer.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_multi_signer.json index 7787afc0f..b4d66a10d 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_multi_signer.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_multi_signer.json @@ -72,7 +72,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 58, + "ExpectedErrorCode": 56, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_past_round_(not_prev_prepared).json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_past_round_(not_prev_prepared).json index aed6774d2..db335d85c 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_past_round_(not_prev_prepared).json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_past_round_(not_prev_prepared).json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 60, + "ExpectedErrorCode": 58, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_post_decided.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_post_decided.json index 708ebcb92..032c57c7f 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_post_decided.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_post_decided.json @@ -197,7 +197,7 @@ "FullData": null } ], - "ExpectedErrorCode": 63, + "ExpectedErrorCode": 61, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_post_prepare.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_post_prepare.json index 384fe884b..f963446f1 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_post_prepare.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_post_prepare.json @@ -155,7 +155,7 @@ "FullData": null } ], - "ExpectedErrorCode": 63, + "ExpectedErrorCode": 61, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_rc_msg_invalid.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_rc_msg_invalid.json index 86d17fbfa..4e9279b3d 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_rc_msg_invalid.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_rc_msg_invalid.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 65, + "ExpectedErrorCode": 63, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_rc_msg_invalid_(prepared).json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_rc_msg_invalid_(prepared).json index e6ebd2c97..8d0efb44b 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_rc_msg_invalid_(prepared).json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_proposal_rc_msg_invalid_(prepared).json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 65, + "ExpectedErrorCode": 63, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_empty_signer.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_empty_signer.json index aec416ed5..8681ec7af 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_empty_signer.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_empty_signer.json @@ -68,7 +68,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_justification_no_quorum.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_justification_no_quorum.json index 69cf45040..44f2df981 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_justification_no_quorum.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_justification_no_quorum.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 68, + "ExpectedErrorCode": 66, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_justification_wrong_round.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_justification_wrong_round.json index 53a2c19df..4acd28ed0 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_justification_wrong_round.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_justification_wrong_round.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 57, + "ExpectedErrorCode": 55, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_multi_signers.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_multi_signers.json index 2da666f2c..0cc6d5025 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_multi_signers.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_multi_signers.json @@ -72,7 +72,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 58, + "ExpectedErrorCode": 56, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_past_round.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_past_round.json index b8d7b8081..ef854b02c 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_past_round.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_past_round.json @@ -98,7 +98,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 60, + "ExpectedErrorCode": 58, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_past_round_quorum.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_past_round_quorum.json index 46af6ea0e..098a5d489 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_past_round_quorum.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_past_round_quorum.json @@ -140,7 +140,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 60, + "ExpectedErrorCode": 58, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_zero_signer.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_zero_signer.json index a432279e8..fa9a7e038 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_zero_signer.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_change_zero_signer.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_cutoff_commit_message.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_cutoff_commit_message.json index 7d15ce739..9d2f62a1d 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_cutoff_commit_message.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_cutoff_commit_message.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 56, + "ExpectedErrorCode": 54, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_cutoff_prepare_message.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_cutoff_prepare_message.json index 56b6e75a7..49e652d4f 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_cutoff_prepare_message.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_cutoff_prepare_message.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 56, + "ExpectedErrorCode": 54, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_cutoff_proposal_message.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_cutoff_proposal_message.json index df8352a08..c3742119d 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_cutoff_proposal_message.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_cutoff_proposal_message.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 56, + "ExpectedErrorCode": 54, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_cutoff_round_change_message.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_cutoff_round_change_message.json index 2f65f53ca..1950fcb18 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_cutoff_round_change_message.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_round_cutoff_round_change_message.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 56, + "ExpectedErrorCode": 54, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_second_proposal_for_round.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_second_proposal_for_round.json index 4b76a76e4..390117a77 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_second_proposal_for_round.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_second_proposal_for_round.json @@ -99,7 +99,7 @@ "FullData": null } ], - "ExpectedErrorCode": 63, + "ExpectedErrorCode": 61, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_wrong_proposer.json b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_wrong_proposer.json index d2530aebe..0f1bf01b4 100644 --- a/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_wrong_proposer.json +++ b/qbft/spectest/generate/tests/tests.MsgProcessingSpecTest_qbft_message_processing_wrong_proposer.json @@ -70,7 +70,7 @@ } ], "OutputMessages": null, - "ExpectedErrorCode": 69, + "ExpectedErrorCode": 67, "ExpectedTimerState": null, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", diff --git a/qbft/spectest/generate/tests/tests.MsgSpecTest_qbft_message_msg_identifier_len_==_0.json b/qbft/spectest/generate/tests/tests.MsgSpecTest_qbft_message_msg_identifier_len_==_0.json index cf3e20927..f14ae451b 100644 --- a/qbft/spectest/generate/tests/tests.MsgSpecTest_qbft_message_msg_identifier_len_==_0.json +++ b/qbft/spectest/generate/tests/tests.MsgSpecTest_qbft_message_msg_identifier_len_==_0.json @@ -20,7 +20,7 @@ ], "EncodedMessages": null, "ExpectedRoots": null, - "ExpectedErrorCode": 33, + "ExpectedErrorCode": 31, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.MsgSpecTest_qbft_message_msg_identifier_nil.json b/qbft/spectest/generate/tests/tests.MsgSpecTest_qbft_message_msg_identifier_nil.json index 3afcc9bae..f72eabf41 100644 --- a/qbft/spectest/generate/tests/tests.MsgSpecTest_qbft_message_msg_identifier_nil.json +++ b/qbft/spectest/generate/tests/tests.MsgSpecTest_qbft_message_msg_identifier_nil.json @@ -20,7 +20,7 @@ ], "EncodedMessages": null, "ExpectedRoots": null, - "ExpectedErrorCode": 33, + "ExpectedErrorCode": 31, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.MsgSpecTest_qbft_message_msg_type_unknown.json b/qbft/spectest/generate/tests/tests.MsgSpecTest_qbft_message_msg_type_unknown.json index 644a11df0..3f9edf793 100644 --- a/qbft/spectest/generate/tests/tests.MsgSpecTest_qbft_message_msg_type_unknown.json +++ b/qbft/spectest/generate/tests/tests.MsgSpecTest_qbft_message_msg_type_unknown.json @@ -20,7 +20,7 @@ ], "EncodedMessages": null, "ExpectedRoots": null, - "ExpectedErrorCode": 31, + "ExpectedErrorCode": 29, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.MsgSpecTest_qbft_message_no_signers.json b/qbft/spectest/generate/tests/tests.MsgSpecTest_qbft_message_no_signers.json index 3b99af018..72f61bfb3 100644 --- a/qbft/spectest/generate/tests/tests.MsgSpecTest_qbft_message_no_signers.json +++ b/qbft/spectest/generate/tests/tests.MsgSpecTest_qbft_message_no_signers.json @@ -18,7 +18,7 @@ ], "EncodedMessages": null, "ExpectedRoots": null, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/tests.MsgSpecTest_qbft_message_signer_0.json b/qbft/spectest/generate/tests/tests.MsgSpecTest_qbft_message_signer_0.json index 22f469a9b..ad7d4f8b4 100644 --- a/qbft/spectest/generate/tests/tests.MsgSpecTest_qbft_message_signer_0.json +++ b/qbft/spectest/generate/tests/tests.MsgSpecTest_qbft_message_signer_0.json @@ -24,7 +24,7 @@ ], "EncodedMessages": null, "ExpectedRoots": null, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/qbft/spectest/generate/tests/timeout.SpecTest_qbft_timeout_round_15.json b/qbft/spectest/generate/tests/timeout.SpecTest_qbft_timeout_round_15.json index 37c726090..1dcb096cc 100644 --- a/qbft/spectest/generate/tests/timeout.SpecTest_qbft_timeout_round_15.json +++ b/qbft/spectest/generate/tests/timeout.SpecTest_qbft_timeout_round_15.json @@ -83,7 +83,7 @@ "Timeouts": 0, "Round": 0 }, - "ExpectedErrorCode": 72, + "ExpectedErrorCode": 70, "PrivateKeys": { "ValidatorSK": "3515c7d08e5affd729e9579f7588d30f2342ee6f6a9334acf006345262162c6f", "ValidatorPK": "8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/proposer.go b/ssv/proposer.go index 21e448da0..33979258a 100644 --- a/ssv/proposer.go +++ b/ssv/proposer.go @@ -98,7 +98,7 @@ func (r *ProposerRunner) ProcessPreConsensus(signedMsg *types.PartialSignatureMe return errors.Wrap(err, "could not marshal beacon block") } - input := &types.ValidatorConsensusData{ + input := &types.ProposerConsensusData{ Duty: *duty, Version: vBlk.Version, DataSSZ: byts, @@ -112,7 +112,7 @@ func (r *ProposerRunner) ProcessPreConsensus(signedMsg *types.PartialSignatureMe } func (r *ProposerRunner) ProcessConsensus(signedMsg *types.SignedSSVMessage) error { - decided, decidedValue, err := r.BaseRunner.baseConsensusMsgProcessing(r, signedMsg, &types.ValidatorConsensusData{}) + decided, decidedValue, err := r.BaseRunner.baseConsensusMsgProcessing(r, signedMsg, &types.ProposerConsensusData{}) if err != nil { return errors.Wrap(err, "failed processing consensus message") } @@ -125,7 +125,7 @@ func (r *ProposerRunner) ProcessConsensus(signedMsg *types.SignedSSVMessage) err // specific duty sig var blkToSign ssz.HashRoot - cd := decidedValue.(*types.ValidatorConsensusData) + cd := decidedValue.(*types.ProposerConsensusData) _, blkToSign, err = cd.GetBlockData() if err != nil { return errors.Wrap(err, "could not get block data") @@ -196,12 +196,12 @@ func (r *ProposerRunner) ProcessPostConsensus(signedMsg *types.PartialSignatureM specSig := phase0.BLSSignature{} copy(specSig[:], sig) - validatorConsensusData := &types.ValidatorConsensusData{} - err = validatorConsensusData.Decode(r.GetState().DecidedValue) + proposerConsensusData := &types.ProposerConsensusData{} + err = proposerConsensusData.Decode(r.GetState().DecidedValue) if err != nil { return errors.Wrap(err, "could not create consensus data") } - vBlk, _, err := validatorConsensusData.GetBlockData() + vBlk, _, err := proposerConsensusData.GetBlockData() if err != nil { return errors.Wrap(err, "could not get block") } @@ -221,13 +221,13 @@ func (r *ProposerRunner) expectedPreConsensusRootsAndDomain() ([]ssz.HashRoot, p // expectedPostConsensusRootsAndDomain an INTERNAL function, returns the expected post-consensus roots to sign func (r *ProposerRunner) expectedPostConsensusRootsAndDomain() ([]ssz.HashRoot, phase0.DomainType, error) { - validatorConsensusData := &types.ValidatorConsensusData{} - err := validatorConsensusData.Decode(r.GetState().DecidedValue) + proposerConsensusData := &types.ProposerConsensusData{} + err := proposerConsensusData.Decode(r.GetState().DecidedValue) if err != nil { return nil, phase0.DomainType{}, errors.Wrap(err, "could not create consensus data") } - _, data, err := validatorConsensusData.GetBlockData() + _, data, err := proposerConsensusData.GetBlockData() if err != nil { return nil, phase0.DomainType{}, errors.Wrap(err, "could not get block data") } diff --git a/ssv/runner.go b/ssv/runner.go index 0e184e45e..344f19c3f 100644 --- a/ssv/runner.go +++ b/ssv/runner.go @@ -140,11 +140,11 @@ func (b *BaseRunner) baseConsensusMsgProcessing(runner Runner, msg *types.Signed } if err := decidedValue.Decode(decidedSignedMsg.FullData); err != nil { - return true, nil, errors.Wrap(err, "failed to parse decided value to ValidatorConsensusData") + return true, nil, errors.Wrap(err, "failed to parse decided value to consensus data") } if err := b.validateDecidedConsensusData(runner, decidedValue); err != nil { - return true, nil, errors.Wrap(err, "decided ValidatorConsensusData invalid") + return true, nil, errors.Wrap(err, "decided consensus data invalid") } runner.GetBaseRunner().State.DecidedValue, err = decidedValue.Encode() @@ -233,7 +233,7 @@ func (b *BaseRunner) didDecideCorrectly(prevDecided bool, signedMessage *types.S return true, nil } -// decide input param can be a BeaconVote or ValidatorConsensusData +// decide input param can be a BeaconVote, ProposerConsensusData, or AggregatorCommitteeConsensusData func (b *BaseRunner) decide(runner Runner, slot phase0.Slot, input types.Encoder) error { byts, err := input.Encode() if err != nil { diff --git a/ssv/runner_validations.go b/ssv/runner_validations.go index 3679ffa4a..b63c8fbf5 100644 --- a/ssv/runner_validations.go +++ b/ssv/runner_validations.go @@ -87,9 +87,9 @@ func (b *BaseRunner) ValidatePostConsensusMsg(runner Runner, psigMsgs *types.Par return b.validatePartialSigMsgForSlot(psigMsgs, b.State.StartingDuty.DutySlot()) default: - decidedValue := &types.ValidatorConsensusData{} + decidedValue := &types.ProposerConsensusData{} if err := decidedValue.Decode(decidedValueBytes); err != nil { - return errors.Wrap(err, "failed to parse decided value to ValidatorConsensusData") + return errors.Wrap(err, "failed to parse decided value to ProposerConsensusData") } if err := b.validatePartialSigMsgForSlot(psigMsgs, decidedValue.Duty.Slot); err != nil { diff --git a/ssv/spectest/generate/tests/committee.CommitteeSpecTest_empty_committee_duty.json b/ssv/spectest/generate/tests/committee.CommitteeSpecTest_empty_committee_duty.json index 419988c03..148e294be 100644 --- a/ssv/spectest/generate/tests/committee.CommitteeSpecTest_empty_committee_duty.json +++ b/ssv/spectest/generate/tests/committee.CommitteeSpecTest_empty_committee_duty.json @@ -72,5 +72,5 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 26 + "ExpectedErrorCode": 24 } \ No newline at end of file diff --git a/ssv/spectest/generate/tests/committee.CommitteeSpecTest_start_with_no_shares_for_duty.json b/ssv/spectest/generate/tests/committee.CommitteeSpecTest_start_with_no_shares_for_duty.json index 774315b41..fe750570e 100644 --- a/ssv/spectest/generate/tests/committee.CommitteeSpecTest_start_with_no_shares_for_duty.json +++ b/ssv/spectest/generate/tests/committee.CommitteeSpecTest_start_with_no_shares_for_duty.json @@ -84,5 +84,5 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 27 + "ExpectedErrorCode": 25 } \ No newline at end of file diff --git a/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_aggregator_committee_runner_duty_with_different_slots.json b/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_aggregator_committee_runner_duty_with_different_slots.json index dff48f70f..b0c200604 100644 --- a/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_aggregator_committee_runner_duty_with_different_slots.json +++ b/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_aggregator_committee_runner_duty_with_different_slots.json @@ -103,7 +103,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": [], "BeaconBroadcastedRoots": [], - "ExpectedErrorCode": 84 + "ExpectedErrorCode": 82 }, { "Name": "aggregator committee mixed (electra)", @@ -205,7 +205,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": [], "BeaconBroadcastedRoots": [], - "ExpectedErrorCode": 84 + "ExpectedErrorCode": 82 } ], "PrivateKeys": { diff --git a/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_past_msg_duty_does_not_exist.json b/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_past_msg_duty_does_not_exist.json index fa1b171d4..afdf9a31b 100644 --- a/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_past_msg_duty_does_not_exist.json +++ b/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_past_msg_duty_does_not_exist.json @@ -1320,7 +1320,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 22 + "ExpectedErrorCode": 20 }, { "Name": "30 sync committee (phase0)", @@ -2759,7 +2759,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 22 + "ExpectedErrorCode": 20 }, { "Name": "30 attestation 30 sync committee (phase0)", @@ -4528,7 +4528,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 22 + "ExpectedErrorCode": 20 }, { "Name": "30 attestation (electra)", @@ -5847,7 +5847,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 22 + "ExpectedErrorCode": 20 }, { "Name": "30 sync committee (electra)", @@ -7286,7 +7286,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 22 + "ExpectedErrorCode": 20 }, { "Name": "30 attestation 30 sync committee (electra)", @@ -9055,7 +9055,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 22 + "ExpectedErrorCode": 20 } ], "PrivateKeys": { diff --git a/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_past_msg_duty_finished.json b/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_past_msg_duty_finished.json index f3f952105..420ba223e 100644 --- a/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_past_msg_duty_finished.json +++ b/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_past_msg_duty_finished.json @@ -3380,7 +3380,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 23 + "ExpectedErrorCode": 21 }, { "Name": "30 sync committee (phase0)", @@ -6999,7 +6999,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 23 + "ExpectedErrorCode": 21 }, { "Name": "30 attestation 30 sync committee (phase0)", @@ -11428,7 +11428,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 23 + "ExpectedErrorCode": 21 }, { "Name": "30 attestation (electra)", @@ -14807,7 +14807,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 23 + "ExpectedErrorCode": 21 }, { "Name": "30 sync committee (electra)", @@ -18426,7 +18426,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 23 + "ExpectedErrorCode": 21 }, { "Name": "30 attestation 30 sync committee (electra)", @@ -22855,7 +22855,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 23 + "ExpectedErrorCode": 21 } ], "PrivateKeys": { diff --git a/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_past_msg_duty_not_finished.json b/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_past_msg_duty_not_finished.json index 16285e0a0..7b83d2aa9 100644 --- a/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_past_msg_duty_not_finished.json +++ b/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_past_msg_duty_not_finished.json @@ -3169,7 +3169,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 24 + "ExpectedErrorCode": 22 }, { "Name": "30 sync committee (phase0)", @@ -6577,7 +6577,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 24 + "ExpectedErrorCode": 22 }, { "Name": "30 attestation 30 sync committee (phase0)", @@ -10645,7 +10645,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 24 + "ExpectedErrorCode": 22 }, { "Name": "30 attestation (electra)", @@ -13813,7 +13813,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 24 + "ExpectedErrorCode": 22 }, { "Name": "30 sync committee (electra)", @@ -17221,7 +17221,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 24 + "ExpectedErrorCode": 22 }, { "Name": "30 attestation 30 sync committee (electra)", @@ -21289,7 +21289,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 24 + "ExpectedErrorCode": 22 } ], "PrivateKeys": { diff --git a/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_proposal_with_consensus_data.json b/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_proposal_with_consensus_data.json index 7b0f9257e..b599fb16b 100644 --- a/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_proposal_with_consensus_data.json +++ b/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_proposal_with_consensus_data.json @@ -1,7 +1,7 @@ { "Name": "proposal with consensus data", "Type": "Multi committee: multiple committee tests", - "Documentation": "Tests committee behavior when processing proposal messages with ValidatorConsensusData instead of BeaconVote objects", + "Documentation": "Tests committee behavior when processing proposal messages with other consensus data instead of BeaconVote objects", "Tests": [ { "Name": "30 attestation (phase0)", @@ -1320,7 +1320,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 25 + "ExpectedErrorCode": 23 }, { "Name": "30 sync committee (phase0)", @@ -2759,7 +2759,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 25 + "ExpectedErrorCode": 23 }, { "Name": "30 attestations 30 sync committees (phase0)", @@ -4528,7 +4528,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 25 + "ExpectedErrorCode": 23 }, { "Name": "30 attestation (electra)", @@ -5847,7 +5847,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 25 + "ExpectedErrorCode": 23 }, { "Name": "30 sync committee (electra)", @@ -7286,7 +7286,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 25 + "ExpectedErrorCode": 23 }, { "Name": "30 attestations 30 sync committees (electra)", @@ -9055,7 +9055,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 25 + "ExpectedErrorCode": 23 } ], "PrivateKeys": { diff --git a/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_wrong_beacon_vote.json b/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_wrong_beacon_vote.json index 45b8bc34c..ff9330f42 100644 --- a/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_wrong_beacon_vote.json +++ b/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_wrong_beacon_vote.json @@ -1770,7 +1770,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 28 + "ExpectedErrorCode": 26 }, { "Name": "30 attestations 30 sync committees (electra)", @@ -3539,7 +3539,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 28 + "ExpectedErrorCode": 26 } ], "PrivateKeys": { diff --git a/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_wrong_message_ID.json b/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_wrong_message_ID.json index 87d5555f0..d44584533 100644 --- a/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_wrong_message_ID.json +++ b/ssv/spectest/generate/tests/committee.MultiCommitteeSpecTest_wrong_message_ID.json @@ -110,7 +110,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 30 + "ExpectedErrorCode": 28 }, { "Name": "attestation (phase0)", @@ -215,7 +215,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 30 + "ExpectedErrorCode": 28 }, { "Name": "sync committees (electra)", @@ -324,7 +324,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 30 + "ExpectedErrorCode": 28 }, { "Name": "attestation (electra)", @@ -429,7 +429,7 @@ "PostDutyCommitteeRoot": "", "OutputMessages": null, "BeaconBroadcastedRoots": null, - "ExpectedErrorCode": 30 + "ExpectedErrorCode": 28 } ], "PrivateKeys": { diff --git a/ssv/spectest/generate/tests/newduty.MultiStartNewRunnerDutySpecTest_duplicate_duty_finished.json b/ssv/spectest/generate/tests/newduty.MultiStartNewRunnerDutySpecTest_duplicate_duty_finished.json index 8c6c357a8..568a086f3 100644 --- a/ssv/spectest/generate/tests/newduty.MultiStartNewRunnerDutySpecTest_duplicate_duty_finished.json +++ b/ssv/spectest/generate/tests/newduty.MultiStartNewRunnerDutySpecTest_duplicate_duty_finished.json @@ -234,7 +234,7 @@ ] } ], - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -466,7 +466,7 @@ ] } ], - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -547,7 +547,7 @@ }, "PostDutyRunnerStateRoot": "2ac409163b617c79a2a11d3919d6834d24c5c32f06113237a12afcf43e7757a0", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -628,7 +628,7 @@ }, "PostDutyRunnerStateRoot": "2ac409163b617c79a2a11d3919d6834d24c5c32f06113237a12afcf43e7757a0", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -856,7 +856,7 @@ ] } ], - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1089,7 +1089,7 @@ ] } ], - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1309,7 +1309,7 @@ }, "PostDutyRunnerStateRoot": "a96148ae850dd3d3a0d63869a95702174739151fa271ba463a3c163cabe35e13", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1533,7 +1533,7 @@ }, "PostDutyRunnerStateRoot": "a96148ae850dd3d3a0d63869a95702174739151fa271ba463a3c163cabe35e13", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1772,7 +1772,7 @@ }, "PostDutyRunnerStateRoot": "a96148ae850dd3d3a0d63869a95702174739151fa271ba463a3c163cabe35e13", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2007,7 +2007,7 @@ }, "PostDutyRunnerStateRoot": "a96148ae850dd3d3a0d63869a95702174739151fa271ba463a3c163cabe35e13", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2231,7 +2231,7 @@ }, "PostDutyRunnerStateRoot": "a96148ae850dd3d3a0d63869a95702174739151fa271ba463a3c163cabe35e13", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2470,7 +2470,7 @@ }, "PostDutyRunnerStateRoot": "a96148ae850dd3d3a0d63869a95702174739151fa271ba463a3c163cabe35e13", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/newduty.MultiStartNewRunnerDutySpecTest_duplicate_duty_not_finished.json b/ssv/spectest/generate/tests/newduty.MultiStartNewRunnerDutySpecTest_duplicate_duty_not_finished.json index d95404ec1..ae8a918dc 100644 --- a/ssv/spectest/generate/tests/newduty.MultiStartNewRunnerDutySpecTest_duplicate_duty_not_finished.json +++ b/ssv/spectest/generate/tests/newduty.MultiStartNewRunnerDutySpecTest_duplicate_duty_not_finished.json @@ -234,7 +234,7 @@ ] } ], - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -466,7 +466,7 @@ ] } ], - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -547,7 +547,7 @@ }, "PostDutyRunnerStateRoot": "2ac409163b617c79a2a11d3919d6834d24c5c32f06113237a12afcf43e7757a0", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -628,7 +628,7 @@ }, "PostDutyRunnerStateRoot": "2ac409163b617c79a2a11d3919d6834d24c5c32f06113237a12afcf43e7757a0", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -856,7 +856,7 @@ ] } ], - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1089,7 +1089,7 @@ ] } ], - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1309,7 +1309,7 @@ }, "PostDutyRunnerStateRoot": "c3556c0d6524a6483057916e68c49e8815b25a47cf8e6677c5a37c2a42f89629", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1533,7 +1533,7 @@ }, "PostDutyRunnerStateRoot": "c3556c0d6524a6483057916e68c49e8815b25a47cf8e6677c5a37c2a42f89629", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1772,7 +1772,7 @@ }, "PostDutyRunnerStateRoot": "c3556c0d6524a6483057916e68c49e8815b25a47cf8e6677c5a37c2a42f89629", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2007,7 +2007,7 @@ }, "PostDutyRunnerStateRoot": "c3556c0d6524a6483057916e68c49e8815b25a47cf8e6677c5a37c2a42f89629", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2231,7 +2231,7 @@ }, "PostDutyRunnerStateRoot": "c3556c0d6524a6483057916e68c49e8815b25a47cf8e6677c5a37c2a42f89629", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2470,7 +2470,7 @@ }, "PostDutyRunnerStateRoot": "c3556c0d6524a6483057916e68c49e8815b25a47cf8e6677c5a37c2a42f89629", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/newduty.MultiStartNewRunnerDutySpecTest_new_duty_post_future_decided.json b/ssv/spectest/generate/tests/newduty.MultiStartNewRunnerDutySpecTest_new_duty_post_future_decided.json index b459ac732..d554819d6 100644 --- a/ssv/spectest/generate/tests/newduty.MultiStartNewRunnerDutySpecTest_new_duty_post_future_decided.json +++ b/ssv/spectest/generate/tests/newduty.MultiStartNewRunnerDutySpecTest_new_duty_post_future_decided.json @@ -284,7 +284,7 @@ ] } ], - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -566,7 +566,7 @@ ] } ], - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -844,7 +844,7 @@ ] } ], - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1127,7 +1127,7 @@ ] } ], - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1397,7 +1397,7 @@ }, "PostDutyRunnerStateRoot": "", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1671,7 +1671,7 @@ }, "PostDutyRunnerStateRoot": "", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1960,7 +1960,7 @@ }, "PostDutyRunnerStateRoot": "", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2245,7 +2245,7 @@ }, "PostDutyRunnerStateRoot": "", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2519,7 +2519,7 @@ }, "PostDutyRunnerStateRoot": "", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2808,7 +2808,7 @@ }, "PostDutyRunnerStateRoot": "", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/newduty.MultiStartNewRunnerDutySpecTest_new_duty_post_wrong_decided.json b/ssv/spectest/generate/tests/newduty.MultiStartNewRunnerDutySpecTest_new_duty_post_wrong_decided.json index 1612b4cce..9a380a263 100644 --- a/ssv/spectest/generate/tests/newduty.MultiStartNewRunnerDutySpecTest_new_duty_post_wrong_decided.json +++ b/ssv/spectest/generate/tests/newduty.MultiStartNewRunnerDutySpecTest_new_duty_post_wrong_decided.json @@ -284,7 +284,7 @@ ] } ], - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -566,7 +566,7 @@ ] } ], - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -844,7 +844,7 @@ ] } ], - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1127,7 +1127,7 @@ ] } ], - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1397,7 +1397,7 @@ }, "PostDutyRunnerStateRoot": "", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1671,7 +1671,7 @@ }, "PostDutyRunnerStateRoot": "", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1960,7 +1960,7 @@ }, "PostDutyRunnerStateRoot": "", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2245,7 +2245,7 @@ }, "PostDutyRunnerStateRoot": "", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2519,7 +2519,7 @@ }, "PostDutyRunnerStateRoot": "", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2808,7 +2808,7 @@ }, "PostDutyRunnerStateRoot": "", "OutputMessages": null, - "ExpectedErrorCode": 42, + "ExpectedErrorCode": 40, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/partialsigcontainer.PartialSigContainerTest_PartialSigContainer_duplicate.json b/ssv/spectest/generate/tests/partialsigcontainer.PartialSigContainerTest_PartialSigContainer_duplicate.json index 295a6d248..22692c99c 100644 --- a/ssv/spectest/generate/tests/partialsigcontainer.PartialSigContainerTest_PartialSigContainer_duplicate.json +++ b/ssv/spectest/generate/tests/partialsigcontainer.PartialSigContainerTest_PartialSigContainer_duplicate.json @@ -24,7 +24,7 @@ "ValidatorIndex": "1" } ], - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ExpectedResult": null, "ExpectedQuorum": false, "PrivateKeys": { diff --git a/ssv/spectest/generate/tests/partialsigcontainer.PartialSigContainerTest_PartialSigContainer_invalid.json b/ssv/spectest/generate/tests/partialsigcontainer.PartialSigContainerTest_PartialSigContainer_invalid.json index 533de6ed6..5b9984cfa 100644 --- a/ssv/spectest/generate/tests/partialsigcontainer.PartialSigContainerTest_PartialSigContainer_invalid.json +++ b/ssv/spectest/generate/tests/partialsigcontainer.PartialSigContainerTest_PartialSigContainer_invalid.json @@ -24,7 +24,7 @@ "ValidatorIndex": "1" } ], - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ExpectedResult": null, "ExpectedQuorum": true, "PrivateKeys": { diff --git a/ssv/spectest/generate/tests/partialsigcontainer.PartialSigContainerTest_PartialSigContainer_one_signature.json b/ssv/spectest/generate/tests/partialsigcontainer.PartialSigContainerTest_PartialSigContainer_one_signature.json index 889e9fd78..4c10b0462 100644 --- a/ssv/spectest/generate/tests/partialsigcontainer.PartialSigContainerTest_PartialSigContainer_one_signature.json +++ b/ssv/spectest/generate/tests/partialsigcontainer.PartialSigContainerTest_PartialSigContainer_one_signature.json @@ -12,7 +12,7 @@ "ValidatorIndex": "1" } ], - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ExpectedResult": null, "ExpectedQuorum": false, "PrivateKeys": { diff --git a/ssv/spectest/generate/tests/tests.MsgProcessingSpecTest_decide_on_slashable_attestation.json b/ssv/spectest/generate/tests/tests.MsgProcessingSpecTest_decide_on_slashable_attestation.json index 85e880cc3..cd53ef7a1 100644 --- a/ssv/spectest/generate/tests/tests.MsgProcessingSpecTest_decide_on_slashable_attestation.json +++ b/ssv/spectest/generate/tests/tests.MsgProcessingSpecTest_decide_on_slashable_attestation.json @@ -175,7 +175,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 35, + "ExpectedErrorCode": 33, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_decided_invalid_value.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_decided_invalid_value.json index 5a0d28691..a3fde45c8 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_decided_invalid_value.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_decided_invalid_value.json @@ -167,7 +167,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 80, + "ExpectedErrorCode": 78, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -341,7 +341,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 66, + "ExpectedErrorCode": 64, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -506,7 +506,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 66, + "ExpectedErrorCode": 64, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -671,7 +671,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 80, + "ExpectedErrorCode": 78, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -841,7 +841,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 80, + "ExpectedErrorCode": 78, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -956,7 +956,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 28, + "ExpectedErrorCode": 26, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1071,7 +1071,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 28, + "ExpectedErrorCode": 26, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1190,7 +1190,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 28, + "ExpectedErrorCode": 26, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1320,7 +1320,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 28, + "ExpectedErrorCode": 26, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1435,7 +1435,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 28, + "ExpectedErrorCode": 26, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1554,7 +1554,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 28, + "ExpectedErrorCode": 26, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_future_decided.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_future_decided.json index 6d0928e41..99484d40f 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_future_decided.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_future_decided.json @@ -167,7 +167,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -341,7 +341,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -511,7 +511,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -626,7 +626,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -741,7 +741,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -860,7 +860,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -990,7 +990,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1105,7 +1105,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1224,7 +1224,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1409,7 +1409,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 36, + "ExpectedErrorCode": 34, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -1574,7 +1574,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 36, + "ExpectedErrorCode": 34, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -1739,7 +1739,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 36, + "ExpectedErrorCode": 34, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -1904,7 +1904,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 36, + "ExpectedErrorCode": 34, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -2069,7 +2069,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 36, + "ExpectedErrorCode": 34, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -2234,7 +2234,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 36, + "ExpectedErrorCode": 34, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -2399,7 +2399,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 36, + "ExpectedErrorCode": 34, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -2564,7 +2564,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 36, + "ExpectedErrorCode": 34, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_future_decided_no_running_instance.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_future_decided_no_running_instance.json index 9809088ed..581551966 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_future_decided_no_running_instance.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_future_decided_no_running_instance.json @@ -100,7 +100,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -219,7 +219,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -334,7 +334,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -449,7 +449,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -564,7 +564,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -683,7 +683,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -813,7 +813,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -928,7 +928,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1047,7 +1047,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_future_message.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_future_message.json index 4fd7bdd3c..69920cb25 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_future_message.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_future_message.json @@ -96,7 +96,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -407,7 +407,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 37, + "ExpectedErrorCode": 35, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -497,7 +497,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 39, + "ExpectedErrorCode": 37, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -603,7 +603,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -714,7 +714,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -825,7 +825,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -936,7 +936,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1051,7 +1051,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1177,7 +1177,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1288,7 +1288,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1403,7 +1403,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_invalid_signature.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_invalid_signature.json index d646ecbfe..cb1b2aae2 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_invalid_signature.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_invalid_signature.json @@ -163,7 +163,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -333,7 +333,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -494,7 +494,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -628,7 +628,7 @@ "2d85ab5ae407b606a8a5740840d508aa10f58580a4163eb88ad9004656f0f285" ], "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -762,7 +762,7 @@ "c2d0cd2586c5de08d0b1030b8c7974a45ea0b514b630206e78db3456fb5bc091" ], "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -923,7 +923,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1089,7 +1089,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1200,7 +1200,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1311,7 +1311,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1426,7 +1426,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1552,7 +1552,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1663,7 +1663,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1778,7 +1778,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_past_message.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_past_message.json index f44624ece..ba585fd8e 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_past_message.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_past_message.json @@ -147,7 +147,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -560,7 +560,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 37, + "ExpectedErrorCode": 35, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -650,7 +650,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 39, + "ExpectedErrorCode": 37, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -807,7 +807,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -969,7 +969,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1131,7 +1131,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1293,7 +1293,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1459,7 +1459,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1636,7 +1636,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1798,7 +1798,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1964,7 +1964,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_valid_message.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_valid_message.json index b1c201ca9..e547623a1 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_valid_message.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_valid_message.json @@ -628,7 +628,7 @@ "2d85ab5ae407b606a8a5740840d508aa10f58580a4163eb88ad9004656f0f285" ], "DontStartDuty": false, - "ExpectedErrorCode": 37, + "ExpectedErrorCode": 35, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -762,7 +762,7 @@ "c2d0cd2586c5de08d0b1030b8c7974a45ea0b514b630206e78db3456fb5bc091" ], "DontStartDuty": false, - "ExpectedErrorCode": 39, + "ExpectedErrorCode": 37, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_valid_post_decided.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_valid_post_decided.json index 379750550..2eebcb5c5 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_valid_post_decided.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_valid_post_decided.json @@ -285,7 +285,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 24, + "ExpectedErrorCode": 22, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -565,7 +565,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 24, + "ExpectedErrorCode": 22, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -841,7 +841,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 24, + "ExpectedErrorCode": 22, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1063,7 +1063,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 24, + "ExpectedErrorCode": 22, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1285,7 +1285,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 24, + "ExpectedErrorCode": 22, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1517,7 +1517,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 24, + "ExpectedErrorCode": 22, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1754,7 +1754,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 24, + "ExpectedErrorCode": 22, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1976,7 +1976,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 24, + "ExpectedErrorCode": 22, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2208,7 +2208,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 24, + "ExpectedErrorCode": 22, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2499,7 +2499,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 24, + "ExpectedErrorCode": 22, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -2770,7 +2770,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 24, + "ExpectedErrorCode": 22, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -3041,7 +3041,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 24, + "ExpectedErrorCode": 22, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -3312,7 +3312,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 24, + "ExpectedErrorCode": 22, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -3583,7 +3583,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 24, + "ExpectedErrorCode": 22, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -3854,7 +3854,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 24, + "ExpectedErrorCode": 22, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4125,7 +4125,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 24, + "ExpectedErrorCode": 22, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4396,7 +4396,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 24, + "ExpectedErrorCode": 22, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_valid_post_finish.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_valid_post_finish.json index 183e68b30..ebb5f7bf1 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_valid_post_finish.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_consensus_valid_post_finish.json @@ -331,7 +331,7 @@ "6afbfc096eb378a4639cb91edce27d53c819bb88d768e1fc33c08156bf6b6176" ], "DontStartDuty": false, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -655,7 +655,7 @@ "f70f0d66eef58758b860051f98aa2d2bad666540ef817884c2b5526cf477dbf8" ], "DontStartDuty": false, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -975,7 +975,7 @@ "fce842dbd96b15fb1a8a6d1bfa2c9ce47dc88e74531abdb69d666c043d908abc" ], "DontStartDuty": false, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1241,7 +1241,7 @@ "80641c9de207e4fb82cb83ebbd5338437dc08cb6282ce47ff3ca66b406cd00b8" ], "DontStartDuty": false, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1507,7 +1507,7 @@ "d65c039becb42839faa125161a2a8feca88d363db1749556de9fe4ea01a9c982" ], "DontStartDuty": false, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1784,7 +1784,7 @@ "d65c039becb42839faa125161a2a8feca88d363db1749556de9fe4ea01a9c982" ], "DontStartDuty": false, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2065,7 +2065,7 @@ "60a8498be325eb6689e8501634726cac902261186ca94f95be92758b5a5fb3a7" ], "DontStartDuty": false, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2331,7 +2331,7 @@ "9d0869abc61d97929518c0f3b10e9aae344ea03621ca1fe815c47672165ea970" ], "DontStartDuty": false, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2608,7 +2608,7 @@ "9d0869abc61d97929518c0f3b10e9aae344ea03621ca1fe815c47672165ea970" ], "DontStartDuty": false, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2943,7 +2943,7 @@ "10183cdaea14fba962c389d29e01a0f4bec3199851c40197e02fbe98ae97fef9" ], "DontStartDuty": false, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -3258,7 +3258,7 @@ "10183cdaea14fba962c389d29e01a0f4bec3199851c40197e02fbe98ae97fef9" ], "DontStartDuty": false, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -3573,7 +3573,7 @@ "7566b263455230d5250a162dc29924463f74e85ea558486d63fe9e1e9e91c85d" ], "DontStartDuty": false, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -3888,7 +3888,7 @@ "d2b611753af6167e7ea3317e517849e290a2e34ef40c8bf954c1b13f80269d3c" ], "DontStartDuty": false, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4203,7 +4203,7 @@ "53f2f1900e431c7161e4b1f077672c198aea60e2a23fd58e40b5438594f54628" ], "DontStartDuty": false, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4518,7 +4518,7 @@ "6b3850da01083b77203a02aa28cab231cec3d4752ed2700556c2b42fe3ce0cf0" ], "DontStartDuty": false, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4833,7 +4833,7 @@ "59799f28653ade1ec4fbf5770b8a7c4ae357ae13cc6578a9298af726ed16ff33" ], "DontStartDuty": false, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -5148,7 +5148,7 @@ "3078256cd8df2dc17c54083163e2aaeebeb1dbd632418ca7b710de3315a544f0" ], "DontStartDuty": false, - "ExpectedErrorCode": 23, + "ExpectedErrorCode": 21, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_different_length_of_signers_and_signatures.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_different_length_of_signers_and_signatures.json index 63a5de1f6..b51175741 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_different_length_of_signers_and_signatures.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_different_length_of_signers_and_signatures.json @@ -164,7 +164,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -335,7 +335,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -497,7 +497,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -632,7 +632,7 @@ "2d85ab5ae407b606a8a5740840d508aa10f58580a4163eb88ad9004656f0f285" ], "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -767,7 +767,7 @@ "c2d0cd2586c5de08d0b1030b8c7974a45ea0b514b630206e78db3456fb5bc091" ], "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -929,7 +929,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1096,7 +1096,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1208,7 +1208,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1320,7 +1320,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1436,7 +1436,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1563,7 +1563,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1675,7 +1675,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1791,7 +1791,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_empty_signature.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_empty_signature.json index ffe98804b..ce3cb6455 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_empty_signature.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_empty_signature.json @@ -163,7 +163,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -333,7 +333,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -494,7 +494,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -628,7 +628,7 @@ "2d85ab5ae407b606a8a5740840d508aa10f58580a4163eb88ad9004656f0f285" ], "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -762,7 +762,7 @@ "c2d0cd2586c5de08d0b1030b8c7974a45ea0b514b630206e78db3456fb5bc091" ], "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -923,7 +923,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1089,7 +1089,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1200,7 +1200,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1311,7 +1311,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1426,7 +1426,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1552,7 +1552,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1663,7 +1663,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1778,7 +1778,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_nil_SSVMessage.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_nil_SSVMessage.json index e8c12d1b6..1c92c5168 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_nil_SSVMessage.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_nil_SSVMessage.json @@ -159,7 +159,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -325,7 +325,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -482,7 +482,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -612,7 +612,7 @@ "2d85ab5ae407b606a8a5740840d508aa10f58580a4163eb88ad9004656f0f285" ], "DontStartDuty": false, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -742,7 +742,7 @@ "c2d0cd2586c5de08d0b1030b8c7974a45ea0b514b630206e78db3456fb5bc091" ], "DontStartDuty": false, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -899,7 +899,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1061,7 +1061,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1168,7 +1168,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1275,7 +1275,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1386,7 +1386,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1508,7 +1508,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1615,7 +1615,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1726,7 +1726,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_no_signatures.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_no_signatures.json index 3acf40d79..d20299144 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_no_signatures.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_no_signatures.json @@ -161,7 +161,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -329,7 +329,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -488,7 +488,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -620,7 +620,7 @@ "2d85ab5ae407b606a8a5740840d508aa10f58580a4163eb88ad9004656f0f285" ], "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -752,7 +752,7 @@ "c2d0cd2586c5de08d0b1030b8c7974a45ea0b514b630206e78db3456fb5bc091" ], "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -911,7 +911,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1075,7 +1075,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1184,7 +1184,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1293,7 +1293,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1406,7 +1406,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1530,7 +1530,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1639,7 +1639,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1752,7 +1752,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_no_signers.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_no_signers.json index 61a7c921d..598fa1c45 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_no_signers.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_no_signers.json @@ -161,7 +161,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -329,7 +329,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -488,7 +488,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -620,7 +620,7 @@ "2d85ab5ae407b606a8a5740840d508aa10f58580a4163eb88ad9004656f0f285" ], "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -752,7 +752,7 @@ "c2d0cd2586c5de08d0b1030b8c7974a45ea0b514b630206e78db3456fb5bc091" ], "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -911,7 +911,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1075,7 +1075,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1184,7 +1184,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1293,7 +1293,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1406,7 +1406,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1530,7 +1530,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1639,7 +1639,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1752,7 +1752,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_before_decided.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_before_decided.json index 372d93d27..8630842d6 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_before_decided.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_before_decided.json @@ -163,7 +163,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -333,7 +333,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -517,7 +517,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -698,7 +698,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -882,7 +882,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1008,7 +1008,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1119,7 +1119,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1234,7 +1234,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1360,7 +1360,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1471,7 +1471,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1586,7 +1586,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1767,7 +1767,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -1928,7 +1928,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -2089,7 +2089,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -2250,7 +2250,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -2411,7 +2411,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -2572,7 +2572,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -2733,7 +2733,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -2894,7 +2894,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_decided_invalid_value.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_decided_invalid_value.json index a59d0a9e2..a3f0b4308 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_decided_invalid_value.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_decided_invalid_value.json @@ -169,7 +169,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -348,7 +348,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -539,7 +539,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -727,7 +727,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -929,7 +929,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1128,7 +1128,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1330,7 +1330,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1474,7 +1474,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1603,7 +1603,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1736,7 +1736,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1880,7 +1880,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2009,7 +2009,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2142,7 +2142,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 45, + "ExpectedErrorCode": 43, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_duplicate_msg_different_root_then_quorum.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_duplicate_msg_different_root_then_quorum.json index 9f675461d..7349983a4 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_duplicate_msg_different_root_then_quorum.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_duplicate_msg_different_root_then_quorum.json @@ -3530,7 +3530,7 @@ "10183cdaea14fba962c389d29e01a0f4bec3199851c40197e02fbe98ae97fef9" ], "DontStartDuty": true, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -3803,7 +3803,7 @@ "10183cdaea14fba962c389d29e01a0f4bec3199851c40197e02fbe98ae97fef9" ], "DontStartDuty": true, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4076,7 +4076,7 @@ "7566b263455230d5250a162dc29924463f74e85ea558486d63fe9e1e9e91c85d" ], "DontStartDuty": true, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4349,7 +4349,7 @@ "d2b611753af6167e7ea3317e517849e290a2e34ef40c8bf954c1b13f80269d3c" ], "DontStartDuty": true, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4622,7 +4622,7 @@ "53f2f1900e431c7161e4b1f077672c198aea60e2a23fd58e40b5438594f54628" ], "DontStartDuty": true, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4895,7 +4895,7 @@ "6b3850da01083b77203a02aa28cab231cec3d4752ed2700556c2b42fe3ce0cf0" ], "DontStartDuty": true, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -5168,7 +5168,7 @@ "59799f28653ade1ec4fbf5770b8a7c4ae357ae13cc6578a9298af726ed16ff33" ], "DontStartDuty": true, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -5441,7 +5441,7 @@ "3078256cd8df2dc17c54083163e2aaeebeb1dbd632418ca7b710de3315a544f0" ], "DontStartDuty": true, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_duplicate_msg_different_roots.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_duplicate_msg_different_roots.json index 208af5ed1..a67e90915 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_duplicate_msg_different_roots.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_duplicate_msg_different_roots.json @@ -3160,7 +3160,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -3403,7 +3403,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -3646,7 +3646,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -3889,7 +3889,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4132,7 +4132,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4375,7 +4375,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4618,7 +4618,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4861,7 +4861,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_inconsistent_beacon_signer.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_inconsistent_beacon_signer.json index 226c84705..eba319d92 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_inconsistent_beacon_signer.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_inconsistent_beacon_signer.json @@ -228,7 +228,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -471,7 +471,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -725,7 +725,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -979,7 +979,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1233,7 +1233,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1487,7 +1487,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1730,7 +1730,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1988,7 +1988,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2242,7 +2242,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2485,7 +2485,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2743,7 +2743,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2992,7 +2992,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -3221,7 +3221,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -3450,7 +3450,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -3679,7 +3679,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -3908,7 +3908,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4137,7 +4137,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4366,7 +4366,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4595,7 +4595,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_inconsistent_operator_signer.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_inconsistent_operator_signer.json index 2e3e0421a..905e979c6 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_inconsistent_operator_signer.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_inconsistent_operator_signer.json @@ -219,7 +219,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 44, + "ExpectedErrorCode": 42, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -448,7 +448,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 44, + "ExpectedErrorCode": 42, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -686,7 +686,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 44, + "ExpectedErrorCode": 42, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -929,7 +929,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 44, + "ExpectedErrorCode": 42, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1183,7 +1183,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 44, + "ExpectedErrorCode": 42, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1437,7 +1437,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 44, + "ExpectedErrorCode": 42, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1691,7 +1691,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 44, + "ExpectedErrorCode": 42, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1945,7 +1945,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 44, + "ExpectedErrorCode": 42, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2188,7 +2188,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 44, + "ExpectedErrorCode": 42, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2446,7 +2446,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 44, + "ExpectedErrorCode": 42, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2700,7 +2700,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 44, + "ExpectedErrorCode": 42, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2943,7 +2943,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 44, + "ExpectedErrorCode": 42, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -3201,7 +3201,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 44, + "ExpectedErrorCode": 42, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_beacon_signature_in_quorum.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_beacon_signature_in_quorum.json index d29544de5..3bdb6d228 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_beacon_signature_in_quorum.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_beacon_signature_in_quorum.json @@ -247,7 +247,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -504,7 +504,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -770,7 +770,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 83, + "ExpectedErrorCode": 81, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1041,7 +1041,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 83, + "ExpectedErrorCode": 81, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1323,7 +1323,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 83, + "ExpectedErrorCode": 81, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1605,7 +1605,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 83, + "ExpectedErrorCode": 81, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1887,7 +1887,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 83, + "ExpectedErrorCode": 81, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2169,7 +2169,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2440,7 +2440,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2726,7 +2726,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -3008,7 +3008,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -3279,7 +3279,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -3565,7 +3565,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_expected_roots.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_expected_roots.json index ce26cbd2b..ba38562b4 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_expected_roots.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_expected_roots.json @@ -219,7 +219,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -448,7 +448,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_msg.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_msg.json index 701e1cd90..c0625ae41 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_msg.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_msg.json @@ -219,7 +219,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -448,7 +448,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -686,7 +686,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -929,7 +929,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1183,7 +1183,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1437,7 +1437,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1691,7 +1691,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1945,7 +1945,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2188,7 +2188,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2446,7 +2446,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2700,7 +2700,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2943,7 +2943,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -3201,7 +3201,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_msg_slot.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_msg_slot.json index 2b6294f12..7917dc5b7 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_msg_slot.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_msg_slot.json @@ -219,7 +219,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 49, + "ExpectedErrorCode": 47, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -448,7 +448,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 49, + "ExpectedErrorCode": 47, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -582,7 +582,7 @@ "2d85ab5ae407b606a8a5740840d508aa10f58580a4163eb88ad9004656f0f285" ], "DontStartDuty": false, - "ExpectedErrorCode": 38, + "ExpectedErrorCode": 36, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -716,7 +716,7 @@ "c2d0cd2586c5de08d0b1030b8c7974a45ea0b514b630206e78db3456fb5bc091" ], "DontStartDuty": false, - "ExpectedErrorCode": 40, + "ExpectedErrorCode": 38, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -954,7 +954,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1197,7 +1197,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1451,7 +1451,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1705,7 +1705,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1959,7 +1959,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2213,7 +2213,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2456,7 +2456,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2714,7 +2714,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2968,7 +2968,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -3211,7 +3211,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -3469,7 +3469,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_operator_signature.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_operator_signature.json index 99dbe36f1..1fed3dde3 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_operator_signature.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_operator_signature.json @@ -219,7 +219,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -448,7 +448,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -686,7 +686,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -929,7 +929,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1183,7 +1183,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1437,7 +1437,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1691,7 +1691,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1945,7 +1945,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2188,7 +2188,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2446,7 +2446,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2700,7 +2700,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2943,7 +2943,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -3201,7 +3201,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_quorum_then_valid_quorum.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_quorum_then_valid_quorum.json index 4b2428989..a27382cab 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_quorum_then_valid_quorum.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_quorum_then_valid_quorum.json @@ -274,7 +274,7 @@ "6afbfc096eb378a4639cb91edce27d53c819bb88d768e1fc33c08156bf6b6176" ], "DontStartDuty": true, - "ExpectedErrorCode": 83, + "ExpectedErrorCode": 81, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -561,7 +561,7 @@ "f70f0d66eef58758b860051f98aa2d2bad666540ef817884c2b5526cf477dbf8" ], "DontStartDuty": true, - "ExpectedErrorCode": 83, + "ExpectedErrorCode": 81, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -862,7 +862,7 @@ "6afbfc096eb378a4639cb91edce27d53c819bb88d768e1fc33c08156bf6b6176" ], "DontStartDuty": true, - "ExpectedErrorCode": 83, + "ExpectedErrorCode": 81, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1160,7 +1160,7 @@ "fce842dbd96b15fb1a8a6d1bfa2c9ce47dc88e74531abdb69d666c043d908abc" ], "DontStartDuty": true, - "ExpectedErrorCode": 83, + "ExpectedErrorCode": 81, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1461,7 +1461,7 @@ "6afbfc096eb378a4639cb91edce27d53c819bb88d768e1fc33c08156bf6b6176" ], "DontStartDuty": true, - "ExpectedErrorCode": 83, + "ExpectedErrorCode": 81, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1759,7 +1759,7 @@ "80641c9de207e4fb82cb83ebbd5338437dc08cb6282ce47ff3ca66b406cd00b8" ], "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2046,7 +2046,7 @@ "d65c039becb42839faa125161a2a8feca88d363db1749556de9fe4ea01a9c982" ], "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2349,7 +2349,7 @@ "d65c039becb42839faa125161a2a8feca88d363db1749556de9fe4ea01a9c982" ], "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2647,7 +2647,7 @@ "60a8498be325eb6689e8501634726cac902261186ca94f95be92758b5a5fb3a7" ], "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2934,7 +2934,7 @@ "9d0869abc61d97929518c0f3b10e9aae344ea03621ca1fe815c47672165ea970" ], "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -3237,7 +3237,7 @@ "9d0869abc61d97929518c0f3b10e9aae344ea03621ca1fe815c47672165ea970" ], "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -3530,7 +3530,7 @@ "10183cdaea14fba962c389d29e01a0f4bec3199851c40197e02fbe98ae97fef9" ], "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -3803,7 +3803,7 @@ "10183cdaea14fba962c389d29e01a0f4bec3199851c40197e02fbe98ae97fef9" ], "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4076,7 +4076,7 @@ "7566b263455230d5250a162dc29924463f74e85ea558486d63fe9e1e9e91c85d" ], "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4349,7 +4349,7 @@ "d2b611753af6167e7ea3317e517849e290a2e34ef40c8bf954c1b13f80269d3c" ], "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4622,7 +4622,7 @@ "53f2f1900e431c7161e4b1f077672c198aea60e2a23fd58e40b5438594f54628" ], "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4895,7 +4895,7 @@ "6b3850da01083b77203a02aa28cab231cec3d4752ed2700556c2b42fe3ce0cf0" ], "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -5168,7 +5168,7 @@ "59799f28653ade1ec4fbf5770b8a7c4ae357ae13cc6578a9298af726ed16ff33" ], "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -5441,7 +5441,7 @@ "3078256cd8df2dc17c54083163e2aaeebeb1dbd632418ca7b710de3315a544f0" ], "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_signed_message_different_length.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_signed_message_different_length.json index 83c35c2d1..42e96ed2a 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_signed_message_different_length.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_signed_message_different_length.json @@ -220,7 +220,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -450,7 +450,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -689,7 +689,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -933,7 +933,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1188,7 +1188,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1443,7 +1443,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1698,7 +1698,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1953,7 +1953,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2197,7 +2197,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2456,7 +2456,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2711,7 +2711,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2955,7 +2955,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -3214,7 +3214,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_signed_message_empty_signature.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_signed_message_empty_signature.json index 67d0571b6..554ea6775 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_signed_message_empty_signature.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_signed_message_empty_signature.json @@ -219,7 +219,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -448,7 +448,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -686,7 +686,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -929,7 +929,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1183,7 +1183,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1437,7 +1437,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1691,7 +1691,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1945,7 +1945,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2188,7 +2188,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2446,7 +2446,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2700,7 +2700,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2943,7 +2943,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -3201,7 +3201,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_signed_message_no_signatures.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_signed_message_no_signatures.json index c2feeb6b5..7ce4540c0 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_signed_message_no_signatures.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_signed_message_no_signatures.json @@ -217,7 +217,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -444,7 +444,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -680,7 +680,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -921,7 +921,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1173,7 +1173,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1425,7 +1425,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1677,7 +1677,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1929,7 +1929,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2170,7 +2170,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2426,7 +2426,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2678,7 +2678,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2919,7 +2919,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -3175,7 +3175,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_signed_message_no_signers.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_signed_message_no_signers.json index 8f4b464d7..932ae25d3 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_signed_message_no_signers.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_signed_message_no_signers.json @@ -217,7 +217,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -444,7 +444,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -680,7 +680,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -921,7 +921,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1173,7 +1173,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1425,7 +1425,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1677,7 +1677,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1929,7 +1929,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2170,7 +2170,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2426,7 +2426,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2678,7 +2678,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2919,7 +2919,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -3175,7 +3175,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_validator_index.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_validator_index.json index 21e3b0e32..90e779959 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_validator_index.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_validator_index.json @@ -219,7 +219,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 50, + "ExpectedErrorCode": 48, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -448,7 +448,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 50, + "ExpectedErrorCode": 48, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_validator_index_quorum.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_validator_index_quorum.json index e482df861..c4b79d1b1 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_validator_index_quorum.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_invalid_validator_index_quorum.json @@ -247,7 +247,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 50, + "ExpectedErrorCode": 48, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -504,7 +504,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 50, + "ExpectedErrorCode": 48, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_nil_ssvmessage.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_nil_ssvmessage.json index 59f3dbd6c..043890ddc 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_nil_ssvmessage.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_nil_ssvmessage.json @@ -215,7 +215,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -440,7 +440,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -674,7 +674,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -913,7 +913,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1163,7 +1163,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1413,7 +1413,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1663,7 +1663,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1913,7 +1913,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2152,7 +2152,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2406,7 +2406,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2656,7 +2656,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2895,7 +2895,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -3149,7 +3149,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_partial_invalid_sig_quorum_then_valid_quorum.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_partial_invalid_sig_quorum_then_valid_quorum.json index e93935b52..9eb8361ab 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_partial_invalid_sig_quorum_then_valid_quorum.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_partial_invalid_sig_quorum_then_valid_quorum.json @@ -1695,7 +1695,7 @@ "a6a003d4cc1195a8f106a14d9270b4cbd19ac4d2e7e1bea7db7a4cced868ba8a" ], "DontStartDuty": true, - "ExpectedErrorCode": 83, + "ExpectedErrorCode": 81, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -3664,7 +3664,7 @@ "0b5a7953cac74197d9ca28cb17a5198368a99fb6bc0ba22ec4d3e65825408c43" ], "DontStartDuty": true, - "ExpectedErrorCode": 83, + "ExpectedErrorCode": 81, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -6053,7 +6053,7 @@ "a6a003d4cc1195a8f106a14d9270b4cbd19ac4d2e7e1bea7db7a4cced868ba8a" ], "DontStartDuty": true, - "ExpectedErrorCode": 83, + "ExpectedErrorCode": 81, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -8352,7 +8352,7 @@ "682677a0a486bca5e0ef4abd65af720fd6bcd86ce6860e530044e23a4d620a8e" ], "DontStartDuty": true, - "ExpectedErrorCode": 83, + "ExpectedErrorCode": 81, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -10741,7 +10741,7 @@ "a6a003d4cc1195a8f106a14d9270b4cbd19ac4d2e7e1bea7db7a4cced868ba8a" ], "DontStartDuty": true, - "ExpectedErrorCode": 83, + "ExpectedErrorCode": 81, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -13040,7 +13040,7 @@ "1bffbcd03f1b74f3194bf68a2f7f310263bf7b9f9aaffa526d8dd67254a1cd73" ], "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -15009,7 +15009,7 @@ "dd967356dfd693c84244ed6858755dd6bae39bd5487120b53459275ee7a29536" ], "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -17458,7 +17458,7 @@ "dd967356dfd693c84244ed6858755dd6bae39bd5487120b53459275ee7a29536" ], "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -19757,7 +19757,7 @@ "2c2285404bd67b0b4c83cfb84b304011f3cf9fc54f389dd98db8eacf806bc839" ], "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -21726,7 +21726,7 @@ "86acd2060da946db56ee718a4ede335fe088535f1d8b2e68f005f01f09435864" ], "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -24175,7 +24175,7 @@ "86acd2060da946db56ee718a4ede335fe088535f1d8b2e68f005f01f09435864" ], "DontStartDuty": true, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_too_few_roots.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_too_few_roots.json index e17676766..2d3c953e8 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_too_few_roots.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_too_few_roots.json @@ -219,7 +219,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 21, + "ExpectedErrorCode": 19, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -448,7 +448,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 21, + "ExpectedErrorCode": 19, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -929,7 +929,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 21, + "ExpectedErrorCode": 19, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1437,7 +1437,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 21, + "ExpectedErrorCode": 19, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1945,7 +1945,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 21, + "ExpectedErrorCode": 19, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2188,7 +2188,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 21, + "ExpectedErrorCode": 19, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2446,7 +2446,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 21, + "ExpectedErrorCode": 19, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2700,7 +2700,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 21, + "ExpectedErrorCode": 19, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2943,7 +2943,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 21, + "ExpectedErrorCode": 19, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -3201,7 +3201,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 21, + "ExpectedErrorCode": 19, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_too_many_roots.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_too_many_roots.json index 75d2d4c37..eb1922faa 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_too_many_roots.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_too_many_roots.json @@ -219,7 +219,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 51, + "ExpectedErrorCode": 49, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -448,7 +448,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 51, + "ExpectedErrorCode": 49, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_unknown_signer.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_unknown_signer.json index 9dd766677..dd539514a 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_unknown_signer.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_unknown_signer.json @@ -228,7 +228,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -471,7 +471,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -725,7 +725,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -979,7 +979,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1233,7 +1233,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1487,7 +1487,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1730,7 +1730,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1988,7 +1988,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -2242,7 +2242,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2485,7 +2485,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2743,7 +2743,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -2992,7 +2992,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -3221,7 +3221,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -3450,7 +3450,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -3679,7 +3679,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -3908,7 +3908,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4137,7 +4137,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4366,7 +4366,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -4595,7 +4595,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": true, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_valid_msg.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_valid_msg.json index 1fa460fca..2fdf9ca61 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_valid_msg.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_post_consensus_valid_msg.json @@ -582,7 +582,7 @@ "2d85ab5ae407b606a8a5740840d508aa10f58580a4163eb88ad9004656f0f285" ], "DontStartDuty": false, - "ExpectedErrorCode": 38, + "ExpectedErrorCode": 36, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -716,7 +716,7 @@ "c2d0cd2586c5de08d0b1030b8c7974a45ea0b514b630206e78db3456fb5bc091" ], "DontStartDuty": false, - "ExpectedErrorCode": 40, + "ExpectedErrorCode": 38, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_inconsistent_beacon_signer.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_inconsistent_beacon_signer.json index 7afe8e96b..e3b413128 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_inconsistent_beacon_signer.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_inconsistent_beacon_signer.json @@ -109,7 +109,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -228,7 +228,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -359,7 +359,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -487,7 +487,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -629,7 +629,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -768,7 +768,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -910,7 +910,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_inconsistent_operator_signer.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_inconsistent_operator_signer.json index b4a3e5323..ce13c42d5 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_inconsistent_operator_signer.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_inconsistent_operator_signer.json @@ -109,7 +109,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 44, + "ExpectedErrorCode": 42, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -228,7 +228,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 44, + "ExpectedErrorCode": 42, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -359,7 +359,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 44, + "ExpectedErrorCode": 42, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -487,7 +487,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 44, + "ExpectedErrorCode": 42, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -629,7 +629,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 44, + "ExpectedErrorCode": 42, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -768,7 +768,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 44, + "ExpectedErrorCode": 42, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -910,7 +910,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 44, + "ExpectedErrorCode": 42, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_beacon_signature_in_quorum.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_beacon_signature_in_quorum.json index 0d53c09c6..97f2d1706 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_beacon_signature_in_quorum.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_beacon_signature_in_quorum.json @@ -137,7 +137,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -284,7 +284,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -443,7 +443,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -599,7 +599,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -769,7 +769,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -936,7 +936,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1106,7 +1106,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_expected_roots.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_expected_roots.json index 4708e9293..e1cb1f803 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_expected_roots.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_expected_roots.json @@ -109,7 +109,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -228,7 +228,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -318,7 +318,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -408,7 +408,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_msg_slot.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_msg_slot.json index 0589017ef..d6751d9c1 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_msg_slot.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_msg_slot.json @@ -109,7 +109,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 48, + "ExpectedErrorCode": 46, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -228,7 +228,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 48, + "ExpectedErrorCode": 46, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -318,7 +318,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 49, + "ExpectedErrorCode": 47, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -408,7 +408,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 49, + "ExpectedErrorCode": 47, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -539,7 +539,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -667,7 +667,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -809,7 +809,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -948,7 +948,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1090,7 +1090,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 22, + "ExpectedErrorCode": 20, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_operator_signature.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_operator_signature.json index 66b7a66eb..d8c4f8090 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_operator_signature.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_operator_signature.json @@ -109,7 +109,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -228,7 +228,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -359,7 +359,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -487,7 +487,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -629,7 +629,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -768,7 +768,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -910,7 +910,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_quorum_then_valid_quorum.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_quorum_then_valid_quorum.json index d3558044a..d50c77229 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_quorum_then_valid_quorum.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_quorum_then_valid_quorum.json @@ -124,7 +124,7 @@ "2d85ab5ae407b606a8a5740840d508aa10f58580a4163eb88ad9004656f0f285" ], "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -258,7 +258,7 @@ "c2d0cd2586c5de08d0b1030b8c7974a45ea0b514b630206e78db3456fb5bc091" ], "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -445,7 +445,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -629,7 +629,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -827,7 +827,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1022,7 +1022,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1220,7 +1220,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1415,7 +1415,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -1590,7 +1590,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -1765,7 +1765,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -1940,7 +1940,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -2115,7 +2115,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -2290,7 +2290,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -2465,7 +2465,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -2640,7 +2640,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 34, + "ExpectedErrorCode": 32, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_signed_msg.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_signed_msg.json index 10a1c5ffa..c3af928cf 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_signed_msg.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_signed_msg.json @@ -109,7 +109,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -228,7 +228,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -318,7 +318,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -408,7 +408,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -539,7 +539,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -667,7 +667,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -809,7 +809,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -948,7 +948,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1090,7 +1090,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_signed_msg_different_length.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_signed_msg_different_length.json index 7698692a8..25574381d 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_signed_msg_different_length.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_signed_msg_different_length.json @@ -110,7 +110,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -230,7 +230,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -321,7 +321,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -412,7 +412,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -544,7 +544,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -673,7 +673,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -816,7 +816,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -956,7 +956,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1099,7 +1099,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_signed_msg_empty_signature.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_signed_msg_empty_signature.json index ea618c9a9..cb303de73 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_signed_msg_empty_signature.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_signed_msg_empty_signature.json @@ -109,7 +109,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -228,7 +228,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -318,7 +318,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -408,7 +408,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -539,7 +539,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -667,7 +667,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -809,7 +809,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -948,7 +948,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1090,7 +1090,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_signed_msg_no_signatures.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_signed_msg_no_signatures.json index 45b07e1e8..4a9390077 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_signed_msg_no_signatures.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_signed_msg_no_signatures.json @@ -107,7 +107,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -224,7 +224,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -312,7 +312,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -400,7 +400,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -529,7 +529,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -655,7 +655,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -795,7 +795,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -932,7 +932,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1072,7 +1072,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_signed_msg_no_signers.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_signed_msg_no_signers.json index 2bd171dcc..743b9c57d 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_signed_msg_no_signers.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_invalid_signed_msg_no_signers.json @@ -107,7 +107,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -224,7 +224,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -312,7 +312,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -400,7 +400,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -529,7 +529,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -655,7 +655,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -795,7 +795,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -932,7 +932,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1072,7 +1072,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_msg_different_roots.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_msg_different_roots.json index 25ef29ed9..0fe40c22d 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_msg_different_roots.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_msg_different_roots.json @@ -123,7 +123,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -256,7 +256,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -360,7 +360,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -464,7 +464,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 43, + "ExpectedErrorCode": 41, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_nil_ssvmessage.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_nil_ssvmessage.json index 5a3d87a00..6a82f138f 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_nil_ssvmessage.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_nil_ssvmessage.json @@ -105,7 +105,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -220,7 +220,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -347,7 +347,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -471,7 +471,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -609,7 +609,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -744,7 +744,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -882,7 +882,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_too_few_roots.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_too_few_roots.json index 94b9bf107..664f284e0 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_too_few_roots.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_too_few_roots.json @@ -109,7 +109,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 21, + "ExpectedErrorCode": 19, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -228,7 +228,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 21, + "ExpectedErrorCode": 19, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -318,7 +318,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 21, + "ExpectedErrorCode": 19, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -408,7 +408,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 21, + "ExpectedErrorCode": 19, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -667,7 +667,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 21, + "ExpectedErrorCode": 19, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -948,7 +948,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 21, + "ExpectedErrorCode": 19, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_too_many_roots.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_too_many_roots.json index a0b51fd48..e6117a5db 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_too_many_roots.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_too_many_roots.json @@ -249,7 +249,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 51, + "ExpectedErrorCode": 49, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -368,7 +368,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 51, + "ExpectedErrorCode": 49, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -458,7 +458,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 51, + "ExpectedErrorCode": 49, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -548,7 +548,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 51, + "ExpectedErrorCode": 49, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_unknown_msg_signer.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_unknown_msg_signer.json index 7af0b788f..b33933897 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_unknown_msg_signer.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_pre_consensus_unknown_msg_signer.json @@ -121,7 +121,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -249,7 +249,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -391,7 +391,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -530,7 +530,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -672,7 +672,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -811,7 +811,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -930,7 +930,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -1049,7 +1049,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -1168,7 +1168,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -1287,7 +1287,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -1406,7 +1406,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -1525,7 +1525,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -1644,7 +1644,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 41, + "ExpectedErrorCode": 39, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_wrong_duty_pubkey.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_wrong_duty_pubkey.json index cdd68fec8..3d36de622 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_wrong_duty_pubkey.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_wrong_duty_pubkey.json @@ -113,7 +113,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 33, + "ExpectedErrorCode": 31, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -236,7 +236,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 33, + "ExpectedErrorCode": 31, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -359,7 +359,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 33, + "ExpectedErrorCode": 31, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -482,7 +482,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 33, + "ExpectedErrorCode": 31, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -605,7 +605,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 33, + "ExpectedErrorCode": 31, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -728,7 +728,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 33, + "ExpectedErrorCode": 31, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -851,7 +851,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 33, + "ExpectedErrorCode": 31, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -974,7 +974,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 33, + "ExpectedErrorCode": 31, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_wrong_duty_role.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_wrong_duty_role.json index f55a48962..264dace7d 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_wrong_duty_role.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_wrong_duty_role.json @@ -125,7 +125,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 33, + "ExpectedErrorCode": 31, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -257,7 +257,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 33, + "ExpectedErrorCode": 31, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -385,7 +385,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 33, + "ExpectedErrorCode": 31, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_zero_signers.json b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_zero_signers.json index fa0596236..ff2e2b2fe 100644 --- a/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_zero_signers.json +++ b/ssv/spectest/generate/tests/tests.MultiMsgProcessingSpecTest_zero_signers.json @@ -163,7 +163,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -333,7 +333,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -494,7 +494,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "ValidatorDuty": { "Type": 2, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -628,7 +628,7 @@ "2d85ab5ae407b606a8a5740840d508aa10f58580a4163eb88ad9004656f0f285" ], "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "ValidatorDuty": { "Type": 5, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -762,7 +762,7 @@ "c2d0cd2586c5de08d0b1030b8c7974a45ea0b514b630206e78db3456fb5bc091" ], "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "ValidatorDuty": { "Type": 6, "PubKey": "0x8e80066551a81b318258709edaf7dd1f63cd686a0e4db8b29bbb7acfe65608677af5a527d9448ee47835485e02b50bc0", @@ -923,7 +923,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "AggregatorCommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1089,7 +1089,7 @@ ], "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "AggregatorCommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1200,7 +1200,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1311,7 +1311,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1426,7 +1426,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "CommitteeDuty": { "Slot": "12", "ValidatorDuties": [ @@ -1552,7 +1552,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1663,7 +1663,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ @@ -1778,7 +1778,7 @@ "OutputMessages": null, "BeaconBroadcastedRoots": null, "DontStartDuty": false, - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "CommitteeDuty": { "Slot": "7424012", "ValidatorDuties": [ diff --git a/ssv/spectest/generate/tests/valcheck.MultiSpecTest_far_future_duty_slot.json b/ssv/spectest/generate/tests/valcheck.MultiSpecTest_far_future_duty_slot.json index d225e1fbc..b9de738ac 100644 --- a/ssv/spectest/generate/tests/valcheck.MultiSpecTest_far_future_duty_slot.json +++ b/ssv/spectest/generate/tests/valcheck.MultiSpecTest_far_future_duty_slot.json @@ -80,7 +80,7 @@ "root": "0x0000000000000000000000000000000000000000000000000000000000000000" }, "SlashableSlots": null, - "ExpectedErrorCode": 52, + "ExpectedErrorCode": 50, "AnyError": false } ] diff --git a/ssv/spectest/generate/tests/valcheck.MultiSpecTest_wrong_decoding.json b/ssv/spectest/generate/tests/valcheck.MultiSpecTest_wrong_decoding.json index a520d5836..c5f0f0ae7 100644 --- a/ssv/spectest/generate/tests/valcheck.MultiSpecTest_wrong_decoding.json +++ b/ssv/spectest/generate/tests/valcheck.MultiSpecTest_wrong_decoding.json @@ -20,7 +20,7 @@ "root": "0x0102030405060708090a0102030405060708090a0102030405060708090a0102" }, "SlashableSlots": null, - "ExpectedErrorCode": 25, + "ExpectedErrorCode": 23, "AnyError": false }, { @@ -40,7 +40,7 @@ "root": "0x0000000000000000000000000000000000000000000000000000000000000000" }, "SlashableSlots": null, - "ExpectedErrorCode": 81, + "ExpectedErrorCode": 79, "AnyError": false }, { @@ -60,7 +60,7 @@ "root": "0x0000000000000000000000000000000000000000000000000000000000000000" }, "SlashableSlots": null, - "ExpectedErrorCode": 81, + "ExpectedErrorCode": 79, "AnyError": false }, { @@ -80,7 +80,7 @@ "root": "0x0000000000000000000000000000000000000000000000000000000000000000" }, "SlashableSlots": null, - "ExpectedErrorCode": 82, + "ExpectedErrorCode": 80, "AnyError": false } ] diff --git a/ssv/spectest/generate/tests/valcheck.MultiSpecTest_wrong_duty_type.json b/ssv/spectest/generate/tests/valcheck.MultiSpecTest_wrong_duty_type.json index 942fcda70..aaa3fc688 100644 --- a/ssv/spectest/generate/tests/valcheck.MultiSpecTest_wrong_duty_type.json +++ b/ssv/spectest/generate/tests/valcheck.MultiSpecTest_wrong_duty_type.json @@ -80,7 +80,7 @@ "root": "0x0000000000000000000000000000000000000000000000000000000000000000" }, "SlashableSlots": null, - "ExpectedErrorCode": 66, + "ExpectedErrorCode": 64, "AnyError": false } ] diff --git a/ssv/spectest/generate/tests/valcheck.MultiSpecTest_wrong_validator_PK.json b/ssv/spectest/generate/tests/valcheck.MultiSpecTest_wrong_validator_PK.json index 926ce5256..e29ef4255 100644 --- a/ssv/spectest/generate/tests/valcheck.MultiSpecTest_wrong_validator_PK.json +++ b/ssv/spectest/generate/tests/valcheck.MultiSpecTest_wrong_validator_PK.json @@ -80,7 +80,7 @@ "root": "0x0000000000000000000000000000000000000000000000000000000000000000" }, "SlashableSlots": null, - "ExpectedErrorCode": 55, + "ExpectedErrorCode": 53, "AnyError": false } ] diff --git a/ssv/spectest/generate/tests/valcheck.MultiSpecTest_wrong_validator_index.json b/ssv/spectest/generate/tests/valcheck.MultiSpecTest_wrong_validator_index.json index 2dd6c2815..584e64fa0 100644 --- a/ssv/spectest/generate/tests/valcheck.MultiSpecTest_wrong_validator_index.json +++ b/ssv/spectest/generate/tests/valcheck.MultiSpecTest_wrong_validator_index.json @@ -100,7 +100,7 @@ "root": "0x0000000000000000000000000000000000000000000000000000000000000000" }, "SlashableSlots": null, - "ExpectedErrorCode": 54, + "ExpectedErrorCode": 52, "AnyError": false } ] diff --git a/ssv/spectest/generate/tests/valcheck.SpecTest_aggcommittee_value_check_no_validators.json b/ssv/spectest/generate/tests/valcheck.SpecTest_aggcommittee_value_check_no_validators.json index e4dc3cf59..30452346e 100644 --- a/ssv/spectest/generate/tests/valcheck.SpecTest_aggcommittee_value_check_no_validators.json +++ b/ssv/spectest/generate/tests/valcheck.SpecTest_aggcommittee_value_check_no_validators.json @@ -15,6 +15,6 @@ "root": "0x0000000000000000000000000000000000000000000000000000000000000000" }, "SlashableSlots": {}, - "ExpectedErrorCode": 80, + "ExpectedErrorCode": 78, "AnyError": true } \ No newline at end of file diff --git a/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_slashable.json b/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_slashable.json index 09ac771dd..b6dff9e88 100644 --- a/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_slashable.json +++ b/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_slashable.json @@ -22,6 +22,6 @@ "ShareValidatorsPK": [ "X0cRp5bBEWtRGOw1J5+2TVUdmziBPSk5lU3S31Fg09k=" ], - "ExpectedErrorCode": 35, + "ExpectedErrorCode": 33, "AnyError": false } \ No newline at end of file diff --git a/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_source_higher_than_target.json b/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_source_higher_than_target.json index 8115619a8..c9d0defdd 100644 --- a/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_source_higher_than_target.json +++ b/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_source_higher_than_target.json @@ -15,6 +15,6 @@ "root": "0x0102030405060708090a0102030405060708090a0102030405060708090a0102" }, "SlashableSlots": null, - "ExpectedErrorCode": 28, + "ExpectedErrorCode": 26, "AnyError": false } \ No newline at end of file diff --git a/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_unmatched_source_epoch.json b/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_unmatched_source_epoch.json index d1523353c..44b0db57d 100644 --- a/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_unmatched_source_epoch.json +++ b/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_unmatched_source_epoch.json @@ -15,6 +15,6 @@ "root": "0x0102030405060708090a0102030405060708090a0102030405060708090a0102" }, "SlashableSlots": {}, - "ExpectedErrorCode": 29, + "ExpectedErrorCode": 27, "AnyError": false } \ No newline at end of file diff --git a/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_unmatched_target_epoch.json b/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_unmatched_target_epoch.json index a44d4be88..6cac04182 100644 --- a/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_unmatched_target_epoch.json +++ b/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_unmatched_target_epoch.json @@ -15,6 +15,6 @@ "root": "0x0102030405060708090a0102030405060708090a0102030405060708090a0102" }, "SlashableSlots": {}, - "ExpectedErrorCode": 29, + "ExpectedErrorCode": 27, "AnyError": false } \ No newline at end of file diff --git a/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_with_slashable_majority.json b/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_with_slashable_majority.json index 807b43562..64d16928f 100644 --- a/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_with_slashable_majority.json +++ b/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_with_slashable_majority.json @@ -31,6 +31,6 @@ "Zdx8F59oNHzxL4bhxR5U6K7u1XnUxxUIK7igOCwagVM=", "QkCcsJ+pRfpqFoz4sIYQRdblYvIRpwxKHNvPBBeJh2M=" ], - "ExpectedErrorCode": 35, + "ExpectedErrorCode": 33, "AnyError": false } \ No newline at end of file diff --git a/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_with_slashable_minority.json b/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_with_slashable_minority.json index 58658ec7b..a9a4c17ef 100644 --- a/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_with_slashable_minority.json +++ b/ssv/spectest/generate/tests/valcheck.SpecTest_attestation_value_check_with_slashable_minority.json @@ -25,6 +25,6 @@ "Zdx8F59oNHzxL4bhxR5U6K7u1XnUxxUIK7igOCwagVM=", "QkCcsJ+pRfpqFoz4sIYQRdblYvIRpwxKHNvPBBeJh2M=" ], - "ExpectedErrorCode": 35, + "ExpectedErrorCode": 33, "AnyError": false } \ No newline at end of file diff --git a/ssv/spectest/generate/tests/valcheck.SpecTest_consensus_data_value_check_nil.json b/ssv/spectest/generate/tests/valcheck.SpecTest_consensus_data_value_check_nil.json index eae876bb5..8119c090a 100644 --- a/ssv/spectest/generate/tests/valcheck.SpecTest_consensus_data_value_check_nil.json +++ b/ssv/spectest/generate/tests/valcheck.SpecTest_consensus_data_value_check_nil.json @@ -15,6 +15,6 @@ "root": "0x0000000000000000000000000000000000000000000000000000000000000000" }, "SlashableSlots": null, - "ExpectedErrorCode": 28, + "ExpectedErrorCode": 26, "AnyError": false } \ No newline at end of file diff --git a/ssv/spectest/testdoc/testdoc.go b/ssv/spectest/testdoc/testdoc.go index 8c8eccfbd..35c13d337 100644 --- a/ssv/spectest/testdoc/testdoc.go +++ b/ssv/spectest/testdoc/testdoc.go @@ -42,7 +42,7 @@ const CommitteeValidBeaconVoteDoc = "Tests committee behavior when processing pr const CommitteeWrongBeaconVoteDoc = "Tests committee behavior when processing proposal messages with invalid beacon vote data (source >= target)" const CommitteeWrongMessageIDDoc = "Tests committee behavior when processing messages with incorrect message IDs that don't match the committee ID" const CommitteePastMsgDutyNotFinishedDoc = "Tests committee behavior when processing past proposal messages for a duty that has not finished (consensus already finished)" -const CommitteeProposalWithConsensusDataDoc = "Tests committee behavior when processing proposal messages with ValidatorConsensusData instead of BeaconVote objects" +const CommitteeProposalWithConsensusDataDoc = "Tests committee behavior when processing proposal messages with other consensus data instead of BeaconVote objects" const CommitteeStartDutyDoc = "Tests basic duty starting for attestations and sync committees without consensus messages" const CommitteeStartNoDutyDoc = "Tests committee behavior when starting with an empty duty (no attestation or sync committee duties)" const CommitteeStartWithNoSharesForDutyDoc = "Tests committee behavior when starting a duty for validators that the committee doesn't have shares for" diff --git a/ssv/spectest/tests/committee/singleduty/proposal_with_consensus_data.go b/ssv/spectest/tests/committee/singleduty/proposal_with_consensus_data.go index c9984ad0c..0b13f14ce 100644 --- a/ssv/spectest/tests/committee/singleduty/proposal_with_consensus_data.go +++ b/ssv/spectest/tests/committee/singleduty/proposal_with_consensus_data.go @@ -14,7 +14,7 @@ import ( "github.com/ssvlabs/ssv-spec/types/testingutils" ) -// ProposalWithConsensusData sends a proposal message to a cluster runner with a ValidatorConsensusData (which is wrong since it accepts only BeaconVote objects) +// ProposalWithConsensusData sends a proposal message to a cluster runner with a ProposerConsensusData (which is wrong since it accepts only BeaconVote objects) func ProposalWithConsensusData() tests.SpecTest { ks := testingutils.TestingKeySetMap[phase0.ValidatorIndex(1)] diff --git a/ssv/spectest/tests/runner/consensus/invalid_decided_value.go b/ssv/spectest/tests/runner/consensus/invalid_decided_value.go index a43daf3f6..cb8f7c1a1 100644 --- a/ssv/spectest/tests/runner/consensus/invalid_decided_value.go +++ b/ssv/spectest/tests/runner/consensus/invalid_decided_value.go @@ -14,11 +14,11 @@ import ( "github.com/ssvlabs/ssv-spec/types/testingutils" ) -// InvalidDecidedValue tests an invalid decided value ValidatorConsensusData.Validate() != nil (unknown duty role) +// InvalidDecidedValue tests an invalid decided value ProposerConsensusData.Validate() != nil (unknown duty role) func InvalidDecidedValue() tests.SpecTest { ks := testingutils.Testing4SharesSet() consensusDataByts := func() []byte { - cd := &types.ValidatorConsensusData{ + cd := &types.ProposerConsensusData{ Duty: types.ValidatorDuty{ Type: 100, PubKey: testingutils.TestingValidatorPubKey, diff --git a/ssv/spectest/tests/runner/duties/newduty/post_invalid_decided.go b/ssv/spectest/tests/runner/duties/newduty/post_invalid_decided.go index 65e6478bc..270a140a0 100644 --- a/ssv/spectest/tests/runner/duties/newduty/post_invalid_decided.go +++ b/ssv/spectest/tests/runner/duties/newduty/post_invalid_decided.go @@ -19,7 +19,7 @@ func PostInvalidDecided() tests.SpecTest { ks := testingutils.Testing4SharesSet() consensusDataByts := func() []byte { - cd := &types.ValidatorConsensusData{ + cd := &types.ProposerConsensusData{ Duty: types.ValidatorDuty{ Type: 100, // invalid PubKey: testingutils.TestingValidatorPubKey, diff --git a/ssv/spectest/tests/runner/postconsensus/invalid_decided_value.go b/ssv/spectest/tests/runner/postconsensus/invalid_decided_value.go index 671e4bcb8..468c99a68 100644 --- a/ssv/spectest/tests/runner/postconsensus/invalid_decided_value.go +++ b/ssv/spectest/tests/runner/postconsensus/invalid_decided_value.go @@ -18,7 +18,7 @@ func InvalidDecidedValue() tests.SpecTest { ks := testingutils.Testing4SharesSet() consensusDataByts := func() []byte { - cd := &types.ValidatorConsensusData{ + cd := &types.ProposerConsensusData{ Duty: types.ValidatorDuty{ Type: 100, PubKey: testingutils.TestingValidatorPubKey, diff --git a/ssv/spectest/tests/runner/postconsensus/valid_msg.go b/ssv/spectest/tests/runner/postconsensus/valid_msg.go index 10df17b52..dae02a356 100644 --- a/ssv/spectest/tests/runner/postconsensus/valid_msg.go +++ b/ssv/spectest/tests/runner/postconsensus/valid_msg.go @@ -13,7 +13,7 @@ import ( "github.com/ssvlabs/ssv-spec/types/testingutils" ) -func finishRunner(r ssv.Runner, duty types.Duty, decidedValue *types.ValidatorConsensusData) ssv.Runner { +func finishRunner(r ssv.Runner, duty types.Duty, decidedValue *types.ProposerConsensusData) ssv.Runner { ret := decideRunner(r, duty, decidedValue) ret.GetBaseRunner().State.Finished = true return ret @@ -39,7 +39,7 @@ func decideCommitteeRunner(r ssv.Runner, duty types.Duty, bv *types.BeaconVote) return decideRunnerForData(r, duty, bvBytes) } -func decideRunner(r ssv.Runner, duty types.Duty, cd *types.ValidatorConsensusData) ssv.Runner { +func decideRunner(r ssv.Runner, duty types.Duty, cd *types.ProposerConsensusData) ssv.Runner { cdBytes, err := cd.Encode() if err != nil { panic(err) diff --git a/ssv/spectest/tests/runner/preconsensus/post_decided.go b/ssv/spectest/tests/runner/preconsensus/post_decided.go index 58f23c601..d67b08305 100644 --- a/ssv/spectest/tests/runner/preconsensus/post_decided.go +++ b/ssv/spectest/tests/runner/preconsensus/post_decided.go @@ -17,7 +17,7 @@ import ( func PostDecided() tests.SpecTest { ks := testingutils.Testing4SharesSet() - decideRunner := func(r ssv.Runner, duty *types.ValidatorDuty, decidedValue *types.ValidatorConsensusData, preMsgs []*types.PartialSignatureMessages) ssv.Runner { + decideRunner := func(r ssv.Runner, duty *types.ValidatorDuty, decidedValue *types.ProposerConsensusData, preMsgs []*types.PartialSignatureMessages) ssv.Runner { r.GetBaseRunner().State = ssv.NewRunnerState(3, duty) for _, msg := range preMsgs { err := r.ProcessPreConsensus(msg) diff --git a/ssv/spectest/tests/valcheck/valcheckduty/far_future_duty_slot.go b/ssv/spectest/tests/valcheck/valcheckduty/far_future_duty_slot.go index ca53f12ce..ad153da43 100644 --- a/ssv/spectest/tests/valcheck/valcheckduty/far_future_duty_slot.go +++ b/ssv/spectest/tests/valcheck/valcheckduty/far_future_duty_slot.go @@ -14,8 +14,8 @@ import ( // FarFutureDutySlot tests duty.Slot higher than expected func FarFutureDutySlot() tests.SpecTest { - consensusDataBytsF := func(cd *types.ValidatorConsensusData) []byte { - cdCopy := &types.ValidatorConsensusData{} + consensusDataBytsF := func(cd *types.ProposerConsensusData) []byte { + cdCopy := &types.ProposerConsensusData{} b, _ := json.Marshal(cd) if err := json.Unmarshal(b, cdCopy); err != nil { panic(err.Error()) diff --git a/ssv/spectest/tests/valcheck/valcheckduty/wrong_duty_type.go b/ssv/spectest/tests/valcheck/valcheckduty/wrong_duty_type.go index efe148f87..7915e2232 100644 --- a/ssv/spectest/tests/valcheck/valcheckduty/wrong_duty_type.go +++ b/ssv/spectest/tests/valcheck/valcheckduty/wrong_duty_type.go @@ -12,7 +12,7 @@ import ( // WrongDutyType tests duty.Type not attester func WrongDutyType() tests.SpecTest { - consensusDataBytsWithIncorrectTypeF := func(cd *types.ValidatorConsensusData) []byte { + consensusDataBytsWithIncorrectTypeF := func(cd *types.ProposerConsensusData) []byte { cd.Duty.Type = types.BNRoleAggregator input, _ := cd.Encode() return input diff --git a/ssv/spectest/tests/valcheck/valcheckduty/wrong_validator_index.go b/ssv/spectest/tests/valcheck/valcheckduty/wrong_validator_index.go index 87c1009be..e94d55eac 100644 --- a/ssv/spectest/tests/valcheck/valcheckduty/wrong_validator_index.go +++ b/ssv/spectest/tests/valcheck/valcheckduty/wrong_validator_index.go @@ -14,8 +14,8 @@ import ( // WrongValidatorIndex tests duty.ValidatorIndex wrong func WrongValidatorIndex() tests.SpecTest { - consensusDataBytsF := func(cd *types.ValidatorConsensusData) []byte { - cdCopy := types.ValidatorConsensusData{} + consensusDataBytsF := func(cd *types.ProposerConsensusData) []byte { + cdCopy := types.ProposerConsensusData{} b, _ := json.Marshal(cd) if err := json.Unmarshal(b, &cdCopy); err != nil { panic(err.Error()) diff --git a/ssv/spectest/tests/valcheck/valcheckduty/wrong_validator_pk.go b/ssv/spectest/tests/valcheck/valcheckduty/wrong_validator_pk.go index 87f632c7e..04df22f51 100644 --- a/ssv/spectest/tests/valcheck/valcheckduty/wrong_validator_pk.go +++ b/ssv/spectest/tests/valcheck/valcheckduty/wrong_validator_pk.go @@ -14,8 +14,8 @@ import ( // WrongValidatorPK tests duty.PubKey wrong func WrongValidatorPK() tests.SpecTest { - consensusDataBytsF := func(cd *types.ValidatorConsensusData) []byte { - cdCopy := &types.ValidatorConsensusData{} + consensusDataBytsF := func(cd *types.ProposerConsensusData) []byte { + cdCopy := &types.ProposerConsensusData{} b, _ := json.Marshal(cd) if err := json.Unmarshal(b, cdCopy); err != nil { panic(err.Error()) diff --git a/ssv/spectest/tests/valcheck/wrong_decoding.go b/ssv/spectest/tests/valcheck/wrong_decoding.go index 3e4adb0c9..cbbe4ecb6 100644 --- a/ssv/spectest/tests/valcheck/wrong_decoding.go +++ b/ssv/spectest/tests/valcheck/wrong_decoding.go @@ -44,7 +44,7 @@ func WrongDecoding() tests.SpecTest { Network: types.BeaconTestNetwork, RunnerRole: types.RoleProposer, Input: testingutils.TestBeaconVoteByts, - ExpectedErrorCode: types.ValidatorConsensusDataDecodeErrorCode, + ExpectedErrorCode: types.ProposerConsensusDataDecodeErrorCode, }, }, ) diff --git a/ssv/value_check.go b/ssv/value_check.go index 52577e2ba..ad7955215 100644 --- a/ssv/value_check.go +++ b/ssv/value_check.go @@ -95,9 +95,9 @@ func ProposerValueCheckF( sharePublicKey []byte, ) qbft.ProposedValueCheckF { return func(data []byte) error { - cd := &types.ValidatorConsensusData{} + cd := &types.ProposerConsensusData{} if err := cd.Decode(data); err != nil { - return types.WrapError(types.ValidatorConsensusDataDecodeErrorCode, errors.Wrap(err, "failed decoding consensus data")) + return types.WrapError(types.ProposerConsensusDataDecodeErrorCode, errors.Wrap(err, "failed decoding consensus data")) } if err := cd.Validate(); err != nil { return types.NewError(types.QBFTValueInvalidErrorCode, fmt.Sprintf("invalid value: %v", err.Error())) diff --git a/types/consensus_data.go b/types/consensus_data.go index 339e8ba41..0657c8d18 100644 --- a/types/consensus_data.go +++ b/types/consensus_data.go @@ -122,10 +122,8 @@ func (b *BeaconVote) Decode(data []byte) error { return b.UnmarshalSSZ(data) } -// ValidatorConsensusData holds all relevant duty and data Decided on by consensus -// It's only used for the Proposer role. -// TODO: rename it to associate with Proposer role -type ValidatorConsensusData struct { +// ProposerConsensusData holds all relevant data about proposer duty for consensus +type ProposerConsensusData struct { // Duty max size is // 8 + 48 + 6*8 + 13*8 + 1 = 209 Duty ValidatorDuty @@ -165,24 +163,17 @@ type ValidatorConsensusData struct { DataSSZ []byte `ssz-max:"8388608"` // 2^23 to account for potential gas limit increases } -func (cd *ValidatorConsensusData) Validate() error { - switch cd.Duty.Type { - case BNRoleProposer: - if _, _, err := cd.GetBlockData(); err != nil { - return err - } - case BNRoleValidatorRegistration: - return NewError(ValidatorRegistrationNoConsensusDataErrorCode, "validator registration has no consensus data") - case BNRoleVoluntaryExit: - return NewError(ValidatorExitNoConsensusDataErrorCode, "voluntary exit has no consensus data") - default: +func (cd *ProposerConsensusData) Validate() error { + if cd.Duty.Type != BNRoleProposer { + return NewError(UnknownDutyRoleDataErrorCode, "unknown duty role") } - return nil + _, _, err := cd.GetBlockData() + return err } // GetBlockData returns block data for both blinded and regular blocks -func (cd *ValidatorConsensusData) GetBlockData() (blk *api.VersionedProposal, signingRoot ssz.HashRoot, err error) { +func (cd *ProposerConsensusData) GetBlockData() (blk *api.VersionedProposal, signingRoot ssz.HashRoot, err error) { switch cd.Version { case spec.DataVersionCapella: blindedBlock := &apiv1capella.BlindedBeaconBlock{} @@ -245,11 +236,11 @@ func (cd *ValidatorConsensusData) GetBlockData() (blk *api.VersionedProposal, si } } -func (cd *ValidatorConsensusData) Encode() ([]byte, error) { +func (cd *ProposerConsensusData) Encode() ([]byte, error) { return cd.MarshalSSZ() } -func (cd *ValidatorConsensusData) Decode(data []byte) error { +func (cd *ProposerConsensusData) Decode(data []byte) error { return cd.UnmarshalSSZ(data) } diff --git a/types/consensus_data_encoding.go b/types/consensus_data_encoding.go index 22be659f1..9b205bab1 100644 --- a/types/consensus_data_encoding.go +++ b/types/consensus_data_encoding.go @@ -185,43 +185,43 @@ func (b *BeaconVote) GetTree() (*ssz.Node, error) { return ssz.ProofTree(b) } -// MarshalSSZ ssz marshals the ValidatorConsensusData object -func (v *ValidatorConsensusData) MarshalSSZ() ([]byte, error) { - return ssz.MarshalSSZ(v) +// MarshalSSZ ssz marshals the ProposerConsensusData object +func (p *ProposerConsensusData) MarshalSSZ() ([]byte, error) { + return ssz.MarshalSSZ(p) } -// MarshalSSZTo ssz marshals the ValidatorConsensusData object to a target array -func (v *ValidatorConsensusData) MarshalSSZTo(buf []byte) (dst []byte, err error) { +// MarshalSSZTo ssz marshals the ProposerConsensusData object to a target array +func (p *ProposerConsensusData) MarshalSSZTo(buf []byte) (dst []byte, err error) { dst = buf offset := int(16) // Offset (0) 'Duty' dst = ssz.WriteOffset(dst, offset) - offset += v.Duty.SizeSSZ() + offset += p.Duty.SizeSSZ() // Field (1) 'Version' - dst = ssz.MarshalUint64(dst, uint64(v.Version)) + dst = ssz.MarshalUint64(dst, uint64(p.Version)) // Offset (2) 'DataSSZ' dst = ssz.WriteOffset(dst, offset) // Field (0) 'Duty' - if dst, err = v.Duty.MarshalSSZTo(dst); err != nil { + if dst, err = p.Duty.MarshalSSZTo(dst); err != nil { return } // Field (2) 'DataSSZ' - if size := len(v.DataSSZ); size > 8388608 { - err = ssz.ErrBytesLengthFn("ValidatorConsensusData.DataSSZ", size, 8388608) + if size := len(p.DataSSZ); size > 8388608 { + err = ssz.ErrBytesLengthFn("ProposerConsensusData.DataSSZ", size, 8388608) return } - dst = append(dst, v.DataSSZ...) + dst = append(dst, p.DataSSZ...) return } -// UnmarshalSSZ ssz unmarshals the ValidatorConsensusData object -func (v *ValidatorConsensusData) UnmarshalSSZ(buf []byte) error { +// UnmarshalSSZ ssz unmarshals the ProposerConsensusData object +func (p *ProposerConsensusData) UnmarshalSSZ(buf []byte) error { var err error size := uint64(len(buf)) if size < 16 { @@ -241,7 +241,7 @@ func (v *ValidatorConsensusData) UnmarshalSSZ(buf []byte) error { } // Field (1) 'Version' - v.Version = spec.DataVersion(ssz.UnmarshallUint64(buf[4:12])) + p.Version = spec.DataVersion(ssz.UnmarshallUint64(buf[4:12])) // Offset (2) 'DataSSZ' if o2 = ssz.ReadOffset(buf[12:16]); o2 > size || o0 > o2 { @@ -251,7 +251,7 @@ func (v *ValidatorConsensusData) UnmarshalSSZ(buf []byte) error { // Field (0) 'Duty' { buf = tail[o0:o2] - if err = v.Duty.UnmarshalSSZ(buf); err != nil { + if err = p.Duty.UnmarshalSSZ(buf); err != nil { return err } } @@ -262,53 +262,53 @@ func (v *ValidatorConsensusData) UnmarshalSSZ(buf []byte) error { if len(buf) > 8388608 { return ssz.ErrBytesLength } - if cap(v.DataSSZ) == 0 { - v.DataSSZ = make([]byte, 0, len(buf)) + if cap(p.DataSSZ) == 0 { + p.DataSSZ = make([]byte, 0, len(buf)) } - v.DataSSZ = append(v.DataSSZ, buf...) + p.DataSSZ = append(p.DataSSZ, buf...) } return err } -// SizeSSZ returns the ssz encoded size in bytes for the ValidatorConsensusData object -func (v *ValidatorConsensusData) SizeSSZ() (size int) { +// SizeSSZ returns the ssz encoded size in bytes for the ProposerConsensusData object +func (p *ProposerConsensusData) SizeSSZ() (size int) { size = 16 // Field (0) 'Duty' - size += v.Duty.SizeSSZ() + size += p.Duty.SizeSSZ() // Field (2) 'DataSSZ' - size += len(v.DataSSZ) + size += len(p.DataSSZ) return } -// HashTreeRoot ssz hashes the ValidatorConsensusData object -func (v *ValidatorConsensusData) HashTreeRoot() ([32]byte, error) { - return ssz.HashWithDefaultHasher(v) +// HashTreeRoot ssz hashes the ProposerConsensusData object +func (p *ProposerConsensusData) HashTreeRoot() ([32]byte, error) { + return ssz.HashWithDefaultHasher(p) } -// HashTreeRootWith ssz hashes the ValidatorConsensusData object with a hasher -func (v *ValidatorConsensusData) HashTreeRootWith(hh ssz.HashWalker) (err error) { +// HashTreeRootWith ssz hashes the ProposerConsensusData object with a hasher +func (p *ProposerConsensusData) HashTreeRootWith(hh ssz.HashWalker) (err error) { indx := hh.Index() // Field (0) 'Duty' - if err = v.Duty.HashTreeRootWith(hh); err != nil { + if err = p.Duty.HashTreeRootWith(hh); err != nil { return } // Field (1) 'Version' - hh.PutUint64(uint64(v.Version)) + hh.PutUint64(uint64(p.Version)) // Field (2) 'DataSSZ' { elemIndx := hh.Index() - byteLen := uint64(len(v.DataSSZ)) + byteLen := uint64(len(p.DataSSZ)) if byteLen > 8388608 { err = ssz.ErrIncorrectListSize return } - hh.Append(v.DataSSZ) + hh.Append(p.DataSSZ) hh.MerkleizeWithMixin(elemIndx, byteLen, (8388608+31)/32) } @@ -316,9 +316,9 @@ func (v *ValidatorConsensusData) HashTreeRootWith(hh ssz.HashWalker) (err error) return } -// GetTree ssz hashes the ValidatorConsensusData object -func (v *ValidatorConsensusData) GetTree() (*ssz.Node, error) { - return ssz.ProofTree(v) +// GetTree ssz hashes the ProposerConsensusData object +func (p *ProposerConsensusData) GetTree() (*ssz.Node, error) { + return ssz.ProofTree(p) } // MarshalSSZ ssz marshals the AssignedAggregator object diff --git a/types/error.go b/types/error.go index 3c154b5d5..31755de1a 100644 --- a/types/error.go +++ b/types/error.go @@ -14,8 +14,6 @@ const ( WrongMessageHeightErrorCode SignerIsNotInCommitteeErrorCode NonUniqueSignerErrorCode - ValidatorRegistrationNoConsensusDataErrorCode - ValidatorExitNoConsensusDataErrorCode UnknownDutyRoleDataErrorCode UnknownBlockVersionErrorCode IncorrectNumberOfSignaturesErrorCode @@ -86,7 +84,7 @@ const ( AggCommUnusedSubnetErrorCode AggCommConsensusDataNoValidatorErrorCode AggCommConsensusDataDecodeErrorCode - ValidatorConsensusDataDecodeErrorCode + ProposerConsensusDataDecodeErrorCode PostConsensusQuorumWithInvalidSignatures InvalidAggregatorCommitteeDutyErrorCode UnknownVersionErrorCode diff --git a/types/messages.go b/types/messages.go index dc34bc550..e9dc32581 100644 --- a/types/messages.go +++ b/types/messages.go @@ -128,7 +128,7 @@ type SignedSSVMessage struct { Signatures [][]byte `ssz-max:"13,256"` // Created by the operators' key OperatorIDs []OperatorID `ssz-max:"13"` SSVMessage *SSVMessage - // Full data max value is the max value between ValidatorConsensusData and BeaconVote + // Full data max value is the max value between ProposerConsensusData, AggregatorCommitteeConsensusData, and BeaconVote FullData []byte `ssz-max:"8388836"` } diff --git a/types/spectest/all_tests.go b/types/spectest/all_tests.go index 4b06373a3..c1ffe9157 100644 --- a/types/spectest/all_tests.go +++ b/types/spectest/all_tests.go @@ -11,12 +11,12 @@ import ( "github.com/ssvlabs/ssv-spec/types/spectest/tests/encryption" "github.com/ssvlabs/ssv-spec/types/spectest/tests/maxmsgsize" "github.com/ssvlabs/ssv-spec/types/spectest/tests/partialsigmessage" + "github.com/ssvlabs/ssv-spec/types/spectest/tests/proposerconsensusdata" + consensusdataproposer "github.com/ssvlabs/ssv-spec/types/spectest/tests/proposerconsensusdata/proposer" "github.com/ssvlabs/ssv-spec/types/spectest/tests/share" "github.com/ssvlabs/ssv-spec/types/spectest/tests/signedssvmsg" "github.com/ssvlabs/ssv-spec/types/spectest/tests/ssvmsg" "github.com/ssvlabs/ssv-spec/types/spectest/tests/ssz" - "github.com/ssvlabs/ssv-spec/types/spectest/tests/validatorconsensusdata" - consensusdataproposer "github.com/ssvlabs/ssv-spec/types/spectest/tests/validatorconsensusdata/proposer" ) type SpecTest interface { @@ -48,30 +48,30 @@ var AllTests = []SpecTest{ encryption.SimpleEncrypt(), encryption.EncryptBLSSK(), - validatorconsensusdata.InvalidDuty(), - - validatorconsensusdata.ProposerConsensusDataEncoding(), - validatorconsensusdata.BlindedProposerConsensusDataEncoding(), - validatorconsensusdata.CapellaBlockValidation(), - validatorconsensusdata.CapellaBlindedBlockValidation(), - validatorconsensusdata.ProposerNoJustifications(), - validatorconsensusdata.InvalidCapellaBlindedBlockValidation(), - validatorconsensusdata.InvalidCapellaBlockValidation(), - validatorconsensusdata.DenebBlockValidation(), - validatorconsensusdata.DenebBlindedBlockValidation(), - validatorconsensusdata.InvalidDenebBlockValidation(), - validatorconsensusdata.InvalidDenebBlindedBlockValidation(), - validatorconsensusdata.ElectraBlockValidation(), - validatorconsensusdata.ElectraBlindedBlockValidation(), - validatorconsensusdata.InvalidElectraBlockValidation(), - validatorconsensusdata.InvalidElectraBlindedBlockValidation(), - validatorconsensusdata.FuluBlockValidation(), - validatorconsensusdata.FuluBlindedBlockValidation(), - validatorconsensusdata.InvalidFuluBlockValidation(), - validatorconsensusdata.InvalidFuluBlindedBlockValidation(), - - validatorconsensusdata.ValidatorRegistration(), - validatorconsensusdata.VoluntaryExit(), + proposerconsensusdata.InvalidDuty(), + + proposerconsensusdata.ProposerConsensusDataEncoding(), + proposerconsensusdata.BlindedProposerConsensusDataEncoding(), + proposerconsensusdata.CapellaBlockValidation(), + proposerconsensusdata.CapellaBlindedBlockValidation(), + proposerconsensusdata.ProposerNoJustifications(), + proposerconsensusdata.InvalidCapellaBlindedBlockValidation(), + proposerconsensusdata.InvalidCapellaBlockValidation(), + proposerconsensusdata.DenebBlockValidation(), + proposerconsensusdata.DenebBlindedBlockValidation(), + proposerconsensusdata.InvalidDenebBlockValidation(), + proposerconsensusdata.InvalidDenebBlindedBlockValidation(), + proposerconsensusdata.ElectraBlockValidation(), + proposerconsensusdata.ElectraBlindedBlockValidation(), + proposerconsensusdata.InvalidElectraBlockValidation(), + proposerconsensusdata.InvalidElectraBlindedBlockValidation(), + proposerconsensusdata.FuluBlockValidation(), + proposerconsensusdata.FuluBlindedBlockValidation(), + proposerconsensusdata.InvalidFuluBlockValidation(), + proposerconsensusdata.InvalidFuluBlindedBlockValidation(), + + proposerconsensusdata.WrongDutyTypeValidatorRegistration(), + proposerconsensusdata.WrongDutyTypeVoluntaryExit(), aggregatorcommitteeconsensusdata.Phase0AggregatorConsensusDataEncoding(), aggregatorcommitteeconsensusdata.ElectraAggregatorConsensusDataEncoding(), diff --git a/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with duplicated committee index.json b/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with duplicated committee index.json index 06eab1d0b..9cfe4ab50 100644 --- a/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with duplicated committee index.json +++ b/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with duplicated committee index.json @@ -22,5 +22,5 @@ "Contributors": [], "SyncCommitteeContributions": [] }, - "ExpectedErrorCode": 76 + "ExpectedErrorCode": 74 } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with electra attestation decoding error.json b/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with electra attestation decoding error.json index 08742efb4..d4805fc6f 100644 --- a/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with electra attestation decoding error.json +++ b/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with electra attestation decoding error.json @@ -20,5 +20,5 @@ "Contributors": [], "SyncCommitteeContributions": [] }, - "ExpectedErrorCode": 86 + "ExpectedErrorCode": 84 } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with missing committee index.json b/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with missing committee index.json index c90042084..67a6f1697 100644 --- a/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with missing committee index.json +++ b/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with missing committee index.json @@ -20,5 +20,5 @@ "Contributors": [], "SyncCommitteeContributions": [] }, - "ExpectedErrorCode": 74 + "ExpectedErrorCode": 72 } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with no validators.json b/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with no validators.json index 85b353543..c4d8d07fb 100644 --- a/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with no validators.json +++ b/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with no validators.json @@ -10,5 +10,5 @@ "Contributors": null, "SyncCommitteeContributions": null }, - "ExpectedErrorCode": 80 + "ExpectedErrorCode": 78 } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with phase0 attestation decoding error.json b/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with phase0 attestation decoding error.json index 6e16117e7..e422115e8 100644 --- a/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with phase0 attestation decoding error.json +++ b/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with phase0 attestation decoding error.json @@ -20,5 +20,5 @@ "Contributors": [], "SyncCommitteeContributions": [] }, - "ExpectedErrorCode": 86 + "ExpectedErrorCode": 84 } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with unused committee index.json b/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with unused committee index.json index 594008bc3..5171d22db 100644 --- a/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with unused committee index.json +++ b/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with unused committee index.json @@ -22,5 +22,5 @@ "Contributors": [], "SyncCommitteeContributions": [] }, - "ExpectedErrorCode": 75 + "ExpectedErrorCode": 73 } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with wrong committee indexes length.json b/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with wrong committee indexes length.json index ebd983d01..b6ddc109b 100644 --- a/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with wrong committee indexes length.json +++ b/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid aggregator data with wrong committee indexes length.json @@ -21,5 +21,5 @@ "Contributors": [], "SyncCommitteeContributions": [] }, - "ExpectedErrorCode": 73 + "ExpectedErrorCode": 71 } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid sync committee contribution with duplicated subnet.json b/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid sync committee contribution with duplicated subnet.json index 4d095427d..35c576fa0 100644 --- a/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid sync committee contribution with duplicated subnet.json +++ b/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid sync committee contribution with duplicated subnet.json @@ -55,5 +55,5 @@ } ] }, - "ExpectedErrorCode": 78 + "ExpectedErrorCode": 76 } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid sync committee contribution with missing subnet.json b/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid sync committee contribution with missing subnet.json index 65bd4704e..6737aa3ac 100644 --- a/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid sync committee contribution with missing subnet.json +++ b/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid sync committee contribution with missing subnet.json @@ -48,5 +48,5 @@ } ] }, - "ExpectedErrorCode": 77 + "ExpectedErrorCode": 75 } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid sync committee contribution with unused subnet.json b/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid sync committee contribution with unused subnet.json index bc2982119..e9f736703 100644 --- a/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid sync committee contribution with unused subnet.json +++ b/types/spectest/generate/state_comparison/aggregatorcommitteeconsensusdata_AggregatorCommitteeConsensusDataTest/aggregatorcommitteeconsensusdata invalid sync committee contribution with unused subnet.json @@ -55,5 +55,5 @@ } ] }, - "ExpectedErrorCode": 79 + "ExpectedErrorCode": 77 } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/consensusdataproposer_ProposerSpecTest/consensus data versioned blinded block unknown version.json b/types/spectest/generate/state_comparison/consensusdataproposer_ProposerSpecTest/consensus data versioned blinded block unknown version.json index 37ede4a11..22f15ceb3 100644 --- a/types/spectest/generate/state_comparison/consensusdataproposer_ProposerSpecTest/consensus data versioned blinded block unknown version.json +++ b/types/spectest/generate/state_comparison/consensusdataproposer_ProposerSpecTest/consensus data versioned blinded block unknown version.json @@ -7,5 +7,5 @@ "DataBlk": null, "ExpectedBlkRoot": "0000000000000000000000000000000000000000000000000000000000000000", "ExpectedCdRoot": "0000000000000000000000000000000000000000000000000000000000000000", - "ExpectedErrorCode": 13 + "ExpectedErrorCode": 11 } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/consensusdataproposer_ProposerSpecTest/consensus data versioned block unknown version.json b/types/spectest/generate/state_comparison/consensusdataproposer_ProposerSpecTest/consensus data versioned block unknown version.json index ccda1e2d3..e2def21c6 100644 --- a/types/spectest/generate/state_comparison/consensusdataproposer_ProposerSpecTest/consensus data versioned block unknown version.json +++ b/types/spectest/generate/state_comparison/consensusdataproposer_ProposerSpecTest/consensus data versioned block unknown version.json @@ -7,5 +7,5 @@ "DataBlk": null, "ExpectedBlkRoot": "0000000000000000000000000000000000000000000000000000000000000000", "ExpectedCdRoot": "0000000000000000000000000000000000000000000000000000000000000000", - "ExpectedErrorCode": 13 + "ExpectedErrorCode": 11 } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/maxmsgsize_StructureSizeTest/structure size test max ValidatorConsensusData.json b/types/spectest/generate/state_comparison/maxmsgsize_StructureSizeTest/structure size test max ProposerConsensusData.json similarity index 99% rename from types/spectest/generate/state_comparison/maxmsgsize_StructureSizeTest/structure size test max ValidatorConsensusData.json rename to types/spectest/generate/state_comparison/maxmsgsize_StructureSizeTest/structure size test max ProposerConsensusData.json index 652aa8140..335cb2897 100644 --- a/types/spectest/generate/state_comparison/maxmsgsize_StructureSizeTest/structure size test max ValidatorConsensusData.json +++ b/types/spectest/generate/state_comparison/maxmsgsize_StructureSizeTest/structure size test max ProposerConsensusData.json @@ -1,5 +1,5 @@ { - "Name": "max ValidatorConsensusData", + "Name": "max ProposerConsensusData", "Type": "Structure size: validation of structure size", "Documentation": "Test the maximum size of a validator consensus data with maximum SSZ data", "Object": { diff --git a/types/spectest/generate/state_comparison/partialsigmessage_MsgSpecTest/msg inconsistent signed message.json b/types/spectest/generate/state_comparison/partialsigmessage_MsgSpecTest/msg inconsistent signed message.json index fb9f9770c..4575b2855 100644 --- a/types/spectest/generate/state_comparison/partialsigmessage_MsgSpecTest/msg inconsistent signed message.json +++ b/types/spectest/generate/state_comparison/partialsigmessage_MsgSpecTest/msg inconsistent signed message.json @@ -24,5 +24,5 @@ ], "EncodedMessages": null, "ExpectedRoots": null, - "ExpectedErrorCode": 20 + "ExpectedErrorCode": 18 } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/partialsigmessage_MsgSpecTest/msg invalid message.json b/types/spectest/generate/state_comparison/partialsigmessage_MsgSpecTest/msg invalid message.json index 9a902b3fb..25764ff11 100644 --- a/types/spectest/generate/state_comparison/partialsigmessage_MsgSpecTest/msg invalid message.json +++ b/types/spectest/generate/state_comparison/partialsigmessage_MsgSpecTest/msg invalid message.json @@ -24,5 +24,5 @@ ], "EncodedMessages": null, "ExpectedRoots": null, - "ExpectedErrorCode": 20 + "ExpectedErrorCode": 18 } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/partialsigmessage_MsgSpecTest/msg message signer 0.json b/types/spectest/generate/state_comparison/partialsigmessage_MsgSpecTest/msg message signer 0.json index ae3b88adf..4d5da0f1b 100644 --- a/types/spectest/generate/state_comparison/partialsigmessage_MsgSpecTest/msg message signer 0.json +++ b/types/spectest/generate/state_comparison/partialsigmessage_MsgSpecTest/msg message signer 0.json @@ -30,5 +30,5 @@ ], "EncodedMessages": null, "ExpectedRoots": null, - "ExpectedErrorCode": 19 + "ExpectedErrorCode": 17 } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/partialsigmessage_MsgSpecTest/msg no messages.json b/types/spectest/generate/state_comparison/partialsigmessage_MsgSpecTest/msg no messages.json index dbc735fff..7b0d26758 100644 --- a/types/spectest/generate/state_comparison/partialsigmessage_MsgSpecTest/msg no messages.json +++ b/types/spectest/generate/state_comparison/partialsigmessage_MsgSpecTest/msg no messages.json @@ -11,5 +11,5 @@ ], "EncodedMessages": null, "ExpectedRoots": null, - "ExpectedErrorCode": 21 + "ExpectedErrorCode": 19 } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_EncodingTest/blinded proposer encoding.json b/types/spectest/generate/state_comparison/proposerconsensusdata_EncodingTest/blinded proposer encoding.json similarity index 100% rename from types/spectest/generate/state_comparison/validatorconsensusdata_EncodingTest/blinded proposer encoding.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_EncodingTest/blinded proposer encoding.json diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_EncodingTest/proposer encoding.json b/types/spectest/generate/state_comparison/proposerconsensusdata_EncodingTest/proposer encoding.json similarity index 100% rename from types/spectest/generate/state_comparison/validatorconsensusdata_EncodingTest/proposer encoding.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_EncodingTest/proposer encoding.json diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata invalid capella blinded block.json b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata invalid capella blinded block.json similarity index 100% rename from types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata invalid capella blinded block.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata invalid capella blinded block.json diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata invalid capella block.json b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata invalid capella block.json similarity index 100% rename from types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata invalid capella block.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata invalid capella block.json diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata invalid deneb blinded block.json b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata invalid deneb blinded block.json similarity index 100% rename from types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata invalid deneb blinded block.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata invalid deneb blinded block.json diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata invalid deneb block.json b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata invalid deneb block.json similarity index 100% rename from types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata invalid deneb block.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata invalid deneb block.json diff --git a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_invalid_duty.json b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata invalid duty.json similarity index 96% rename from types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_invalid_duty.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata invalid duty.json index 4806ca2e6..2366b8361 100644 --- a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_invalid_duty.json +++ b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata invalid duty.json @@ -17,5 +17,5 @@ "Version": "capella", "DataSSZ": "AEBPAAAAAAADAAAAAAAAAAECAwQFBgcICQoBAgMEBQYHCAkKAQIDBAUGBwgJCgECAAAAAAAAAAABAgMEBQYHCAkKAQIDBAUGBwgJCgECAwQFBgcICQoBAgEAAAAAAAAAAQIDBAUGBwgJCgECAwQFBgcICQoBAgMEBQYHCAkKAQI=" }, - "ExpectedErrorCode": 12 + "ExpectedErrorCode": 10 } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata invalid electra blinded block.json b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata invalid electra blinded block.json similarity index 100% rename from types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata invalid electra blinded block.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata invalid electra blinded block.json diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata invalid electra block.json b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata invalid electra block.json similarity index 100% rename from types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata invalid electra block.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata invalid electra block.json diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata invalid fulu blinded block.json b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata invalid fulu blinded block.json similarity index 100% rename from types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata invalid fulu blinded block.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata invalid fulu blinded block.json diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata invalid fulu block.json b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata invalid fulu block.json similarity index 100% rename from types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata invalid fulu block.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata invalid fulu block.json diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata proposer no justification.json b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata proposer no justification.json similarity index 100% rename from types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata proposer no justification.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata proposer no justification.json diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata valid capella blinded block.json b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata valid capella blinded block.json similarity index 100% rename from types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata valid capella blinded block.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata valid capella blinded block.json diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata valid capella block.json b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata valid capella block.json similarity index 100% rename from types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata valid capella block.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata valid capella block.json diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata valid deneb blinded block.json b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata valid deneb blinded block.json similarity index 100% rename from types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata valid deneb blinded block.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata valid deneb blinded block.json diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata valid deneb block.json b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata valid deneb block.json similarity index 100% rename from types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata valid deneb block.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata valid deneb block.json diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata valid electra blinded block.json b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata valid electra blinded block.json similarity index 100% rename from types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata valid electra blinded block.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata valid electra blinded block.json diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata valid electra block.json b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata valid electra block.json similarity index 100% rename from types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata valid electra block.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata valid electra block.json diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata valid fulu blinded block.json b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata valid fulu blinded block.json similarity index 100% rename from types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata valid fulu blinded block.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata valid fulu blinded block.json diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata valid fulu block.json b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata valid fulu block.json similarity index 100% rename from types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata valid fulu block.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata valid fulu block.json diff --git a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_validator_registration.json b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata wrong duty type validator registration.json similarity index 93% rename from types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_validator_registration.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata wrong duty type validator registration.json index 1105afd40..4d3ff9b6a 100644 --- a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_validator_registration.json +++ b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata wrong duty type validator registration.json @@ -1,5 +1,5 @@ { - "Name": "validator registration", + "Name": "wrong duty type validator registration", "Type": "Validator consensus data: validation of validator consensus data", "Documentation": "Test validation error for validator registration consensus data which has no consensus data", "ConsensusData": { diff --git a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_voluntary_exit.json b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata wrong duty type voluntary exit.json similarity index 90% rename from types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_voluntary_exit.json rename to types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata wrong duty type voluntary exit.json index 4932e9e98..b8e8152d9 100644 --- a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_voluntary_exit.json +++ b/types/spectest/generate/state_comparison/proposerconsensusdata_ProposerConsensusDataTest/proposerconsensusdata wrong duty type voluntary exit.json @@ -1,5 +1,5 @@ { - "Name": "voluntary exit", + "Name": "wrong duty type voluntary exit", "Type": "Validator consensus data: validation of validator consensus data", "Documentation": "Test validation error for voluntary exit consensus data which has no consensus data", "ConsensusData": { @@ -17,5 +17,5 @@ "Version": "capella", "DataSSZ": "AAAAAAAAAAABAAAAAAAAAA==" }, - "ExpectedErrorCode": 11 + "ExpectedErrorCode": 10 } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg empty signature.json b/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg empty signature.json index 7456cc7ba..93c92b1c2 100644 --- a/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg empty signature.json +++ b/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg empty signature.json @@ -18,6 +18,6 @@ "FullData": null } ], - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "RSAPublicKey": null } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg nil ssvmessage.json b/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg nil ssvmessage.json index db25ae1f6..d420f1978 100644 --- a/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg nil ssvmessage.json +++ b/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg nil ssvmessage.json @@ -14,6 +14,6 @@ "FullData": null } ], - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "RSAPublicKey": null } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg no signatures.json b/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg no signatures.json index 3ff84ebf8..6057c6d3f 100644 --- a/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg no signatures.json +++ b/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg no signatures.json @@ -16,6 +16,6 @@ "FullData": null } ], - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "RSAPublicKey": null } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg no signers.json b/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg no signers.json index 4210ed4a9..a3c00933b 100644 --- a/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg no signers.json +++ b/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg no signers.json @@ -16,6 +16,6 @@ "FullData": null } ], - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "RSAPublicKey": null } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg signers and signatures with different length.json b/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg signers and signatures with different length.json index 9e7a4c6fb..c69fc5894 100644 --- a/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg signers and signatures with different length.json +++ b/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg signers and signatures with different length.json @@ -23,6 +23,6 @@ "FullData": null } ], - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "RSAPublicKey": null } \ No newline at end of file diff --git a/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg zero signer.json b/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg zero signer.json index 1e69fb3ac..06a4389df 100644 --- a/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg zero signer.json +++ b/types/spectest/generate/state_comparison/signedssvmsg_SignedSSVMessageTest/signedssvmsg zero signer.json @@ -18,6 +18,6 @@ "FullData": null } ], - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "RSAPublicKey": null } \ No newline at end of file diff --git a/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_duplicated_committee_index.json b/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_duplicated_committee_index.json index 06eab1d0b..9cfe4ab50 100644 --- a/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_duplicated_committee_index.json +++ b/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_duplicated_committee_index.json @@ -22,5 +22,5 @@ "Contributors": [], "SyncCommitteeContributions": [] }, - "ExpectedErrorCode": 76 + "ExpectedErrorCode": 74 } \ No newline at end of file diff --git a/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_electra_attestation_decoding_error.json b/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_electra_attestation_decoding_error.json index 08742efb4..d4805fc6f 100644 --- a/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_electra_attestation_decoding_error.json +++ b/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_electra_attestation_decoding_error.json @@ -20,5 +20,5 @@ "Contributors": [], "SyncCommitteeContributions": [] }, - "ExpectedErrorCode": 86 + "ExpectedErrorCode": 84 } \ No newline at end of file diff --git a/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_missing_committee_index.json b/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_missing_committee_index.json index c90042084..67a6f1697 100644 --- a/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_missing_committee_index.json +++ b/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_missing_committee_index.json @@ -20,5 +20,5 @@ "Contributors": [], "SyncCommitteeContributions": [] }, - "ExpectedErrorCode": 74 + "ExpectedErrorCode": 72 } \ No newline at end of file diff --git a/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_no_validators.json b/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_no_validators.json index 85b353543..c4d8d07fb 100644 --- a/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_no_validators.json +++ b/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_no_validators.json @@ -10,5 +10,5 @@ "Contributors": null, "SyncCommitteeContributions": null }, - "ExpectedErrorCode": 80 + "ExpectedErrorCode": 78 } \ No newline at end of file diff --git a/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_phase0_attestation_decoding_error.json b/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_phase0_attestation_decoding_error.json index 6e16117e7..e422115e8 100644 --- a/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_phase0_attestation_decoding_error.json +++ b/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_phase0_attestation_decoding_error.json @@ -20,5 +20,5 @@ "Contributors": [], "SyncCommitteeContributions": [] }, - "ExpectedErrorCode": 86 + "ExpectedErrorCode": 84 } \ No newline at end of file diff --git a/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_unused_committee_index.json b/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_unused_committee_index.json index 594008bc3..5171d22db 100644 --- a/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_unused_committee_index.json +++ b/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_unused_committee_index.json @@ -22,5 +22,5 @@ "Contributors": [], "SyncCommitteeContributions": [] }, - "ExpectedErrorCode": 75 + "ExpectedErrorCode": 73 } \ No newline at end of file diff --git a/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_wrong_committee_indexes_length.json b/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_wrong_committee_indexes_length.json index ebd983d01..b6ddc109b 100644 --- a/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_wrong_committee_indexes_length.json +++ b/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_aggregator_data_with_wrong_committee_indexes_length.json @@ -21,5 +21,5 @@ "Contributors": [], "SyncCommitteeContributions": [] }, - "ExpectedErrorCode": 73 + "ExpectedErrorCode": 71 } \ No newline at end of file diff --git a/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_sync_committee_contribution_with_duplicated_subnet.json b/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_sync_committee_contribution_with_duplicated_subnet.json index 4d095427d..35c576fa0 100644 --- a/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_sync_committee_contribution_with_duplicated_subnet.json +++ b/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_sync_committee_contribution_with_duplicated_subnet.json @@ -55,5 +55,5 @@ } ] }, - "ExpectedErrorCode": 78 + "ExpectedErrorCode": 76 } \ No newline at end of file diff --git a/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_sync_committee_contribution_with_missing_subnet.json b/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_sync_committee_contribution_with_missing_subnet.json index 65bd4704e..6737aa3ac 100644 --- a/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_sync_committee_contribution_with_missing_subnet.json +++ b/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_sync_committee_contribution_with_missing_subnet.json @@ -48,5 +48,5 @@ } ] }, - "ExpectedErrorCode": 77 + "ExpectedErrorCode": 75 } \ No newline at end of file diff --git a/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_sync_committee_contribution_with_unused_subnet.json b/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_sync_committee_contribution_with_unused_subnet.json index bc2982119..e9f736703 100644 --- a/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_sync_committee_contribution_with_unused_subnet.json +++ b/types/spectest/generate/tests/aggregatorcommitteeconsensusdata.AggregatorCommitteeConsensusDataTest_aggregatorcommitteeconsensusdata_invalid_sync_committee_contribution_with_unused_subnet.json @@ -55,5 +55,5 @@ } ] }, - "ExpectedErrorCode": 79 + "ExpectedErrorCode": 77 } \ No newline at end of file diff --git a/types/spectest/generate/tests/consensusdataproposer.ProposerSpecTest_consensus_data_versioned_blinded_block_unknown_version.json b/types/spectest/generate/tests/consensusdataproposer.ProposerSpecTest_consensus_data_versioned_blinded_block_unknown_version.json index 37ede4a11..22f15ceb3 100644 --- a/types/spectest/generate/tests/consensusdataproposer.ProposerSpecTest_consensus_data_versioned_blinded_block_unknown_version.json +++ b/types/spectest/generate/tests/consensusdataproposer.ProposerSpecTest_consensus_data_versioned_blinded_block_unknown_version.json @@ -7,5 +7,5 @@ "DataBlk": null, "ExpectedBlkRoot": "0000000000000000000000000000000000000000000000000000000000000000", "ExpectedCdRoot": "0000000000000000000000000000000000000000000000000000000000000000", - "ExpectedErrorCode": 13 + "ExpectedErrorCode": 11 } \ No newline at end of file diff --git a/types/spectest/generate/tests/consensusdataproposer.ProposerSpecTest_consensus_data_versioned_block_unknown_version.json b/types/spectest/generate/tests/consensusdataproposer.ProposerSpecTest_consensus_data_versioned_block_unknown_version.json index ccda1e2d3..e2def21c6 100644 --- a/types/spectest/generate/tests/consensusdataproposer.ProposerSpecTest_consensus_data_versioned_block_unknown_version.json +++ b/types/spectest/generate/tests/consensusdataproposer.ProposerSpecTest_consensus_data_versioned_block_unknown_version.json @@ -7,5 +7,5 @@ "DataBlk": null, "ExpectedBlkRoot": "0000000000000000000000000000000000000000000000000000000000000000", "ExpectedCdRoot": "0000000000000000000000000000000000000000000000000000000000000000", - "ExpectedErrorCode": 13 + "ExpectedErrorCode": 11 } \ No newline at end of file diff --git a/types/spectest/generate/tests/maxmsgsize.StructureSizeTest_structure_size_test_max_ValidatorConsensusData.json b/types/spectest/generate/tests/maxmsgsize.StructureSizeTest_structure_size_test_max_ProposerConsensusData.json similarity index 99% rename from types/spectest/generate/tests/maxmsgsize.StructureSizeTest_structure_size_test_max_ValidatorConsensusData.json rename to types/spectest/generate/tests/maxmsgsize.StructureSizeTest_structure_size_test_max_ProposerConsensusData.json index 652aa8140..335cb2897 100644 --- a/types/spectest/generate/tests/maxmsgsize.StructureSizeTest_structure_size_test_max_ValidatorConsensusData.json +++ b/types/spectest/generate/tests/maxmsgsize.StructureSizeTest_structure_size_test_max_ProposerConsensusData.json @@ -1,5 +1,5 @@ { - "Name": "max ValidatorConsensusData", + "Name": "max ProposerConsensusData", "Type": "Structure size: validation of structure size", "Documentation": "Test the maximum size of a validator consensus data with maximum SSZ data", "Object": { diff --git a/types/spectest/generate/tests/partialsigmessage.MsgSpecTest_msg_inconsistent_signed_message.json b/types/spectest/generate/tests/partialsigmessage.MsgSpecTest_msg_inconsistent_signed_message.json index fb9f9770c..4575b2855 100644 --- a/types/spectest/generate/tests/partialsigmessage.MsgSpecTest_msg_inconsistent_signed_message.json +++ b/types/spectest/generate/tests/partialsigmessage.MsgSpecTest_msg_inconsistent_signed_message.json @@ -24,5 +24,5 @@ ], "EncodedMessages": null, "ExpectedRoots": null, - "ExpectedErrorCode": 20 + "ExpectedErrorCode": 18 } \ No newline at end of file diff --git a/types/spectest/generate/tests/partialsigmessage.MsgSpecTest_msg_invalid_message.json b/types/spectest/generate/tests/partialsigmessage.MsgSpecTest_msg_invalid_message.json index 9a902b3fb..25764ff11 100644 --- a/types/spectest/generate/tests/partialsigmessage.MsgSpecTest_msg_invalid_message.json +++ b/types/spectest/generate/tests/partialsigmessage.MsgSpecTest_msg_invalid_message.json @@ -24,5 +24,5 @@ ], "EncodedMessages": null, "ExpectedRoots": null, - "ExpectedErrorCode": 20 + "ExpectedErrorCode": 18 } \ No newline at end of file diff --git a/types/spectest/generate/tests/partialsigmessage.MsgSpecTest_msg_message_signer_0.json b/types/spectest/generate/tests/partialsigmessage.MsgSpecTest_msg_message_signer_0.json index ae3b88adf..4d5da0f1b 100644 --- a/types/spectest/generate/tests/partialsigmessage.MsgSpecTest_msg_message_signer_0.json +++ b/types/spectest/generate/tests/partialsigmessage.MsgSpecTest_msg_message_signer_0.json @@ -30,5 +30,5 @@ ], "EncodedMessages": null, "ExpectedRoots": null, - "ExpectedErrorCode": 19 + "ExpectedErrorCode": 17 } \ No newline at end of file diff --git a/types/spectest/generate/tests/partialsigmessage.MsgSpecTest_msg_no_messages.json b/types/spectest/generate/tests/partialsigmessage.MsgSpecTest_msg_no_messages.json index dbc735fff..7b0d26758 100644 --- a/types/spectest/generate/tests/partialsigmessage.MsgSpecTest_msg_no_messages.json +++ b/types/spectest/generate/tests/partialsigmessage.MsgSpecTest_msg_no_messages.json @@ -11,5 +11,5 @@ ], "EncodedMessages": null, "ExpectedRoots": null, - "ExpectedErrorCode": 21 + "ExpectedErrorCode": 19 } \ No newline at end of file diff --git a/types/spectest/generate/tests/validatorconsensusdata.EncodingTest_blinded_proposer_encoding.json b/types/spectest/generate/tests/proposerconsensusdata.EncodingTest_blinded_proposer_encoding.json similarity index 100% rename from types/spectest/generate/tests/validatorconsensusdata.EncodingTest_blinded_proposer_encoding.json rename to types/spectest/generate/tests/proposerconsensusdata.EncodingTest_blinded_proposer_encoding.json diff --git a/types/spectest/generate/tests/validatorconsensusdata.EncodingTest_proposer_encoding.json b/types/spectest/generate/tests/proposerconsensusdata.EncodingTest_proposer_encoding.json similarity index 100% rename from types/spectest/generate/tests/validatorconsensusdata.EncodingTest_proposer_encoding.json rename to types/spectest/generate/tests/proposerconsensusdata.EncodingTest_proposer_encoding.json diff --git a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_invalid_capella_blinded_block.json b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_invalid_capella_blinded_block.json similarity index 100% rename from types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_invalid_capella_blinded_block.json rename to types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_invalid_capella_blinded_block.json diff --git a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_invalid_capella_block.json b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_invalid_capella_block.json similarity index 100% rename from types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_invalid_capella_block.json rename to types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_invalid_capella_block.json diff --git a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_invalid_deneb_blinded_block.json b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_invalid_deneb_blinded_block.json similarity index 100% rename from types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_invalid_deneb_blinded_block.json rename to types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_invalid_deneb_blinded_block.json diff --git a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_invalid_deneb_block.json b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_invalid_deneb_block.json similarity index 100% rename from types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_invalid_deneb_block.json rename to types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_invalid_deneb_block.json diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata invalid duty.json b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_invalid_duty.json similarity index 96% rename from types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata invalid duty.json rename to types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_invalid_duty.json index 4806ca2e6..2366b8361 100644 --- a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata invalid duty.json +++ b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_invalid_duty.json @@ -17,5 +17,5 @@ "Version": "capella", "DataSSZ": "AEBPAAAAAAADAAAAAAAAAAECAwQFBgcICQoBAgMEBQYHCAkKAQIDBAUGBwgJCgECAAAAAAAAAAABAgMEBQYHCAkKAQIDBAUGBwgJCgECAwQFBgcICQoBAgEAAAAAAAAAAQIDBAUGBwgJCgECAwQFBgcICQoBAgMEBQYHCAkKAQI=" }, - "ExpectedErrorCode": 12 + "ExpectedErrorCode": 10 } \ No newline at end of file diff --git a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_invalid_electra_blinded_block.json b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_invalid_electra_blinded_block.json similarity index 100% rename from types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_invalid_electra_blinded_block.json rename to types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_invalid_electra_blinded_block.json diff --git a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_invalid_electra_block.json b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_invalid_electra_block.json similarity index 100% rename from types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_invalid_electra_block.json rename to types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_invalid_electra_block.json diff --git a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_invalid_fulu_blinded_block.json b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_invalid_fulu_blinded_block.json similarity index 100% rename from types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_invalid_fulu_blinded_block.json rename to types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_invalid_fulu_blinded_block.json diff --git a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_invalid_fulu_block.json b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_invalid_fulu_block.json similarity index 100% rename from types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_invalid_fulu_block.json rename to types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_invalid_fulu_block.json diff --git a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_proposer_no_justification.json b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_proposer_no_justification.json similarity index 100% rename from types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_proposer_no_justification.json rename to types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_proposer_no_justification.json diff --git a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_valid_capella_blinded_block.json b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_valid_capella_blinded_block.json similarity index 100% rename from types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_valid_capella_blinded_block.json rename to types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_valid_capella_blinded_block.json diff --git a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_valid_capella_block.json b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_valid_capella_block.json similarity index 100% rename from types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_valid_capella_block.json rename to types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_valid_capella_block.json diff --git a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_valid_deneb_blinded_block.json b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_valid_deneb_blinded_block.json similarity index 100% rename from types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_valid_deneb_blinded_block.json rename to types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_valid_deneb_blinded_block.json diff --git a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_valid_deneb_block.json b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_valid_deneb_block.json similarity index 100% rename from types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_valid_deneb_block.json rename to types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_valid_deneb_block.json diff --git a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_valid_electra_blinded_block.json b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_valid_electra_blinded_block.json similarity index 100% rename from types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_valid_electra_blinded_block.json rename to types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_valid_electra_blinded_block.json diff --git a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_valid_electra_block.json b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_valid_electra_block.json similarity index 100% rename from types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_valid_electra_block.json rename to types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_valid_electra_block.json diff --git a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_valid_fulu_blinded_block.json b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_valid_fulu_blinded_block.json similarity index 100% rename from types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_valid_fulu_blinded_block.json rename to types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_valid_fulu_blinded_block.json diff --git a/types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_valid_fulu_block.json b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_valid_fulu_block.json similarity index 100% rename from types/spectest/generate/tests/validatorconsensusdata.ValidatorConsensusDataTest_validatorconsensusdata_valid_fulu_block.json rename to types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_valid_fulu_block.json diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata validator registration.json b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_wrong_duty_type_validator_registration.json similarity index 93% rename from types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata validator registration.json rename to types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_wrong_duty_type_validator_registration.json index 1105afd40..4d3ff9b6a 100644 --- a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata validator registration.json +++ b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_wrong_duty_type_validator_registration.json @@ -1,5 +1,5 @@ { - "Name": "validator registration", + "Name": "wrong duty type validator registration", "Type": "Validator consensus data: validation of validator consensus data", "Documentation": "Test validation error for validator registration consensus data which has no consensus data", "ConsensusData": { diff --git a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata voluntary exit.json b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_wrong_duty_type_voluntary_exit.json similarity index 90% rename from types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata voluntary exit.json rename to types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_wrong_duty_type_voluntary_exit.json index 4932e9e98..b8e8152d9 100644 --- a/types/spectest/generate/state_comparison/validatorconsensusdata_ValidatorConsensusDataTest/validatorconsensusdata voluntary exit.json +++ b/types/spectest/generate/tests/proposerconsensusdata.ProposerConsensusDataTest_proposerconsensusdata_wrong_duty_type_voluntary_exit.json @@ -1,5 +1,5 @@ { - "Name": "voluntary exit", + "Name": "wrong duty type voluntary exit", "Type": "Validator consensus data: validation of validator consensus data", "Documentation": "Test validation error for voluntary exit consensus data which has no consensus data", "ConsensusData": { @@ -17,5 +17,5 @@ "Version": "capella", "DataSSZ": "AAAAAAAAAAABAAAAAAAAAA==" }, - "ExpectedErrorCode": 11 + "ExpectedErrorCode": 10 } \ No newline at end of file diff --git a/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_empty_signature.json b/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_empty_signature.json index 7456cc7ba..93c92b1c2 100644 --- a/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_empty_signature.json +++ b/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_empty_signature.json @@ -18,6 +18,6 @@ "FullData": null } ], - "ExpectedErrorCode": 15, + "ExpectedErrorCode": 13, "RSAPublicKey": null } \ No newline at end of file diff --git a/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_nil_ssvmessage.json b/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_nil_ssvmessage.json index db25ae1f6..d420f1978 100644 --- a/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_nil_ssvmessage.json +++ b/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_nil_ssvmessage.json @@ -14,6 +14,6 @@ "FullData": null } ], - "ExpectedErrorCode": 16, + "ExpectedErrorCode": 14, "RSAPublicKey": null } \ No newline at end of file diff --git a/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_no_signatures.json b/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_no_signatures.json index 3ff84ebf8..6057c6d3f 100644 --- a/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_no_signatures.json +++ b/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_no_signatures.json @@ -16,6 +16,6 @@ "FullData": null } ], - "ExpectedErrorCode": 17, + "ExpectedErrorCode": 15, "RSAPublicKey": null } \ No newline at end of file diff --git a/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_no_signers.json b/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_no_signers.json index 4210ed4a9..a3c00933b 100644 --- a/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_no_signers.json +++ b/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_no_signers.json @@ -16,6 +16,6 @@ "FullData": null } ], - "ExpectedErrorCode": 18, + "ExpectedErrorCode": 16, "RSAPublicKey": null } \ No newline at end of file diff --git a/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_signers_and_signatures_with_different_length.json b/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_signers_and_signatures_with_different_length.json index 9e7a4c6fb..c69fc5894 100644 --- a/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_signers_and_signatures_with_different_length.json +++ b/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_signers_and_signatures_with_different_length.json @@ -23,6 +23,6 @@ "FullData": null } ], - "ExpectedErrorCode": 14, + "ExpectedErrorCode": 12, "RSAPublicKey": null } \ No newline at end of file diff --git a/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_zero_signer.json b/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_zero_signer.json index 1e69fb3ac..06a4389df 100644 --- a/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_zero_signer.json +++ b/types/spectest/generate/tests/signedssvmsg.SignedSSVMessageTest_signedssvmsg_zero_signer.json @@ -18,6 +18,6 @@ "FullData": null } ], - "ExpectedErrorCode": 19, + "ExpectedErrorCode": 17, "RSAPublicKey": null } \ No newline at end of file diff --git a/types/spectest/run_test.go b/types/spectest/run_test.go index f5b35b225..cff5d4b35 100644 --- a/types/spectest/run_test.go +++ b/types/spectest/run_test.go @@ -21,12 +21,12 @@ import ( "github.com/ssvlabs/ssv-spec/types/spectest/tests/beacon" "github.com/ssvlabs/ssv-spec/types/spectest/tests/encryption" "github.com/ssvlabs/ssv-spec/types/spectest/tests/partialsigmessage" + "github.com/ssvlabs/ssv-spec/types/spectest/tests/proposerconsensusdata" + consensusdataproposer "github.com/ssvlabs/ssv-spec/types/spectest/tests/proposerconsensusdata/proposer" "github.com/ssvlabs/ssv-spec/types/spectest/tests/share" "github.com/ssvlabs/ssv-spec/types/spectest/tests/signedssvmsg" "github.com/ssvlabs/ssv-spec/types/spectest/tests/ssvmsg" "github.com/ssvlabs/ssv-spec/types/spectest/tests/ssz" - validatorconsensusdata "github.com/ssvlabs/ssv-spec/types/spectest/tests/validatorconsensusdata" - consensusdataproposer "github.com/ssvlabs/ssv-spec/types/spectest/tests/validatorconsensusdata/proposer" ) func TestAll(t *testing.T) { @@ -68,10 +68,10 @@ func TestJson(t *testing.T) { typedTest := &consensusdataproposer.ProposerSpecTest{} require.NoError(t, json.Unmarshal(byts, &typedTest)) typedTest.Run(t) - case reflect.TypeOf(&validatorconsensusdata.EncodingTest{}).String(): + case reflect.TypeOf(&proposerconsensusdata.EncodingTest{}).String(): byts, err := json.Marshal(test) require.NoError(t, err) - typedTest := &validatorconsensusdata.EncodingTest{} + typedTest := &proposerconsensusdata.EncodingTest{} require.NoError(t, json.Unmarshal(byts, &typedTest)) typedTest.Run(t) case reflect.TypeOf(&partialsigmessage.EncodingTest{}).String(): @@ -116,10 +116,10 @@ func TestJson(t *testing.T) { typedTest := &signedssvmsg.SignedSSVMessageTest{} require.NoError(t, json.Unmarshal(byts, &typedTest)) typedTest.Run(t) - case reflect.TypeOf(&validatorconsensusdata.ValidatorConsensusDataTest{}).String(): + case reflect.TypeOf(&proposerconsensusdata.ProposerConsensusDataTest{}).String(): byts, err := json.Marshal(test) require.NoError(t, err) - typedTest := &validatorconsensusdata.ValidatorConsensusDataTest{} + typedTest := &proposerconsensusdata.ProposerConsensusDataTest{} require.NoError(t, json.Unmarshal(byts, &typedTest)) typedTest.Run(t) case reflect.TypeOf(&partialsigmessage.MsgSpecTest{}).String(): diff --git a/types/spectest/testdoc/testdoc.go b/types/spectest/testdoc/testdoc.go index c1f526447..714de4a92 100644 --- a/types/spectest/testdoc/testdoc.go +++ b/types/spectest/testdoc/testdoc.go @@ -160,35 +160,35 @@ const AggregatorCommitteeConsensusDataTestElectraAggregatorValidationDoc = "Test const AggregatorCommitteeConsensusDataTestSyncCommitteeContributionValidationDoc = "Test validation of valid agg committee consensus data with sync committee contribution" const AggregatorCommitteeConsensusDataTestSyncCommitteeContributionNoJustificationsDoc = "Test sync committee contribution agg committee consensus data with no sync committee contribution pre-consensus justifications" -// ValidatorConsensusDataTest -const ValidatorConsensusDataTestType = "Validator consensus data: validation of validator consensus data" - -// Documentation for ValidatorConsensusDataTest -const ValidatorConsensusDataTestInvalidDenebBlockDoc = "Test validation error for invalid consensus data with empty Deneb block data" -const ValidatorConsensusDataTestInvalidDenebBlindedBlockDoc = "Test validation error for invalid consensus data with empty Deneb blinded block data" -const ValidatorConsensusDataTestInvalidCapellaBlockDoc = "Test validation error for invalid consensus data with empty Capella block data" -const ValidatorConsensusDataTestInvalidCapellaBlindedBlockDoc = "Test validation error for invalid consensus data with empty Capella blinded block data" -const ValidatorConsensusDataTestInvalidElectraBlockDoc = "Test validation error for invalid consensus data with empty Electra block data" -const ValidatorConsensusDataTestInvalidElectraBlindedBlockDoc = "Test validation error for invalid consensus data with empty Electra blinded block data" -const ValidatorConsensusDataTestInvalidFuluBlindedBlockDoc = "Test validation error for invalid consensus data with empty Fulu blinded block data" -const ValidatorConsensusDataTestInvalidFuluBlockDoc = "Test validation error for invalid consensus data with empty Fulu block data" -const ValidatorConsensusDataTestDenebBlindedBlockDoc = "Test validation of valid consensus data with Deneb blinded block" -const ValidatorConsensusDataTestCapellaBlindedBlockDoc = "Test validation of valid consensus data with Capella blinded block" -const ValidatorConsensusDataTestCapellaBlockDoc = "Test validation of valid consensus data with Capella block" -const ValidatorConsensusDataTestElectraBlindedBlockDoc = "Test validation of valid consensus data with Electra blinded block" -const ValidatorConsensusDataTestProposerNoJustificationsDoc = "Test proposer consensus data with no pre-consensus justifications" -const ValidatorConsensusDataTestVoluntaryExitDoc = "Test validation error for voluntary exit consensus data which has no consensus data" -const ValidatorConsensusDataTestValidatorRegistrationDoc = "Test validation error for validator registration consensus data which has no consensus data" -const ValidatorConsensusDataTestDenebBlockDoc = "Test validation of valid consensus data with Deneb block" -const ValidatorConsensusDataTestElectraBlockDoc = "Test validation of valid consensus data with Electra block" -const ValidatorConsensusDataTestInvalidDutyDoc = "Test validation error for consensus data with unknown duty role" - -// ValidatorConsensusDataEncodingTest -const ValidatorConsensusDataEncodingTestType = "Validator consensus data encoding" - -// Documentation for ValidatorConsensusDataEncodingTest -const ValidatorConsensusDataEncodingTestProposerDoc = "Test encoding and decoding of proposer consensus data with Capella blinded block" -const ValidatorConsensusDataEncodingTestBlindedProposerDoc = "Test encoding and decoding of blinded proposer consensus data with Capella blinded block" +// ProposerConsensusDataTest +const ProposerConsensusDataTestType = "Validator consensus data: validation of validator consensus data" + +// Documentation for ProposerConsensusDataTest +const ProposerConsensusDataTestInvalidDenebBlockDoc = "Test validation error for invalid consensus data with empty Deneb block data" +const ProposerConsensusDataTestInvalidDenebBlindedBlockDoc = "Test validation error for invalid consensus data with empty Deneb blinded block data" +const ProposerConsensusDataTestInvalidCapellaBlockDoc = "Test validation error for invalid consensus data with empty Capella block data" +const ProposerConsensusDataTestInvalidCapellaBlindedBlockDoc = "Test validation error for invalid consensus data with empty Capella blinded block data" +const ProposerConsensusDataTestInvalidElectraBlockDoc = "Test validation error for invalid consensus data with empty Electra block data" +const ProposerConsensusDataTestInvalidElectraBlindedBlockDoc = "Test validation error for invalid consensus data with empty Electra blinded block data" +const ProposerConsensusDataTestInvalidFuluBlindedBlockDoc = "Test validation error for invalid consensus data with empty Fulu blinded block data" +const ProposerConsensusDataTestInvalidFuluBlockDoc = "Test validation error for invalid consensus data with empty Fulu block data" +const ProposerConsensusDataTestDenebBlindedBlockDoc = "Test validation of valid consensus data with Deneb blinded block" +const ProposerConsensusDataTestCapellaBlindedBlockDoc = "Test validation of valid consensus data with Capella blinded block" +const ProposerConsensusDataTestCapellaBlockDoc = "Test validation of valid consensus data with Capella block" +const ProposerConsensusDataTestElectraBlindedBlockDoc = "Test validation of valid consensus data with Electra blinded block" +const ProposerConsensusDataTestProposerNoJustificationsDoc = "Test proposer consensus data with no pre-consensus justifications" +const ProposerConsensusDataTestVoluntaryExitDoc = "Test validation error for voluntary exit consensus data which has no consensus data" +const ProposerConsensusDataTestValidatorRegistrationDoc = "Test validation error for validator registration consensus data which has no consensus data" +const ProposerConsensusDataTestDenebBlockDoc = "Test validation of valid consensus data with Deneb block" +const ProposerConsensusDataTestElectraBlockDoc = "Test validation of valid consensus data with Electra block" +const ProposerConsensusDataTestInvalidDutyDoc = "Test validation error for consensus data with unknown duty role" + +// ProposerConsensusDataEncodingTest +const ProposerConsensusDataEncodingTestType = "Validator consensus data encoding" + +// Documentation for ProposerConsensusDataEncodingTest +const ProposerConsensusDataEncodingTestProposerDoc = "Test encoding and decoding of proposer consensus data with Capella blinded block" +const ProposerConsensusDataEncodingTestBlindedProposerDoc = "Test encoding and decoding of blinded proposer consensus data with Capella blinded block" // AggregatorCommitteeConsensusDataEncodingTest const AggregatorCommitteeConsensusDataEncodingTestPhase0AggregatorDoc = "Test encoding and decoding of phase0 aggregator consensus data" diff --git a/types/spectest/tests/aggregatorcommitteeconsensusdata/aggregator_no_justifications.go b/types/spectest/tests/aggregatorcommitteeconsensusdata/aggregator_no_justifications.go index 1aa87e7d1..907177e23 100644 --- a/types/spectest/tests/aggregatorcommitteeconsensusdata/aggregator_no_justifications.go +++ b/types/spectest/tests/aggregatorcommitteeconsensusdata/aggregator_no_justifications.go @@ -12,7 +12,7 @@ func Phase0AggregatorNoJustifications() *AggregatorCommitteeConsensusDataTest { // To-do: add error when pre-consensus justification check is added. - return NewValidatorConsensusDataTest( + return NewAggregatorCommitteeConsensusDataTest( "phase0 aggregator without justification", testdoc.AggregatorCommitteeConsensusDataTestPhase0AggregatorNoJustificationsDoc, *testingutils.TestAggregatorConsensusData(spec.DataVersionPhase0), @@ -25,7 +25,7 @@ func ElectraAggregatorNoJustifications() *AggregatorCommitteeConsensusDataTest { // To-do: add error when pre-consensus justification check is added. - return NewValidatorConsensusDataTest( + return NewAggregatorCommitteeConsensusDataTest( "electra aggregator without justification", testdoc.AggregatorCommitteeConsensusDataTestElectraAggregatorNoJustificationsDoc, *testingutils.TestAggregatorConsensusData(spec.DataVersionElectra), diff --git a/types/spectest/tests/aggregatorcommitteeconsensusdata/aggregator_validation.go b/types/spectest/tests/aggregatorcommitteeconsensusdata/aggregator_validation.go index 28d86357b..80b8bb3d0 100644 --- a/types/spectest/tests/aggregatorcommitteeconsensusdata/aggregator_validation.go +++ b/types/spectest/tests/aggregatorcommitteeconsensusdata/aggregator_validation.go @@ -9,7 +9,7 @@ import ( // Phase0AggregatorValidation tests a valid consensus data with AggregateAndProof func Phase0AggregatorValidation() *AggregatorCommitteeConsensusDataTest { - return NewValidatorConsensusDataTest( + return NewAggregatorCommitteeConsensusDataTest( "phase0 aggregator valid", testdoc.AggregatorCommitteeConsensusDataTestPhase0AggregatorValidationDoc, *testingutils.TestAggregatorConsensusData(spec.DataVersionPhase0), @@ -19,7 +19,7 @@ func Phase0AggregatorValidation() *AggregatorCommitteeConsensusDataTest { // ElectraAggregatorValidation tests a valid consensus data with AggregateAndProof func ElectraAggregatorValidation() *AggregatorCommitteeConsensusDataTest { - return NewValidatorConsensusDataTest( + return NewAggregatorCommitteeConsensusDataTest( "electra aggregator valid", testdoc.AggregatorCommitteeConsensusDataTestElectraAggregatorValidationDoc, *testingutils.TestAggregatorConsensusData(spec.DataVersionElectra), diff --git a/types/spectest/tests/aggregatorcommitteeconsensusdata/consensus_data_encoding.go b/types/spectest/tests/aggregatorcommitteeconsensusdata/consensus_data_encoding.go index e4a1f639b..8d0c59be7 100644 --- a/types/spectest/tests/aggregatorcommitteeconsensusdata/consensus_data_encoding.go +++ b/types/spectest/tests/aggregatorcommitteeconsensusdata/consensus_data_encoding.go @@ -7,7 +7,7 @@ import ( "github.com/ssvlabs/ssv-spec/types/testingutils" ) -// ConsensusDataEncoding tests encoding and decoding ValidatorConsensusData for all duties +// ConsensusDataEncoding tests encoding and decoding ProposerConsensusData for all duties func ConsensusDataEncoding(name, documentation string, cd *types.AggregatorCommitteeConsensusData) *EncodingTest { byts, err := cd.Encode() diff --git a/types/spectest/tests/aggregatorcommitteeconsensusdata/invalid.go b/types/spectest/tests/aggregatorcommitteeconsensusdata/invalid.go index 16a22fb04..1d74c8aa6 100644 --- a/types/spectest/tests/aggregatorcommitteeconsensusdata/invalid.go +++ b/types/spectest/tests/aggregatorcommitteeconsensusdata/invalid.go @@ -13,7 +13,7 @@ func InvalidAggregatorValidationNoValidators() *AggregatorCommitteeConsensusData cd := types.AggregatorCommitteeConsensusData{ Version: spec.DataVersionPhase0, } - return NewValidatorConsensusDataTest( + return NewAggregatorCommitteeConsensusDataTest( "invalid aggregator data with no validators", testdoc.AggregatorCommitteeConsensusDataTestInvalidNoValidatorsDoc, cd, @@ -28,7 +28,7 @@ func InvalidAggregatorValidationCommitteeIndexesLength() *AggregatorCommitteeCon cd.AggregatorsCommitteeIndexes = append(cd.AggregatorsCommitteeIndexes, cd.AggregatorsCommitteeIndexes...) - return NewValidatorConsensusDataTest( + return NewAggregatorCommitteeConsensusDataTest( "invalid aggregator data with wrong committee indexes length", testdoc.AggregatorCommitteeConsensusDataTestInvalidCommitteeIndexLenDoc, *cd, @@ -44,7 +44,7 @@ func InvalidAggregatorValidationDuplicateCommitteeIndex() *AggregatorCommitteeCo cd.AggregatorsCommitteeIndexes = append(cd.AggregatorsCommitteeIndexes, cd.AggregatorsCommitteeIndexes[0]) cd.AggregatedAttestations = append(cd.AggregatedAttestations, cd.AggregatedAttestations[0]) - return NewValidatorConsensusDataTest( + return NewAggregatorCommitteeConsensusDataTest( "invalid aggregator data with duplicated committee index", testdoc.AggregatorCommitteeConsensusDataTestDuplicatedCommitteeIndexDoc, *cd, @@ -65,7 +65,7 @@ func InvalidAggregatorValidationMissingCommitteeIndex() *AggregatorCommitteeCons } cd.Aggregators[0].CommitteeIndex = maxCommIndex + 1 - return NewValidatorConsensusDataTest( + return NewAggregatorCommitteeConsensusDataTest( "invalid aggregator data with missing committee index", testdoc.AggregatorCommitteeConsensusDataTestMissingCommitteeIndexDoc, *cd, @@ -88,7 +88,7 @@ func InvalidAggregatorValidationUnusedCommitteeIndex() *AggregatorCommitteeConse cd.AggregatorsCommitteeIndexes = append(cd.AggregatorsCommitteeIndexes, maxCommIndex+1) cd.AggregatedAttestations = append(cd.AggregatedAttestations, cd.AggregatedAttestations[0]) - return NewValidatorConsensusDataTest( + return NewAggregatorCommitteeConsensusDataTest( "invalid aggregator data with unused committee index", testdoc.AggregatorCommitteeConsensusDataTestUnusedCommitteeIndexDoc, *cd, @@ -103,7 +103,7 @@ func InvalidAggregatorValidationPhase0AttestationDecoding() *AggregatorCommittee cd.AggregatedAttestations[0] = []byte{0x01, 0x02, 0x03} // invalid attestation bytes - return NewValidatorConsensusDataTest( + return NewAggregatorCommitteeConsensusDataTest( "invalid aggregator data with phase0 attestation decoding error", testdoc.AggregatorCommitteeConsensusDataTestInvalidPhase0AttestationDecodingDoc, *cd, @@ -118,7 +118,7 @@ func InvalidAggregatorValidationElectraAttestationDecoding() *AggregatorCommitte cd.AggregatedAttestations[0] = []byte{0x01, 0x02, 0x03} // invalid attestation bytes - return NewValidatorConsensusDataTest( + return NewAggregatorCommitteeConsensusDataTest( "invalid aggregator data with electra attestation decoding error", testdoc.AggregatorCommitteeConsensusDataTestInvalidElectraAttestationDecodingDoc, *cd, @@ -133,7 +133,7 @@ func InvalidSyncCommitteeContributionDuplicatedSubnet() *AggregatorCommitteeCons cd.SyncCommitteeContributions = append(cd.SyncCommitteeContributions, cd.SyncCommitteeContributions[0]) - return NewValidatorConsensusDataTest( + return NewAggregatorCommitteeConsensusDataTest( "invalid sync committee contribution with duplicated subnet", testdoc.AggregatorCommitteeConsensusDataTestInvalidDuplicatedSubnetDoc, *cd, @@ -148,7 +148,7 @@ func InvalidSyncCommitteeContributionMissingSubnet() *AggregatorCommitteeConsens cd.Contributors[0].CommitteeIndex = 100 - return NewValidatorConsensusDataTest( + return NewAggregatorCommitteeConsensusDataTest( "invalid sync committee contribution with missing subnet", testdoc.AggregatorCommitteeConsensusDataTestMissingSubnetDoc, *cd, @@ -165,7 +165,7 @@ func InvalidSyncCommitteeContributionUnusedSubnet() *AggregatorCommitteeConsensu unused.SubcommitteeIndex = 100 cd.SyncCommitteeContributions = append(cd.SyncCommitteeContributions, unused) - return NewValidatorConsensusDataTest( + return NewAggregatorCommitteeConsensusDataTest( "invalid sync committee contribution with unused subnet", testdoc.AggregatorCommitteeConsensusDataTestUnusedSubnetDoc, *cd, diff --git a/types/spectest/tests/aggregatorcommitteeconsensusdata/sync_committee_cntribution_validation.go b/types/spectest/tests/aggregatorcommitteeconsensusdata/sync_committee_cntribution_validation.go index 56d8e9c78..a5a588620 100644 --- a/types/spectest/tests/aggregatorcommitteeconsensusdata/sync_committee_cntribution_validation.go +++ b/types/spectest/tests/aggregatorcommitteeconsensusdata/sync_committee_cntribution_validation.go @@ -7,7 +7,7 @@ import ( // SyncCommitteeContributionValidation tests a valid consensus data with sync committee contrib. func SyncCommitteeContributionValidation() *AggregatorCommitteeConsensusDataTest { - return NewValidatorConsensusDataTest( + return NewAggregatorCommitteeConsensusDataTest( "sync committee contribution valid", testdoc.AggregatorCommitteeConsensusDataTestSyncCommitteeContributionValidationDoc, *testingutils.TestSyncCommitteeContributionConsensusData, diff --git a/types/spectest/tests/aggregatorcommitteeconsensusdata/sync_committee_contrib_no_justifications.go b/types/spectest/tests/aggregatorcommitteeconsensusdata/sync_committee_contrib_no_justifications.go index 919fc218c..d5c3403d1 100644 --- a/types/spectest/tests/aggregatorcommitteeconsensusdata/sync_committee_contrib_no_justifications.go +++ b/types/spectest/tests/aggregatorcommitteeconsensusdata/sync_committee_contrib_no_justifications.go @@ -10,7 +10,7 @@ func SyncCommitteeContributionNoJustifications() *AggregatorCommitteeConsensusDa // To-do: add error when pre-consensus justification check is added. - return NewValidatorConsensusDataTest( + return NewAggregatorCommitteeConsensusDataTest( "sync committee contribution with no pre-consensus justification", testdoc.AggregatorCommitteeConsensusDataTestSyncCommitteeContributionNoJustificationsDoc, *testingutils.TestSyncCommitteeContributionConsensusData, diff --git a/types/spectest/tests/aggregatorcommitteeconsensusdata/test.go b/types/spectest/tests/aggregatorcommitteeconsensusdata/test.go index 77e6aeafe..6dc301aea 100644 --- a/types/spectest/tests/aggregatorcommitteeconsensusdata/test.go +++ b/types/spectest/tests/aggregatorcommitteeconsensusdata/test.go @@ -31,7 +31,7 @@ func (test *AggregatorCommitteeConsensusDataTest) Run(t *testing.T) { comparable2.CompareWithJson(t, test, test.TestName(), reflect2.TypeOf(test).String()) } -func NewValidatorConsensusDataTest(name, documentation string, cd types.AggregatorCommitteeConsensusData, expectedErrorCode int) *AggregatorCommitteeConsensusDataTest { +func NewAggregatorCommitteeConsensusDataTest(name, documentation string, cd types.AggregatorCommitteeConsensusData, expectedErrorCode int) *AggregatorCommitteeConsensusDataTest { return &AggregatorCommitteeConsensusDataTest{ Name: name, Type: testdoc.AggregatorCommitteeConsensusDataTestType, diff --git a/types/spectest/tests/maxmsgsize/check_ssz.go b/types/spectest/tests/maxmsgsize/check_ssz.go index ab2beb45f..e9e02c978 100644 --- a/types/spectest/tests/maxmsgsize/check_ssz.go +++ b/types/spectest/tests/maxmsgsize/check_ssz.go @@ -16,7 +16,7 @@ func getReflectValueForObject(obj types.Encoder) reflect.Value { case *qbft.Message, *types.PartialSignatureMessage, *types.PartialSignatureMessages, *types.SSVMessage, *types.SignedSSVMessage, - *types.ValidatorConsensusData, *types.BeaconVote, *types.AggregatorCommitteeConsensusData: + *types.ProposerConsensusData, *types.BeaconVote, *types.AggregatorCommitteeConsensusData: return reflect.ValueOf(obj).Elem() case *Phase0AttestationWrapper: return reflect.ValueOf(obj.Attestation).Elem() diff --git a/types/spectest/tests/maxmsgsize/max_consensus_data.go b/types/spectest/tests/maxmsgsize/max_consensus_data.go index 81373deae..fe166eda4 100644 --- a/types/spectest/tests/maxmsgsize/max_consensus_data.go +++ b/types/spectest/tests/maxmsgsize/max_consensus_data.go @@ -32,9 +32,9 @@ func maxDataSSZ() []byte { return dataSSZ[:] } -func maxConsensusData() *types.ValidatorConsensusData { +func maxConsensusData() *types.ProposerConsensusData { - return &types.ValidatorConsensusData{ + return &types.ProposerConsensusData{ Duty: maxValidatorDuty(), Version: spec.DataVersionAltair, DataSSZ: maxDataSSZ(), @@ -43,7 +43,7 @@ func maxConsensusData() *types.ValidatorConsensusData { func MaxConsensusData() *StructureSizeTest { return NewStructureSizeTest( - "max ValidatorConsensusData", + "max ProposerConsensusData", testdoc.StructureSizeTestMaxConsensusDataDoc, maxConsensusData(), maxSizeFullConsensusData, diff --git a/types/spectest/tests/maxmsgsize/test.go b/types/spectest/tests/maxmsgsize/test.go index 9969e4d43..8bfd65521 100644 --- a/types/spectest/tests/maxmsgsize/test.go +++ b/types/spectest/tests/maxmsgsize/test.go @@ -85,7 +85,7 @@ func (t *StructureSizeTest) UnmarshalJSON(data []byte) error { case objMap["Round"] != nil && objMap["Height"] != nil: correctType = &qbft.Message{} case objMap["Duty"] != nil && objMap["DataSSZ"] != nil: - correctType = &types.ValidatorConsensusData{} + correctType = &types.ProposerConsensusData{} case objMap["BlockRoot"] != nil && objMap["Source"] != nil && objMap["Target"] != nil: correctType = &types.BeaconVote{} case (objMap["Version"] != nil && diff --git a/types/spectest/tests/validatorconsensusdata/capella_blinded_block_validation.go b/types/spectest/tests/proposerconsensusdata/capella_blinded_block_validation.go similarity index 65% rename from types/spectest/tests/validatorconsensusdata/capella_blinded_block_validation.go rename to types/spectest/tests/proposerconsensusdata/capella_blinded_block_validation.go index 9dbeca314..b4dcb91bc 100644 --- a/types/spectest/tests/validatorconsensusdata/capella_blinded_block_validation.go +++ b/types/spectest/tests/proposerconsensusdata/capella_blinded_block_validation.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( "github.com/attestantio/go-eth2-client/spec" @@ -8,10 +8,10 @@ import ( ) // CapellaBlindedBlockValidation tests a valid consensus data with capella blinded block -func CapellaBlindedBlockValidation() *ValidatorConsensusDataTest { - return NewValidatorConsensusDataTest( +func CapellaBlindedBlockValidation() *ProposerConsensusDataTest { + return NewProposerConsensusDataTest( "valid capella blinded block", - testdoc.ValidatorConsensusDataTestCapellaBlindedBlockDoc, + testdoc.ProposerConsensusDataTestCapellaBlindedBlockDoc, *testingutils.TestProposerBlindedBlockConsensusDataV(spec.DataVersionCapella), 0, ) diff --git a/types/spectest/tests/validatorconsensusdata/capella_block_validation.go b/types/spectest/tests/proposerconsensusdata/capella_block_validation.go similarity index 65% rename from types/spectest/tests/validatorconsensusdata/capella_block_validation.go rename to types/spectest/tests/proposerconsensusdata/capella_block_validation.go index d3f59ddb0..cf54985e6 100644 --- a/types/spectest/tests/validatorconsensusdata/capella_block_validation.go +++ b/types/spectest/tests/proposerconsensusdata/capella_block_validation.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( "github.com/attestantio/go-eth2-client/spec" @@ -8,10 +8,10 @@ import ( ) // CapellaBlockValidation tests a valid consensus data with capella block -func CapellaBlockValidation() *ValidatorConsensusDataTest { - return NewValidatorConsensusDataTest( +func CapellaBlockValidation() *ProposerConsensusDataTest { + return NewProposerConsensusDataTest( "valid capella block", - testdoc.ValidatorConsensusDataTestCapellaBlockDoc, + testdoc.ProposerConsensusDataTestCapellaBlockDoc, *testingutils.TestProposerConsensusDataV(spec.DataVersionCapella), 0, ) diff --git a/types/spectest/tests/validatorconsensusdata/consensus_data_encoding.go b/types/spectest/tests/proposerconsensusdata/consensus_data_encoding.go similarity index 75% rename from types/spectest/tests/validatorconsensusdata/consensus_data_encoding.go rename to types/spectest/tests/proposerconsensusdata/consensus_data_encoding.go index deb83a811..a9ad669dc 100644 --- a/types/spectest/tests/validatorconsensusdata/consensus_data_encoding.go +++ b/types/spectest/tests/proposerconsensusdata/consensus_data_encoding.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( "github.com/attestantio/go-eth2-client/spec" @@ -7,8 +7,8 @@ import ( "github.com/ssvlabs/ssv-spec/types/testingutils" ) -// ConsensusDataEncoding tests encoding and decoding ValidatorConsensusData for all duties -func ConsensusDataEncoding(name, documentation string, cd *types.ValidatorConsensusData) *EncodingTest { +// ConsensusDataEncoding tests encoding and decoding ProposerConsensusData for all duties +func ConsensusDataEncoding(name, documentation string, cd *types.ProposerConsensusData) *EncodingTest { byts, err := cd.Encode() if err != nil { @@ -30,14 +30,14 @@ func ConsensusDataEncoding(name, documentation string, cd *types.ValidatorConsen func ProposerConsensusDataEncoding() *EncodingTest { return ConsensusDataEncoding( "proposer encoding", - testdoc.ValidatorConsensusDataEncodingTestProposerDoc, + testdoc.ProposerConsensusDataEncodingTestProposerDoc, testingutils.TestProposerBlindedBlockConsensusDataV(spec.DataVersionCapella), ) } func BlindedProposerConsensusDataEncoding() *EncodingTest { return ConsensusDataEncoding( "blinded proposer encoding", - testdoc.ValidatorConsensusDataEncodingTestBlindedProposerDoc, + testdoc.ProposerConsensusDataEncodingTestBlindedProposerDoc, testingutils.TestProposerBlindedBlockConsensusDataV(spec.DataVersionCapella), ) } diff --git a/types/spectest/tests/validatorconsensusdata/deneb_blinded_block_validation.go b/types/spectest/tests/proposerconsensusdata/deneb_blinded_block_validation.go similarity index 65% rename from types/spectest/tests/validatorconsensusdata/deneb_blinded_block_validation.go rename to types/spectest/tests/proposerconsensusdata/deneb_blinded_block_validation.go index ae351f5d2..e49c56ba4 100644 --- a/types/spectest/tests/validatorconsensusdata/deneb_blinded_block_validation.go +++ b/types/spectest/tests/proposerconsensusdata/deneb_blinded_block_validation.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( "github.com/attestantio/go-eth2-client/spec" @@ -8,10 +8,10 @@ import ( ) // DenebBlindedBlockValidation tests a valid consensus data with deneb blinded block -func DenebBlindedBlockValidation() *ValidatorConsensusDataTest { - return NewValidatorConsensusDataTest( +func DenebBlindedBlockValidation() *ProposerConsensusDataTest { + return NewProposerConsensusDataTest( "valid deneb blinded block", - testdoc.ValidatorConsensusDataTestDenebBlindedBlockDoc, + testdoc.ProposerConsensusDataTestDenebBlindedBlockDoc, *testingutils.TestProposerBlindedBlockConsensusDataV(spec.DataVersionDeneb), 0, ) diff --git a/types/spectest/tests/validatorconsensusdata/deneb_block_validation.go b/types/spectest/tests/proposerconsensusdata/deneb_block_validation.go similarity index 65% rename from types/spectest/tests/validatorconsensusdata/deneb_block_validation.go rename to types/spectest/tests/proposerconsensusdata/deneb_block_validation.go index 583fd0123..ea72528b0 100644 --- a/types/spectest/tests/validatorconsensusdata/deneb_block_validation.go +++ b/types/spectest/tests/proposerconsensusdata/deneb_block_validation.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( "github.com/attestantio/go-eth2-client/spec" @@ -8,10 +8,10 @@ import ( ) // DenebBlockValidation tests a valid consensus data with deneb block -func DenebBlockValidation() *ValidatorConsensusDataTest { - return NewValidatorConsensusDataTest( +func DenebBlockValidation() *ProposerConsensusDataTest { + return NewProposerConsensusDataTest( "valid deneb block", - testdoc.ValidatorConsensusDataTestDenebBlockDoc, + testdoc.ProposerConsensusDataTestDenebBlockDoc, *testingutils.TestProposerConsensusDataV(spec.DataVersionDeneb), 0, ) diff --git a/types/spectest/tests/validatorconsensusdata/electra_blinded_block_validation.go b/types/spectest/tests/proposerconsensusdata/electra_blinded_block_validation.go similarity index 65% rename from types/spectest/tests/validatorconsensusdata/electra_blinded_block_validation.go rename to types/spectest/tests/proposerconsensusdata/electra_blinded_block_validation.go index 9f2f9b3b9..e9164d55c 100644 --- a/types/spectest/tests/validatorconsensusdata/electra_blinded_block_validation.go +++ b/types/spectest/tests/proposerconsensusdata/electra_blinded_block_validation.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( "github.com/attestantio/go-eth2-client/spec" @@ -8,10 +8,10 @@ import ( ) // ElectraBlindedBlockValidation tests a valid consensus data with electra blinded block -func ElectraBlindedBlockValidation() *ValidatorConsensusDataTest { - return NewValidatorConsensusDataTest( +func ElectraBlindedBlockValidation() *ProposerConsensusDataTest { + return NewProposerConsensusDataTest( "valid electra blinded block", - testdoc.ValidatorConsensusDataTestElectraBlindedBlockDoc, + testdoc.ProposerConsensusDataTestElectraBlindedBlockDoc, *testingutils.TestProposerBlindedBlockConsensusDataV(spec.DataVersionElectra), 0, ) diff --git a/types/spectest/tests/validatorconsensusdata/electra_block_validation.go b/types/spectest/tests/proposerconsensusdata/electra_block_validation.go similarity index 65% rename from types/spectest/tests/validatorconsensusdata/electra_block_validation.go rename to types/spectest/tests/proposerconsensusdata/electra_block_validation.go index 551af4524..9b49d2223 100644 --- a/types/spectest/tests/validatorconsensusdata/electra_block_validation.go +++ b/types/spectest/tests/proposerconsensusdata/electra_block_validation.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( "github.com/attestantio/go-eth2-client/spec" @@ -8,10 +8,10 @@ import ( ) // ElectraBlockValidation tests a valid consensus data with electra block -func ElectraBlockValidation() *ValidatorConsensusDataTest { - return NewValidatorConsensusDataTest( +func ElectraBlockValidation() *ProposerConsensusDataTest { + return NewProposerConsensusDataTest( "valid electra block", - testdoc.ValidatorConsensusDataTestElectraBlockDoc, + testdoc.ProposerConsensusDataTestElectraBlockDoc, *testingutils.TestProposerConsensusDataV(spec.DataVersionElectra), 0, ) diff --git a/types/spectest/tests/validatorconsensusdata/fulu_blinded_block_validation.go b/types/spectest/tests/proposerconsensusdata/fulu_blinded_block_validation.go similarity index 65% rename from types/spectest/tests/validatorconsensusdata/fulu_blinded_block_validation.go rename to types/spectest/tests/proposerconsensusdata/fulu_blinded_block_validation.go index c2e3d0680..5a200a7fb 100644 --- a/types/spectest/tests/validatorconsensusdata/fulu_blinded_block_validation.go +++ b/types/spectest/tests/proposerconsensusdata/fulu_blinded_block_validation.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( "github.com/attestantio/go-eth2-client/spec" @@ -8,10 +8,10 @@ import ( ) // FuluBlindedBlockValidation tests a valid consensus data with fulu blinded block -func FuluBlindedBlockValidation() *ValidatorConsensusDataTest { - return NewValidatorConsensusDataTest( +func FuluBlindedBlockValidation() *ProposerConsensusDataTest { + return NewProposerConsensusDataTest( "valid fulu blinded block", - testdoc.ValidatorConsensusDataTestElectraBlindedBlockDoc, + testdoc.ProposerConsensusDataTestElectraBlindedBlockDoc, *testingutils.TestProposerBlindedBlockConsensusDataV(spec.DataVersionFulu), 0, ) diff --git a/types/spectest/tests/validatorconsensusdata/fulu_block_validation.go b/types/spectest/tests/proposerconsensusdata/fulu_block_validation.go similarity index 64% rename from types/spectest/tests/validatorconsensusdata/fulu_block_validation.go rename to types/spectest/tests/proposerconsensusdata/fulu_block_validation.go index 9fb285c99..2af9bd98f 100644 --- a/types/spectest/tests/validatorconsensusdata/fulu_block_validation.go +++ b/types/spectest/tests/proposerconsensusdata/fulu_block_validation.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( "github.com/attestantio/go-eth2-client/spec" @@ -8,10 +8,10 @@ import ( ) // FuluBlockValidation tests a valid consensus data with fulu block -func FuluBlockValidation() *ValidatorConsensusDataTest { - return NewValidatorConsensusDataTest( +func FuluBlockValidation() *ProposerConsensusDataTest { + return NewProposerConsensusDataTest( "valid fulu block", - testdoc.ValidatorConsensusDataTestElectraBlockDoc, + testdoc.ProposerConsensusDataTestElectraBlockDoc, *testingutils.TestProposerConsensusDataV(spec.DataVersionFulu), 0, ) diff --git a/types/spectest/tests/validatorconsensusdata/invalid_capella_blinded_block_validation.go b/types/spectest/tests/proposerconsensusdata/invalid_capella_blinded_block_validation.go similarity index 67% rename from types/spectest/tests/validatorconsensusdata/invalid_capella_blinded_block_validation.go rename to types/spectest/tests/proposerconsensusdata/invalid_capella_blinded_block_validation.go index b502441fb..51dd0d0be 100644 --- a/types/spectest/tests/validatorconsensusdata/invalid_capella_blinded_block_validation.go +++ b/types/spectest/tests/proposerconsensusdata/invalid_capella_blinded_block_validation.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( "github.com/attestantio/go-eth2-client/spec" @@ -9,17 +9,17 @@ import ( ) // InvalidCapellaBlindedBlockValidation tests an invalid consensus data with capella blinded block -func InvalidCapellaBlindedBlockValidation() *ValidatorConsensusDataTest { +func InvalidCapellaBlindedBlockValidation() *ProposerConsensusDataTest { version := spec.DataVersionCapella - cd := &types.ValidatorConsensusData{ + cd := &types.ProposerConsensusData{ Duty: *testingutils.TestingProposerDutyV(version), Version: version, DataSSZ: []byte{}, } - return NewValidatorConsensusDataTest( + return NewProposerConsensusDataTest( "invalid capella blinded block", - testdoc.ValidatorConsensusDataTestInvalidCapellaBlindedBlockDoc, + testdoc.ProposerConsensusDataTestInvalidCapellaBlindedBlockDoc, *cd, types.UnmarshalSSZErrorCode, ) diff --git a/types/spectest/tests/validatorconsensusdata/invalid_capella_block_validation.go b/types/spectest/tests/proposerconsensusdata/invalid_capella_block_validation.go similarity index 67% rename from types/spectest/tests/validatorconsensusdata/invalid_capella_block_validation.go rename to types/spectest/tests/proposerconsensusdata/invalid_capella_block_validation.go index 15b38cbbf..d85a83d99 100644 --- a/types/spectest/tests/validatorconsensusdata/invalid_capella_block_validation.go +++ b/types/spectest/tests/proposerconsensusdata/invalid_capella_block_validation.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( "github.com/attestantio/go-eth2-client/spec" @@ -9,18 +9,18 @@ import ( ) // InvalidCapellaBlockValidation tests an invalid consensus data with capella block -func InvalidCapellaBlockValidation() *ValidatorConsensusDataTest { +func InvalidCapellaBlockValidation() *ProposerConsensusDataTest { version := spec.DataVersionCapella - cd := &types.ValidatorConsensusData{ + cd := &types.ProposerConsensusData{ Duty: *testingutils.TestingProposerDutyV(version), Version: version, DataSSZ: []byte{}, } - return NewValidatorConsensusDataTest( + return NewProposerConsensusDataTest( "invalid capella block", - testdoc.ValidatorConsensusDataTestInvalidCapellaBlockDoc, + testdoc.ProposerConsensusDataTestInvalidCapellaBlockDoc, *cd, types.UnmarshalSSZErrorCode, ) diff --git a/types/spectest/tests/validatorconsensusdata/invalid_deneb_blinded_block_validation.go b/types/spectest/tests/proposerconsensusdata/invalid_deneb_blinded_block_validation.go similarity index 67% rename from types/spectest/tests/validatorconsensusdata/invalid_deneb_blinded_block_validation.go rename to types/spectest/tests/proposerconsensusdata/invalid_deneb_blinded_block_validation.go index cdb30a556..3fc1117dc 100644 --- a/types/spectest/tests/validatorconsensusdata/invalid_deneb_blinded_block_validation.go +++ b/types/spectest/tests/proposerconsensusdata/invalid_deneb_blinded_block_validation.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( "github.com/attestantio/go-eth2-client/spec" @@ -9,17 +9,17 @@ import ( ) // InvalidDenebBlindedBlockValidation tests an invalid consensus data with deneb blinded block -func InvalidDenebBlindedBlockValidation() *ValidatorConsensusDataTest { +func InvalidDenebBlindedBlockValidation() *ProposerConsensusDataTest { version := spec.DataVersionDeneb - cd := &types.ValidatorConsensusData{ + cd := &types.ProposerConsensusData{ Duty: *testingutils.TestingProposerDutyV(version), Version: version, DataSSZ: []byte{}, } - return NewValidatorConsensusDataTest( + return NewProposerConsensusDataTest( "invalid deneb blinded block", - testdoc.ValidatorConsensusDataTestInvalidDenebBlindedBlockDoc, + testdoc.ProposerConsensusDataTestInvalidDenebBlindedBlockDoc, *cd, types.UnmarshalSSZErrorCode, ) diff --git a/types/spectest/tests/validatorconsensusdata/invalid_deneb_block_validation.go b/types/spectest/tests/proposerconsensusdata/invalid_deneb_block_validation.go similarity index 67% rename from types/spectest/tests/validatorconsensusdata/invalid_deneb_block_validation.go rename to types/spectest/tests/proposerconsensusdata/invalid_deneb_block_validation.go index 0f3882b19..a0da2c356 100644 --- a/types/spectest/tests/validatorconsensusdata/invalid_deneb_block_validation.go +++ b/types/spectest/tests/proposerconsensusdata/invalid_deneb_block_validation.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( "github.com/attestantio/go-eth2-client/spec" @@ -9,16 +9,16 @@ import ( ) // InvalidDenebBlockValidation tests an invalid consensus data with deneb block -func InvalidDenebBlockValidation() *ValidatorConsensusDataTest { +func InvalidDenebBlockValidation() *ProposerConsensusDataTest { version := spec.DataVersionDeneb - cd := &types.ValidatorConsensusData{ + cd := &types.ProposerConsensusData{ Duty: *testingutils.TestingProposerDutyV(version), Version: version, DataSSZ: []byte{}, } - return NewValidatorConsensusDataTest( + return NewProposerConsensusDataTest( "invalid deneb block", - testdoc.ValidatorConsensusDataTestInvalidDenebBlockDoc, + testdoc.ProposerConsensusDataTestInvalidDenebBlockDoc, *cd, types.UnmarshalSSZErrorCode, ) diff --git a/types/spectest/tests/validatorconsensusdata/invalid_duty.go b/types/spectest/tests/proposerconsensusdata/invalid_duty.go similarity index 73% rename from types/spectest/tests/validatorconsensusdata/invalid_duty.go rename to types/spectest/tests/proposerconsensusdata/invalid_duty.go index f63a04352..9dc170338 100644 --- a/types/spectest/tests/validatorconsensusdata/invalid_duty.go +++ b/types/spectest/tests/proposerconsensusdata/invalid_duty.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( "github.com/attestantio/go-eth2-client/spec" @@ -9,9 +9,9 @@ import ( ) // InvalidDuty tests an invalid consensus data with invalid duty -func InvalidDuty() *ValidatorConsensusDataTest { +func InvalidDuty() *ProposerConsensusDataTest { - cd := &types.ValidatorConsensusData{ + cd := &types.ProposerConsensusData{ Duty: types.ValidatorDuty{ Type: types.BeaconRole(100), PubKey: testingutils.TestingValidatorPubKey, @@ -20,9 +20,9 @@ func InvalidDuty() *ValidatorConsensusDataTest { DataSSZ: testingutils.TestingAttestationDataBytes(spec.DataVersionCapella), } - return NewValidatorConsensusDataTest( + return NewProposerConsensusDataTest( "invalid duty", - testdoc.ValidatorConsensusDataTestInvalidDutyDoc, + testdoc.ProposerConsensusDataTestInvalidDutyDoc, *cd, types.UnknownDutyRoleDataErrorCode, ) diff --git a/types/spectest/tests/validatorconsensusdata/invalid_electra_blinded_block_validation.go b/types/spectest/tests/proposerconsensusdata/invalid_electra_blinded_block_validation.go similarity index 67% rename from types/spectest/tests/validatorconsensusdata/invalid_electra_blinded_block_validation.go rename to types/spectest/tests/proposerconsensusdata/invalid_electra_blinded_block_validation.go index 60dd0bcef..de062d6ef 100644 --- a/types/spectest/tests/validatorconsensusdata/invalid_electra_blinded_block_validation.go +++ b/types/spectest/tests/proposerconsensusdata/invalid_electra_blinded_block_validation.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( "github.com/attestantio/go-eth2-client/spec" @@ -9,18 +9,18 @@ import ( ) // InvalidElectraBlindedBlockValidation tests an invalid consensus data with electra blinded block -func InvalidElectraBlindedBlockValidation() *ValidatorConsensusDataTest { +func InvalidElectraBlindedBlockValidation() *ProposerConsensusDataTest { version := spec.DataVersionElectra - cd := &types.ValidatorConsensusData{ + cd := &types.ProposerConsensusData{ Duty: *testingutils.TestingProposerDutyV(version), Version: version, DataSSZ: []byte{}, } - return NewValidatorConsensusDataTest( + return NewProposerConsensusDataTest( "invalid electra blinded block", - testdoc.ValidatorConsensusDataTestInvalidElectraBlindedBlockDoc, + testdoc.ProposerConsensusDataTestInvalidElectraBlindedBlockDoc, *cd, types.UnmarshalSSZErrorCode, ) diff --git a/types/spectest/tests/validatorconsensusdata/invalid_electra_block_validation.go b/types/spectest/tests/proposerconsensusdata/invalid_electra_block_validation.go similarity index 67% rename from types/spectest/tests/validatorconsensusdata/invalid_electra_block_validation.go rename to types/spectest/tests/proposerconsensusdata/invalid_electra_block_validation.go index 7ccd12713..cb1709e86 100644 --- a/types/spectest/tests/validatorconsensusdata/invalid_electra_block_validation.go +++ b/types/spectest/tests/proposerconsensusdata/invalid_electra_block_validation.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( "github.com/attestantio/go-eth2-client/spec" @@ -9,18 +9,18 @@ import ( ) // InvalidElectraBlockValidation tests an invalid consensus data with electra block -func InvalidElectraBlockValidation() *ValidatorConsensusDataTest { +func InvalidElectraBlockValidation() *ProposerConsensusDataTest { version := spec.DataVersionElectra - cd := &types.ValidatorConsensusData{ + cd := &types.ProposerConsensusData{ Duty: *testingutils.TestingProposerDutyV(version), Version: version, DataSSZ: []byte{}, } - return NewValidatorConsensusDataTest( + return NewProposerConsensusDataTest( "invalid electra block", - testdoc.ValidatorConsensusDataTestInvalidElectraBlockDoc, + testdoc.ProposerConsensusDataTestInvalidElectraBlockDoc, *cd, types.UnmarshalSSZErrorCode, ) diff --git a/types/spectest/tests/validatorconsensusdata/invalid_fulu_blinded_block_validation.go b/types/spectest/tests/proposerconsensusdata/invalid_fulu_blinded_block_validation.go similarity index 67% rename from types/spectest/tests/validatorconsensusdata/invalid_fulu_blinded_block_validation.go rename to types/spectest/tests/proposerconsensusdata/invalid_fulu_blinded_block_validation.go index 8a2add4db..b9321bb0a 100644 --- a/types/spectest/tests/validatorconsensusdata/invalid_fulu_blinded_block_validation.go +++ b/types/spectest/tests/proposerconsensusdata/invalid_fulu_blinded_block_validation.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( "github.com/attestantio/go-eth2-client/spec" @@ -9,17 +9,17 @@ import ( ) // InvalidFuluBlindedBlockValidation tests an invalid consensus data with fulu blinded block -func InvalidFuluBlindedBlockValidation() *ValidatorConsensusDataTest { +func InvalidFuluBlindedBlockValidation() *ProposerConsensusDataTest { version := spec.DataVersionFulu - cd := &types.ValidatorConsensusData{ + cd := &types.ProposerConsensusData{ Duty: *testingutils.TestingProposerDutyV(version), Version: version, DataSSZ: []byte{}, } - return NewValidatorConsensusDataTest( + return NewProposerConsensusDataTest( "invalid fulu blinded block", - testdoc.ValidatorConsensusDataTestInvalidFuluBlindedBlockDoc, + testdoc.ProposerConsensusDataTestInvalidFuluBlindedBlockDoc, *cd, types.UnmarshalSSZErrorCode, ) diff --git a/types/spectest/tests/validatorconsensusdata/invalid_fulu_block_validation.go b/types/spectest/tests/proposerconsensusdata/invalid_fulu_block_validation.go similarity index 67% rename from types/spectest/tests/validatorconsensusdata/invalid_fulu_block_validation.go rename to types/spectest/tests/proposerconsensusdata/invalid_fulu_block_validation.go index 47bd25fc5..a47fe8b9b 100644 --- a/types/spectest/tests/validatorconsensusdata/invalid_fulu_block_validation.go +++ b/types/spectest/tests/proposerconsensusdata/invalid_fulu_block_validation.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( "github.com/attestantio/go-eth2-client/spec" @@ -9,17 +9,17 @@ import ( ) // InvalidFuluBlockValidation tests an invalid consensus data with fulu block -func InvalidFuluBlockValidation() *ValidatorConsensusDataTest { +func InvalidFuluBlockValidation() *ProposerConsensusDataTest { version := spec.DataVersionFulu - cd := &types.ValidatorConsensusData{ + cd := &types.ProposerConsensusData{ Duty: *testingutils.TestingProposerDutyV(version), Version: version, DataSSZ: []byte{}, } - return NewValidatorConsensusDataTest( + return NewProposerConsensusDataTest( "invalid fulu block", - testdoc.ValidatorConsensusDataTestInvalidFuluBlockDoc, + testdoc.ProposerConsensusDataTestInvalidFuluBlockDoc, *cd, types.UnmarshalSSZErrorCode, ) diff --git a/types/spectest/tests/validatorconsensusdata/proposer/versioned_blinded_block_consensus_data_nil.go b/types/spectest/tests/proposerconsensusdata/proposer/versioned_blinded_block_consensus_data_nil.go similarity index 95% rename from types/spectest/tests/validatorconsensusdata/proposer/versioned_blinded_block_consensus_data_nil.go rename to types/spectest/tests/proposerconsensusdata/proposer/versioned_blinded_block_consensus_data_nil.go index 199d51df6..b1c98b1f7 100644 --- a/types/spectest/tests/validatorconsensusdata/proposer/versioned_blinded_block_consensus_data_nil.go +++ b/types/spectest/tests/proposerconsensusdata/proposer/versioned_blinded_block_consensus_data_nil.go @@ -10,7 +10,7 @@ import ( // VersionedBlindedBlockConsensusDataNil tests an invalid consensus data with deneb block func VersionedBlindedBlockConsensusDataNil() *ProposerSpecTest { - cd := &types.ValidatorConsensusData{ + cd := &types.ProposerConsensusData{ Duty: *testingutils.TestingProposerDutyV(spec.DataVersionDeneb), Version: spec.DataVersionDeneb, DataSSZ: nil, diff --git a/types/spectest/tests/validatorconsensusdata/proposer/versioned_blinded_block_unknown_version.go b/types/spectest/tests/proposerconsensusdata/proposer/versioned_blinded_block_unknown_version.go similarity index 96% rename from types/spectest/tests/validatorconsensusdata/proposer/versioned_blinded_block_unknown_version.go rename to types/spectest/tests/proposerconsensusdata/proposer/versioned_blinded_block_unknown_version.go index 52dac51ea..253d076d8 100644 --- a/types/spectest/tests/validatorconsensusdata/proposer/versioned_blinded_block_unknown_version.go +++ b/types/spectest/tests/proposerconsensusdata/proposer/versioned_blinded_block_unknown_version.go @@ -11,7 +11,7 @@ import ( // VersionedBlindedBlockUnknownVersion tests a valid consensus data with unknown block version func VersionedBlindedBlockUnknownVersion() *ProposerSpecTest { unknownDataVersion := spec.DataVersion(100) - cd := &types.ValidatorConsensusData{ + cd := &types.ProposerConsensusData{ Duty: *testingutils.TestingProposerDutyV(spec.DataVersionDeneb), Version: unknownDataVersion, DataSSZ: testingutils.TestProposerBlindedBlockConsensusDataBytsV(spec.DataVersionDeneb), diff --git a/types/spectest/tests/validatorconsensusdata/proposer/versioned_blinded_block_validation.go b/types/spectest/tests/proposerconsensusdata/proposer/versioned_blinded_block_validation.go similarity index 100% rename from types/spectest/tests/validatorconsensusdata/proposer/versioned_blinded_block_validation.go rename to types/spectest/tests/proposerconsensusdata/proposer/versioned_blinded_block_validation.go diff --git a/types/spectest/tests/validatorconsensusdata/proposer/versioned_block_consensus_data_nil.go b/types/spectest/tests/proposerconsensusdata/proposer/versioned_block_consensus_data_nil.go similarity index 95% rename from types/spectest/tests/validatorconsensusdata/proposer/versioned_block_consensus_data_nil.go rename to types/spectest/tests/proposerconsensusdata/proposer/versioned_block_consensus_data_nil.go index e2be6d8e8..97e0ed6e6 100644 --- a/types/spectest/tests/validatorconsensusdata/proposer/versioned_block_consensus_data_nil.go +++ b/types/spectest/tests/proposerconsensusdata/proposer/versioned_block_consensus_data_nil.go @@ -10,7 +10,7 @@ import ( // VersionedBlockConsensusDataNil tests an invalid consensus data with Deneb block func VersionedBlockConsensusDataNil() *ProposerSpecTest { - cd := &types.ValidatorConsensusData{ + cd := &types.ProposerConsensusData{ Duty: *testingutils.TestingProposerDutyV(spec.DataVersionDeneb), Version: spec.DataVersionDeneb, DataSSZ: nil, diff --git a/types/spectest/tests/validatorconsensusdata/proposer/versioned_block_spectest.go b/types/spectest/tests/proposerconsensusdata/proposer/versioned_block_spectest.go similarity index 99% rename from types/spectest/tests/validatorconsensusdata/proposer/versioned_block_spectest.go rename to types/spectest/tests/proposerconsensusdata/proposer/versioned_block_spectest.go index 24ed3a24e..bf7018e66 100644 --- a/types/spectest/tests/validatorconsensusdata/proposer/versioned_block_spectest.go +++ b/types/spectest/tests/proposerconsensusdata/proposer/versioned_block_spectest.go @@ -33,7 +33,7 @@ func (test *ProposerSpecTest) TestName() string { func (test *ProposerSpecTest) Run(t *testing.T) { // decode cd - cd := &types.ValidatorConsensusData{} + cd := &types.ProposerConsensusData{} require.NoError(t, cd.Decode(test.DataCd)) // blk data - GetBlockData now handles both blinded and regular blocks diff --git a/types/spectest/tests/validatorconsensusdata/proposer/versioned_block_unknown_version.go b/types/spectest/tests/proposerconsensusdata/proposer/versioned_block_unknown_version.go similarity index 96% rename from types/spectest/tests/validatorconsensusdata/proposer/versioned_block_unknown_version.go rename to types/spectest/tests/proposerconsensusdata/proposer/versioned_block_unknown_version.go index 083208033..fc32fe3e5 100644 --- a/types/spectest/tests/validatorconsensusdata/proposer/versioned_block_unknown_version.go +++ b/types/spectest/tests/proposerconsensusdata/proposer/versioned_block_unknown_version.go @@ -11,7 +11,7 @@ import ( // VersionedBlockUnknownVersion tests a valid consensus data with unknown block func VersionedBlockUnknownVersion() *ProposerSpecTest { unknownDataVersion := spec.DataVersion(100) - cd := &types.ValidatorConsensusData{ + cd := &types.ProposerConsensusData{ Duty: *testingutils.TestingProposerDutyV(spec.DataVersionDeneb), Version: unknownDataVersion, DataSSZ: testingutils.TestProposerBlindedBlockConsensusDataBytsV(spec.DataVersionDeneb), diff --git a/types/spectest/tests/validatorconsensusdata/proposer/versioned_block_validation.go b/types/spectest/tests/proposerconsensusdata/proposer/versioned_block_validation.go similarity index 100% rename from types/spectest/tests/validatorconsensusdata/proposer/versioned_block_validation.go rename to types/spectest/tests/proposerconsensusdata/proposer/versioned_block_validation.go diff --git a/types/spectest/tests/validatorconsensusdata/proposer_no_justifications.go b/types/spectest/tests/proposerconsensusdata/proposer_no_justifications.go similarity index 69% rename from types/spectest/tests/validatorconsensusdata/proposer_no_justifications.go rename to types/spectest/tests/proposerconsensusdata/proposer_no_justifications.go index a6520b3c5..b6e12b8d8 100644 --- a/types/spectest/tests/validatorconsensusdata/proposer_no_justifications.go +++ b/types/spectest/tests/proposerconsensusdata/proposer_no_justifications.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( "github.com/attestantio/go-eth2-client/spec" @@ -8,15 +8,15 @@ import ( ) // ProposerNoJustifications tests an invalid consensus data with no proposer justifications -func ProposerNoJustifications() *ValidatorConsensusDataTest { +func ProposerNoJustifications() *ProposerConsensusDataTest { // To-do: add error when pre-consensus justification check is added. cd := testingutils.TestProposerConsensusDataV(spec.DataVersionCapella) - return NewValidatorConsensusDataTest( + return NewProposerConsensusDataTest( "proposer no justification", - testdoc.ValidatorConsensusDataTestProposerNoJustificationsDoc, + testdoc.ProposerConsensusDataTestProposerNoJustificationsDoc, *cd, 0, ) diff --git a/types/spectest/tests/validatorconsensusdata/test.go b/types/spectest/tests/proposerconsensusdata/test.go similarity index 56% rename from types/spectest/tests/validatorconsensusdata/test.go rename to types/spectest/tests/proposerconsensusdata/test.go index 28cb400cb..97b2b3999 100644 --- a/types/spectest/tests/validatorconsensusdata/test.go +++ b/types/spectest/tests/proposerconsensusdata/test.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( reflect2 "reflect" @@ -11,19 +11,19 @@ import ( "github.com/ssvlabs/ssv-spec/types/spectest/testdoc" ) -type ValidatorConsensusDataTest struct { +type ProposerConsensusDataTest struct { Name string Type string Documentation string - ConsensusData types.ValidatorConsensusData + ConsensusData types.ProposerConsensusData ExpectedErrorCode int } -func (test *ValidatorConsensusDataTest) TestName() string { - return "validatorconsensusdata " + test.Name +func (test *ProposerConsensusDataTest) TestName() string { + return "proposerconsensusdata " + test.Name } -func (test *ValidatorConsensusDataTest) Run(t *testing.T) { +func (test *ProposerConsensusDataTest) Run(t *testing.T) { err := test.ConsensusData.Validate() tests.AssertErrorCode(t, test.ExpectedErrorCode, err) @@ -31,10 +31,10 @@ func (test *ValidatorConsensusDataTest) Run(t *testing.T) { comparable2.CompareWithJson(t, test, test.TestName(), reflect2.TypeOf(test).String()) } -func NewValidatorConsensusDataTest(name, documentation string, consensusData types.ValidatorConsensusData, expectedErrorCode int) *ValidatorConsensusDataTest { - return &ValidatorConsensusDataTest{ +func NewProposerConsensusDataTest(name, documentation string, consensusData types.ProposerConsensusData, expectedErrorCode int) *ProposerConsensusDataTest { + return &ProposerConsensusDataTest{ Name: name, - Type: testdoc.ValidatorConsensusDataTestType, + Type: testdoc.ProposerConsensusDataTestType, Documentation: documentation, ConsensusData: consensusData, ExpectedErrorCode: expectedErrorCode, diff --git a/types/spectest/tests/validatorconsensusdata/test_encoding.go b/types/spectest/tests/proposerconsensusdata/test_encoding.go similarity index 88% rename from types/spectest/tests/validatorconsensusdata/test_encoding.go rename to types/spectest/tests/proposerconsensusdata/test_encoding.go index 04ea2b66a..be50ac2e8 100644 --- a/types/spectest/tests/validatorconsensusdata/test_encoding.go +++ b/types/spectest/tests/proposerconsensusdata/test_encoding.go @@ -1,4 +1,4 @@ -package validatorconsensusdata +package proposerconsensusdata import ( reflect2 "reflect" @@ -24,7 +24,7 @@ func (test *EncodingTest) TestName() string { func (test *EncodingTest) Run(t *testing.T) { // decode - decoded := &types.ValidatorConsensusData{} + decoded := &types.ProposerConsensusData{} require.NoError(t, decoded.Decode(test.Data)) // encode @@ -43,7 +43,7 @@ func (test *EncodingTest) Run(t *testing.T) { func NewEncodingTest(name, documentation string, data []byte, expectedRoot [32]byte) *EncodingTest { return &EncodingTest{ Name: name, - Type: testdoc.ValidatorConsensusDataEncodingTestType, + Type: testdoc.ProposerConsensusDataEncodingTestType, Documentation: documentation, Data: data, ExpectedRoot: expectedRoot, diff --git a/types/spectest/tests/proposerconsensusdata/wrong_duty_type.go b/types/spectest/tests/proposerconsensusdata/wrong_duty_type.go new file mode 100644 index 000000000..f32e6da42 --- /dev/null +++ b/types/spectest/tests/proposerconsensusdata/wrong_duty_type.go @@ -0,0 +1,53 @@ +package proposerconsensusdata + +import ( + "github.com/attestantio/go-eth2-client/spec" + + "github.com/ssvlabs/ssv-spec/types" + "github.com/ssvlabs/ssv-spec/types/spectest/testdoc" + "github.com/ssvlabs/ssv-spec/types/testingutils" +) + +// WrongDutyTypeValidatorRegistration tests an invalid consensus data for validator registration (has no consensus data) +func WrongDutyTypeValidatorRegistration() *ProposerConsensusDataTest { + + dataByts, err := testingutils.TestingValidatorRegistration.MarshalSSZ() + if err != nil { + panic(err.Error()) + } + + cd := types.ProposerConsensusData{ + Duty: testingutils.TestingValidatorRegistrationDuty, + Version: spec.DataVersionCapella, + DataSSZ: dataByts, + } + + return NewProposerConsensusDataTest( + "wrong duty type validator registration", + testdoc.ProposerConsensusDataTestValidatorRegistrationDoc, + cd, + types.UnknownDutyRoleDataErrorCode, + ) +} + +// WrongDutyTypeVoluntaryExit tests an invalid consensus data for voluntary exit (has no consensus data) +func WrongDutyTypeVoluntaryExit() *ProposerConsensusDataTest { + + dataByts, err := testingutils.TestingVoluntaryExit.MarshalSSZ() + if err != nil { + panic(err.Error()) + } + + cd := types.ProposerConsensusData{ + Duty: testingutils.TestingVoluntaryExitDuty, + Version: spec.DataVersionCapella, + DataSSZ: dataByts, + } + + return NewProposerConsensusDataTest( + "wrong duty type voluntary exit", + testdoc.ProposerConsensusDataTestVoluntaryExitDoc, + cd, + types.UnknownDutyRoleDataErrorCode, + ) +} diff --git a/types/spectest/tests/ssz/ssz_spectest.go b/types/spectest/tests/ssz/ssz_spectest.go index 40e1fbb7c..7219223fa 100644 --- a/types/spectest/tests/ssz/ssz_spectest.go +++ b/types/spectest/tests/ssz/ssz_spectest.go @@ -24,7 +24,7 @@ func (test *SSZSpecTest) TestName() string { } func (test *SSZSpecTest) Run(t *testing.T) { - cd := &types.ValidatorConsensusData{} + cd := &types.ProposerConsensusData{} require.NoError(t, cd.Decode(test.Data)) vBlk, _, err := cd.GetBlockData() diff --git a/types/spectest/tests/validatorconsensusdata/validator_registration.go b/types/spectest/tests/validatorconsensusdata/validator_registration.go deleted file mode 100644 index 0615e1d97..000000000 --- a/types/spectest/tests/validatorconsensusdata/validator_registration.go +++ /dev/null @@ -1,31 +0,0 @@ -package validatorconsensusdata - -import ( - "github.com/attestantio/go-eth2-client/spec" - - "github.com/ssvlabs/ssv-spec/types" - "github.com/ssvlabs/ssv-spec/types/spectest/testdoc" - "github.com/ssvlabs/ssv-spec/types/testingutils" -) - -// ValidatorRegistration tests an invalid consensus data for validator registration (has no consensus data) -func ValidatorRegistration() *ValidatorConsensusDataTest { - - dataByts, err := testingutils.TestingValidatorRegistration.MarshalSSZ() - if err != nil { - panic(err.Error()) - } - - cd := types.ValidatorConsensusData{ - Duty: testingutils.TestingValidatorRegistrationDuty, - Version: spec.DataVersionCapella, - DataSSZ: dataByts, - } - - return NewValidatorConsensusDataTest( - "validator registration", - testdoc.ValidatorConsensusDataTestValidatorRegistrationDoc, - cd, - types.ValidatorRegistrationNoConsensusDataErrorCode, - ) -} diff --git a/types/spectest/tests/validatorconsensusdata/voluntary_exit.go b/types/spectest/tests/validatorconsensusdata/voluntary_exit.go deleted file mode 100644 index 6a2f70fdd..000000000 --- a/types/spectest/tests/validatorconsensusdata/voluntary_exit.go +++ /dev/null @@ -1,31 +0,0 @@ -package validatorconsensusdata - -import ( - "github.com/attestantio/go-eth2-client/spec" - - "github.com/ssvlabs/ssv-spec/types" - "github.com/ssvlabs/ssv-spec/types/spectest/testdoc" - "github.com/ssvlabs/ssv-spec/types/testingutils" -) - -// VoluntaryExit tests an invalid consensus data for voluntary exit (has no consensus data) -func VoluntaryExit() *ValidatorConsensusDataTest { - - dataByts, err := testingutils.TestingVoluntaryExit.MarshalSSZ() - if err != nil { - panic(err.Error()) - } - - cd := types.ValidatorConsensusData{ - Duty: testingutils.TestingVoluntaryExitDuty, - Version: spec.DataVersionCapella, - DataSSZ: dataByts, - } - - return NewValidatorConsensusDataTest( - "voluntary exit", - testdoc.ValidatorConsensusDataTestVoluntaryExitDoc, - cd, - types.ValidatorExitNoConsensusDataErrorCode, - ) -} diff --git a/types/testingutils/comparable/helpers.go b/types/testingutils/comparable/helpers.go index bb9b74237..422cc3c6f 100644 --- a/types/testingutils/comparable/helpers.go +++ b/types/testingutils/comparable/helpers.go @@ -28,12 +28,12 @@ func NoErrorEncoding(obj ssz.Marshaler) []byte { // If we change the fields in ssv_msgs.go it will break a lot of roots, we're slowly fixing them // SHOULD BE REMOVED once all tests are fixes // see https://github.com/ssvlabs/ssv-spec/issues/178 -func FixIssue178(input *types.ValidatorConsensusData, version spec2.DataVersion) *types.ValidatorConsensusData { +func FixIssue178(input *types.ProposerConsensusData, version spec2.DataVersion) *types.ProposerConsensusData { byts, err := input.Encode() if err != nil { panic(err.Error()) } - ret := &types.ValidatorConsensusData{} + ret := &types.ProposerConsensusData{} if err := ret.Decode(byts); err != nil { panic(err.Error()) } diff --git a/types/testingutils/consensus_data.go b/types/testingutils/consensus_data.go index c6bd13442..53c923161 100644 --- a/types/testingutils/consensus_data.go +++ b/types/testingutils/consensus_data.go @@ -23,7 +23,7 @@ var TestAggregatorConsensusDataByts = func(version spec.DataVersion) []byte { // ================================================== // Used only as invalid test case -var TestAttesterConsensusData = &types.ValidatorConsensusData{ +var TestAttesterConsensusData = &types.ProposerConsensusData{ Duty: *TestingAttesterDuty(spec.DataVersionPhase0).ValidatorDuties[0], DataSSZ: TestingAttestationDataBytes(spec.DataVersionPhase0), Version: spec.DataVersionPhase0, @@ -35,7 +35,7 @@ var TestAttesterConsensusDataByts, _ = TestAttesterConsensusData.Encode() // ================================================== // Used only as invalid test case -var TestSyncCommitteeConsensusData = &types.ValidatorConsensusData{ +var TestSyncCommitteeConsensusData = &types.ProposerConsensusData{ Duty: *TestingSyncCommitteeDuty(spec.DataVersionPhase0).ValidatorDuties[0], DataSSZ: TestingSyncCommitteeBlockRoot[:], Version: spec.DataVersionPhase0, @@ -46,9 +46,9 @@ var TestSyncCommitteeConsensusDataByts, _ = TestSyncCommitteeConsensusData.Encod // Proposer // ================================================== -var TestProposerConsensusDataV = func(version spec.DataVersion) *types.ValidatorConsensusData { +var TestProposerConsensusDataV = func(version spec.DataVersion) *types.ProposerConsensusData { duty := TestingProposerDutyV(version) - return &types.ValidatorConsensusData{ + return &types.ProposerConsensusData{ Duty: *duty, Version: version, DataSSZ: TestingBeaconBlockBytesV(version), @@ -61,8 +61,8 @@ var TestProposerConsensusDataBytsV = func(version spec.DataVersion) []byte { return byts } -var TestProposerBlindedBlockConsensusDataV = func(version spec.DataVersion) *types.ValidatorConsensusData { - return &types.ValidatorConsensusData{ +var TestProposerBlindedBlockConsensusDataV = func(version spec.DataVersion) *types.ProposerConsensusData { + return &types.ProposerConsensusData{ Duty: *TestingProposerDutyV(version), Version: version, DataSSZ: TestingBlindedBeaconBlockBytesV(version), diff --git a/types/testingutils/runner.go b/types/testingutils/runner.go index bb6ecacd0..0c620872b 100644 --- a/types/testingutils/runner.go +++ b/types/testingutils/runner.go @@ -356,7 +356,7 @@ var ConstructBaseRunner = func(role types.RunnerRole, keySet *TestKeySet) (ssv.R } // //////////////////////////////// For SSV Tests //////////////////////////////////////////////////////////////// -var SSVDecidingMsgsForHeight = func(consensusData *types.ValidatorConsensusData, msgIdentifier []byte, height qbft.Height, keySet *TestKeySet) []*types.SignedSSVMessage { +var SSVDecidingMsgsForHeight = func(consensusData *types.ProposerConsensusData, msgIdentifier []byte, height qbft.Height, keySet *TestKeySet) []*types.SignedSSVMessage { byts, _ := consensusData.Encode() r, _ := qbft.HashDataRoot(byts) fullData, _ := consensusData.MarshalSSZ() @@ -377,7 +377,7 @@ var SSVDecidingMsgsForHeightAndBeaconVote = func(beaconVote *types.BeaconVote, m return SSVDecidingMsgsForHeightWithRoot(r, fullData, msgIdentifier, height, keySet) } -var SSVExpectedDecidingMsgsForHeight = func(consensusData *types.ValidatorConsensusData, msgIdentifier []byte, height qbft.Height, keySet *TestKeySet) []*types.SignedSSVMessage { +var SSVExpectedDecidingMsgsForHeight = func(consensusData *types.ProposerConsensusData, msgIdentifier []byte, height qbft.Height, keySet *TestKeySet) []*types.SignedSSVMessage { byts, _ := consensusData.Encode() r, _ := qbft.HashDataRoot(byts) fullData, _ := consensusData.MarshalSSZ() @@ -460,7 +460,7 @@ var SSVExpectedDecidingMsgsForHeightWithRoot = func(root [32]byte, fullData, msg } // //////////////////// For QBFT TESTS ///////////////////////////////////////////////////////////////////////// -var DecidingMsgsForHeight = func(consensusData *types.ValidatorConsensusData, msgIdentifier []byte, height qbft.Height, keySet *TestKeySet) []*types.SignedSSVMessage { +var DecidingMsgsForHeight = func(consensusData *types.ProposerConsensusData, msgIdentifier []byte, height qbft.Height, keySet *TestKeySet) []*types.SignedSSVMessage { byts, _ := consensusData.Encode() r, _ := qbft.HashDataRoot(byts) fullData, _ := consensusData.MarshalSSZ() @@ -468,7 +468,7 @@ var DecidingMsgsForHeight = func(consensusData *types.ValidatorConsensusData, ms return DecidingMsgsForHeightWithRoot(r, fullData, msgIdentifier, height, keySet) } -var ExpectedDecidingMsgsForHeight = func(consensusData *types.ValidatorConsensusData, msgIdentifier []byte, height qbft.Height, keySet *TestKeySet) []*types.SignedSSVMessage { +var ExpectedDecidingMsgsForHeight = func(consensusData *types.ProposerConsensusData, msgIdentifier []byte, height qbft.Height, keySet *TestKeySet) []*types.SignedSSVMessage { byts, _ := consensusData.Encode() r, _ := qbft.HashDataRoot(byts) fullData, _ := consensusData.MarshalSSZ() diff --git a/types/testingutils/runner_versioned.go b/types/testingutils/runner_versioned.go index c647522fb..fcd69f51f 100644 --- a/types/testingutils/runner_versioned.go +++ b/types/testingutils/runner_versioned.go @@ -87,7 +87,7 @@ var QBFTMsgsForAggregatorCommitteeRunner = func(duty *types.AggregatorCommitteeD return SSVDecidingMsgsForHeightWithRoot(r, fullData, id[:], height, ks) } -var SSVDecidingMsgsV = func(consensusData *types.ValidatorConsensusData, ks *TestKeySet, role types.RunnerRole) []*types.SignedSSVMessage { +var SSVDecidingMsgsV = func(consensusData *types.ProposerConsensusData, ks *TestKeySet, role types.RunnerRole) []*types.SignedSSVMessage { id := types.NewMsgID(TestingSSVDomainType, TestingValidatorPubKey[:], role) signedF := func(partialSigMsg *types.PartialSignatureMessages) *types.SignedSSVMessage { @@ -123,7 +123,7 @@ var SSVDecidingMsgsV = func(consensusData *types.ValidatorConsensusData, ks *Tes return base } -var ExpectedSSVDecidingMsgsV = func(consensusData *types.ValidatorConsensusData, ks *TestKeySet, role types.RunnerRole) []*types.SignedSSVMessage { +var ExpectedSSVDecidingMsgsV = func(consensusData *types.ProposerConsensusData, ks *TestKeySet, role types.RunnerRole) []*types.SignedSSVMessage { id := types.NewMsgID(TestingSSVDomainType, TestingValidatorPubKey[:], role) ssvMsgF := func(partialSigMsg *types.PartialSignatureMessages) *types.SignedSSVMessage { diff --git a/types/testingutils/ssv_msgs.go b/types/testingutils/ssv_msgs.go index 1f6970a0d..2f78f1da1 100644 --- a/types/testingutils/ssv_msgs.go +++ b/types/testingutils/ssv_msgs.go @@ -17,7 +17,7 @@ var TestingForkData = types.ForkData{Epoch: TestingDutyEpoch, Domain: TestingSSV // Consensus Data - Invalid Types // ================================================== -var EncodeConsensusDataTest = func(cd *types.ValidatorConsensusData) []byte { +var EncodeConsensusDataTest = func(cd *types.ProposerConsensusData) []byte { encodedCD, _ := cd.Encode() return encodedCD } @@ -27,14 +27,14 @@ var EncodeAggregatorCommitteeConsensusDataTest = func(cd *types.AggregatorCommit return encodedCD } -var TestConsensusUnkownDutyTypeData = &types.ValidatorConsensusData{ +var TestConsensusUnkownDutyTypeData = &types.ProposerConsensusData{ Duty: TestingUnknownDutyType, DataSSZ: TestingAttestationDataBytes(spec.DataVersionPhase0), Version: spec.DataVersionPhase0, } var TestConsensusUnkownDutyTypeDataByts, _ = TestConsensusUnkownDutyTypeData.Encode() -var TestConsensusWrongDutyPKData = &types.ValidatorConsensusData{ +var TestConsensusWrongDutyPKData = &types.ProposerConsensusData{ Duty: TestingWrongDutyPK, DataSSZ: TestingAttestationDataBytes(spec.DataVersionPhase0), Version: spec.DataVersionPhase0,