Verified Commit 50cf26f0 authored by Dan's avatar Dan Committed by Marco Stronati

Alpha/RPCs: change `managerPubkey` to underscores in json field names

This renames a field in the JSON format of origination operations to
make it consistent with the others.

Third party software must be updated to support this change.
For applications that just consume this format, it is enough to just recognise
both field names during the protocol change period. For applications that send
this format to the node, it is necessary to send the right one depending on the
`next_protocol` field of the interrogated block.
parent 5b410693
......@@ -253,7 +253,7 @@ module Encoding = struct
name = "origination" ;
encoding =
(obj6
(req "managerPubkey" Signature.Public_key_hash.encoding)
(req "manager_pubkey" Signature.Public_key_hash.encoding)
(req "balance" Tez_repr.encoding)
(dft "spendable" bool true)
(dft "delegatable" bool true)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment