Alpha: change managerPubkey to underscores in json field names

This commit is contained in:
dbornside 2018-07-14 18:26:48 -04:00 committed by Grégoire Henry
parent c1d89e3777
commit ea5992d030
2 changed files with 17 additions and 17 deletions

View File

@ -2990,7 +2990,7 @@ Protocol Alpha
|| { "kind": "origination", || { "kind": "origination",
"source": $contract_id, "source": $contract_id,
"nonce": integer ∈ [0, 2^16-1], "nonce": integer ∈ [0, 2^16-1],
"managerPubkey": "manager_pubkey":
string string
/* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */, /* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */,
"balance": "balance":
@ -3118,7 +3118,7 @@ Protocol Alpha
"counter": integer ∈ [-2^31-2, 2^31+2], "counter": integer ∈ [-2^31-2, 2^31+2],
"gas_limit": $bignum, "gas_limit": $bignum,
"storage_limit": integer ∈ [-2^31-2, 2^31+2] || string, "storage_limit": integer ∈ [-2^31-2, 2^31+2] || string,
"managerPubkey": "manager_pubkey":
string string
/* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */, /* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */,
"balance": "balance":
@ -5187,7 +5187,7 @@ Protocol Alpha
"counter": integer ∈ [-2^31-2, 2^31+2], "counter": integer ∈ [-2^31-2, 2^31+2],
"gas_limit": $bignum, "gas_limit": $bignum,
"storage_limit": integer ∈ [-2^31-2, 2^31+2] || string, "storage_limit": integer ∈ [-2^31-2, 2^31+2] || string,
"managerPubkey": "manager_pubkey":
string string
/* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */, /* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */,
"balance": "balance":
@ -5611,7 +5611,7 @@ Protocol Alpha
"counter": integer ∈ [-2^31-2, 2^31+2], "counter": integer ∈ [-2^31-2, 2^31+2],
"gas_limit": $bignum, "gas_limit": $bignum,
"storage_limit": integer ∈ [-2^31-2, 2^31+2] || string, "storage_limit": integer ∈ [-2^31-2, 2^31+2] || string,
"managerPubkey": "manager_pubkey":
string string
/* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */, /* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */,
"balance": "balance":
@ -5898,7 +5898,7 @@ Protocol Alpha
"counter": integer ∈ [-2^31-2, 2^31+2], "counter": integer ∈ [-2^31-2, 2^31+2],
"gas_limit": $bignum, "gas_limit": $bignum,
"storage_limit": integer ∈ [-2^31-2, 2^31+2] || string, "storage_limit": integer ∈ [-2^31-2, 2^31+2] || string,
"managerPubkey": "manager_pubkey":
string string
/* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */, /* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */,
"balance": "balance":
@ -6243,7 +6243,7 @@ Protocol Alpha
"counter": integer ∈ [-2^31-2, 2^31+2], "counter": integer ∈ [-2^31-2, 2^31+2],
"gas_limit": $bignum, "gas_limit": $bignum,
"storage_limit": integer ∈ [-2^31-2, 2^31+2] || string, "storage_limit": integer ∈ [-2^31-2, 2^31+2] || string,
"managerPubkey": "manager_pubkey":
string string
/* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */, /* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */,
"balance": "balance":
@ -6441,7 +6441,7 @@ Protocol Alpha
|| { "kind": "origination", || { "kind": "origination",
"source": $contract_id, "source": $contract_id,
"nonce": integer ∈ [0, 2^16-1], "nonce": integer ∈ [0, 2^16-1],
"managerPubkey": "manager_pubkey":
string string
/* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */, /* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */,
"balance": "balance":
@ -6569,7 +6569,7 @@ Protocol Alpha
"counter": integer ∈ [-2^31-2, 2^31+2], "counter": integer ∈ [-2^31-2, 2^31+2],
"gas_limit": $bignum, "gas_limit": $bignum,
"storage_limit": integer ∈ [-2^31-2, 2^31+2] || string, "storage_limit": integer ∈ [-2^31-2, 2^31+2] || string,
"managerPubkey": "manager_pubkey":
string string
/* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */, /* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */,
"balance": "balance":
@ -7150,7 +7150,7 @@ Protocol Alpha
|| { "source": $contract_id, || { "source": $contract_id,
"nonce": integer ∈ [0, 2^16-1], "nonce": integer ∈ [0, 2^16-1],
"kind": "origination", "kind": "origination",
"managerPubkey": "manager_pubkey":
string string
/* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */, /* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */,
"balance": "balance":
@ -7471,7 +7471,7 @@ Protocol Alpha
|| { "source": $contract_id, || { "source": $contract_id,
"nonce": integer ∈ [0, 2^16-1], "nonce": integer ∈ [0, 2^16-1],
"kind": "origination", "kind": "origination",
"managerPubkey": "manager_pubkey":
string string
/* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */, /* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */,
"balance": "balance":
@ -8403,7 +8403,7 @@ Protocol Alpha
|| { "kind": "origination", || { "kind": "origination",
"source": $contract_id, "source": $contract_id,
"nonce": integer ∈ [0, 2^16-1], "nonce": integer ∈ [0, 2^16-1],
"managerPubkey": "manager_pubkey":
string string
/* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */, /* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */,
"balance": "balance":
@ -8531,7 +8531,7 @@ Protocol Alpha
"counter": integer ∈ [-2^31-2, 2^31+2], "counter": integer ∈ [-2^31-2, 2^31+2],
"gas_limit": $bignum, "gas_limit": $bignum,
"storage_limit": integer ∈ [-2^31-2, 2^31+2] || string, "storage_limit": integer ∈ [-2^31-2, 2^31+2] || string,
"managerPubkey": "manager_pubkey":
string string
/* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */, /* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */,
"balance": "balance":
@ -8859,7 +8859,7 @@ Protocol Alpha
|| { "kind": "origination", || { "kind": "origination",
"source": $contract_id, "source": $contract_id,
"nonce": integer ∈ [0, 2^16-1], "nonce": integer ∈ [0, 2^16-1],
"managerPubkey": "manager_pubkey":
string string
/* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */, /* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */,
"balance": "balance":
@ -8987,7 +8987,7 @@ Protocol Alpha
"counter": integer ∈ [-2^31-2, 2^31+2], "counter": integer ∈ [-2^31-2, 2^31+2],
"gas_limit": $bignum, "gas_limit": $bignum,
"storage_limit": integer ∈ [-2^31-2, 2^31+2] || string, "storage_limit": integer ∈ [-2^31-2, 2^31+2] || string,
"managerPubkey": "manager_pubkey":
string string
/* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */, /* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */,
"balance": "balance":
@ -9315,7 +9315,7 @@ Protocol Alpha
|| { "kind": "origination", || { "kind": "origination",
"source": $contract_id, "source": $contract_id,
"nonce": integer ∈ [0, 2^16-1], "nonce": integer ∈ [0, 2^16-1],
"managerPubkey": "manager_pubkey":
string string
/* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */, /* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */,
"balance": "balance":
@ -9443,7 +9443,7 @@ Protocol Alpha
"counter": integer ∈ [-2^31-2, 2^31+2], "counter": integer ∈ [-2^31-2, 2^31+2],
"gas_limit": $bignum, "gas_limit": $bignum,
"storage_limit": integer ∈ [-2^31-2, 2^31+2] || string, "storage_limit": integer ∈ [-2^31-2, 2^31+2] || string,
"managerPubkey": "manager_pubkey":
string string
/* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */, /* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */,
"balance": "balance":

View File

@ -253,7 +253,7 @@ module Encoding = struct
name = "origination" ; name = "origination" ;
encoding = encoding =
(obj6 (obj6
(req "managerPubkey" Signature.Public_key_hash.encoding) (req "manager_pubkey" Signature.Public_key_hash.encoding)
(req "balance" Tez_repr.encoding) (req "balance" Tez_repr.encoding)
(dft "spendable" bool true) (dft "spendable" bool true)
(dft "delegatable" bool true) (dft "delegatable" bool true)