Skip to content

Allow preapply_operations to output operations with attestation kind through RPC versioning

Albin Coquereau requested to merge albin@preapply-operation-versioning into master

Context

This MR allow the preapply/operations RPC to input and output both endorsement and attestation kind in the JSON formatted output operation using a version argument in the RPC call.

This MR fixes #5383 (closed)

Manually testing the MR

Run the following command containing the newly added tests:

dune exec tezt/tests/main.exe -- --file rpc_versioning_attestation.ml preapply;

Checklist

  • n/a 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).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Albin Coquereau

Merge request reports