Allow forge RPC to accept operations with attestation kind
Context
This MR allow the forge RPCs to accept both endorsement and attestation kind in the JSON formatted input operation.
This MR fixes #5380 (closed)
Manually testing the MR
Run the following command containing the newly added tests:
dune exec tezt/tests/main.exe -- --file rpc_versioning.ml forge -v;
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.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 Albin Coquereau