Test/AI: check new misbehaviour_repr fields
Context
Update the tests to check the new Misbehaviour_repr.t fields introduced in !11575 (merged).
Manually testing the MR
dune exec src/proto_alpha/lib_protocol/test/integration/main.exe -- -f test_adaptive_issuance_roundtrip.ml
dune exec src/proto_alpha/lib_protocol/test/integration/consensus/main.exe -- -f test_double_attestation.ml
You can also observe that the roundtrip tests fail after Alpha/test_adaptive_issuance_roundtrip: update denunciation compare and pp but before Alpha/test_adaptive_issuance_roundtrip: correctly fill out new fields.
Checklist
-
Document the interface of any function added or modified (see the coding guidelines) - [N/A] Document any change to the user interface, including configuration parameters (see node configuration)
-
Provide automatic testing (see the testing guide). - [N/A] For new features and bug fixes, add an item in the appropriate changelog (
docs/protocols/alpha.rstfor the protocol and the environment,CHANGES.rstat the root of the repository for everything else). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR
Edited by Diane Gallois-Wong