Proto Alpha's hash is its actual hash
This commit is contained in:
parent
12b72c9a0b
commit
252435d280
@ -2769,7 +2769,7 @@ Protocol Alpha
|
||||
</div>
|
||||
<div id="GET_..--block_idoutput" class="GET_..--block_id tabcontent">
|
||||
<pre>
|
||||
{ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK",
|
||||
{ "protocol": "PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY",
|
||||
"chain_id": string /* Network identifier (Base58Check-encoded) */,
|
||||
"hash": string /* A block identifier (Base58Check-encoded) */,
|
||||
"header": $raw_block_header,
|
||||
@ -2799,8 +2799,8 @@ Protocol Alpha
|
||||
string
|
||||
/* A Secp256k1 or Ed25519 signature (Base58Check-encoded) */ }
|
||||
$block_header_metadata:
|
||||
{ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK",
|
||||
"next_protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK",
|
||||
{ "protocol": "PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY",
|
||||
"next_protocol": "PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY",
|
||||
"test_chain_status":
|
||||
/* Test chain status */
|
||||
{ "status": "not_running" }
|
||||
@ -2962,7 +2962,7 @@ Protocol Alpha
|
||||
"args": [ $micheline.michelson_v1.expression ... ],
|
||||
"annot"?: string }
|
||||
$operation:
|
||||
{ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK",
|
||||
{ "protocol": "PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY",
|
||||
"chain_id": string /* Network identifier (Base58Check-encoded) */,
|
||||
"hash": string /* A Tezos operation ID (Base58Check-encoded) */,
|
||||
"branch": string /* A block identifier (Base58Check-encoded) */,
|
||||
@ -4598,7 +4598,7 @@ Protocol Alpha
|
||||
<pre>
|
||||
$block_header
|
||||
$block_header:
|
||||
{ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK",
|
||||
{ "protocol": "PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY",
|
||||
"chain_id": string /* Network identifier (Base58Check-encoded) */,
|
||||
"hash": string /* A block identifier (Base58Check-encoded) */,
|
||||
"level": integer ∈ [-2^31-2, 2^31+2],
|
||||
@ -4640,7 +4640,7 @@ Protocol Alpha
|
||||
</div>
|
||||
<div id="GET_..--block_id--header--protocol_dataoutput" class="GET_..--block_id--header--protocol_data tabcontent">
|
||||
<pre>
|
||||
{ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK",
|
||||
{ "protocol": "PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY",
|
||||
"priority": integer ∈ [0, 2^16-1],
|
||||
"proof_of_work_nonce": /^[a-zA-Z0-9]+$/,
|
||||
"seed_nonce_hash"?: string /* A nonce hash (Base58Check-encoded) */,
|
||||
@ -5662,7 +5662,7 @@ Protocol Alpha
|
||||
<div id="POST_..--block_id--helpers--preapply--blockinput" class="POST_..--block_id--helpers--preapply--block tabcontent">
|
||||
<pre>
|
||||
{ "protocol_data":
|
||||
{ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK",
|
||||
{ "protocol": "PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY",
|
||||
"priority": integer ∈ [0, 2^16-1],
|
||||
"proof_of_work_nonce": /^[a-zA-Z0-9]+$/,
|
||||
"seed_nonce_hash"?: string /* A nonce hash (Base58Check-encoded) */,
|
||||
@ -5812,7 +5812,7 @@ Protocol Alpha
|
||||
"annot"?: string }
|
||||
$next_operation:
|
||||
/* Operations param */
|
||||
{ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK",
|
||||
{ "protocol": "PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY",
|
||||
"branch": string /* A block identifier (Base58Check-encoded) */,
|
||||
"contents": [ $operation.alpha.contents ... ],
|
||||
"signature"?:
|
||||
@ -6157,7 +6157,7 @@ Protocol Alpha
|
||||
"annot"?: string }
|
||||
$next_operation:
|
||||
/* Operations param */
|
||||
{ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK",
|
||||
{ "protocol": "PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY",
|
||||
"branch": string /* A block identifier (Base58Check-encoded) */,
|
||||
"contents": [ $operation.alpha.contents ... ],
|
||||
"signature"?:
|
||||
@ -7924,8 +7924,8 @@ Protocol Alpha
|
||||
<pre>
|
||||
$block_header_metadata
|
||||
$block_header_metadata:
|
||||
{ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK",
|
||||
"next_protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK",
|
||||
{ "protocol": "PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY",
|
||||
"next_protocol": "PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY",
|
||||
"test_chain_status":
|
||||
/* Test chain status */
|
||||
{ "status": "not_running" }
|
||||
@ -8084,7 +8084,7 @@ Protocol Alpha
|
||||
</div>
|
||||
<div id="GET_..--block_id--metadata--protocol_dataoutput" class="GET_..--block_id--metadata--protocol_data tabcontent">
|
||||
<pre>
|
||||
{ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK",
|
||||
{ "protocol": "PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY",
|
||||
"baker":
|
||||
string
|
||||
/* A Secp256k1 or Ed25519 public key hash (Base58Check-encoded) */,
|
||||
@ -8375,7 +8375,7 @@ Protocol Alpha
|
||||
"args": [ $micheline.michelson_v1.expression ... ],
|
||||
"annot"?: string }
|
||||
$operation:
|
||||
{ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK",
|
||||
{ "protocol": "PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY",
|
||||
"chain_id": string /* Network identifier (Base58Check-encoded) */,
|
||||
"hash": string /* A Tezos operation ID (Base58Check-encoded) */,
|
||||
"branch": string /* A block identifier (Base58Check-encoded) */,
|
||||
@ -8831,7 +8831,7 @@ Protocol Alpha
|
||||
"args": [ $micheline.michelson_v1.expression ... ],
|
||||
"annot"?: string }
|
||||
$operation:
|
||||
{ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK",
|
||||
{ "protocol": "PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY",
|
||||
"chain_id": string /* Network identifier (Base58Check-encoded) */,
|
||||
"hash": string /* A Tezos operation ID (Base58Check-encoded) */,
|
||||
"branch": string /* A block identifier (Base58Check-encoded) */,
|
||||
@ -9287,7 +9287,7 @@ Protocol Alpha
|
||||
"args": [ $micheline.michelson_v1.expression ... ],
|
||||
"annot"?: string }
|
||||
$operation:
|
||||
{ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK",
|
||||
{ "protocol": "PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY",
|
||||
"chain_id": string /* Network identifier (Base58Check-encoded) */,
|
||||
"hash": string /* A Tezos operation ID (Base58Check-encoded) */,
|
||||
"branch": string /* A block identifier (Base58Check-encoded) */,
|
||||
|
@ -24,7 +24,7 @@
|
||||
(*****************************************************************************)
|
||||
|
||||
let protocols = [
|
||||
"Alpha", "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK" ;
|
||||
"Alpha", "PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY" ;
|
||||
]
|
||||
|
||||
let main _node =
|
||||
|
@ -24,7 +24,7 @@
|
||||
(*****************************************************************************)
|
||||
|
||||
let protocols = [
|
||||
"Alpha", "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK" ;
|
||||
"Alpha", "PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY" ;
|
||||
]
|
||||
|
||||
let pp_name ppf = function
|
||||
|
@ -256,7 +256,7 @@ activating the whole network. For instance:
|
||||
$ tezos-activate-alpha
|
||||
Injected BMBcK869jaHQDc
|
||||
$ tezos-client rpc get /chains/main/blocks/head/metadata/next_protocol_hash
|
||||
{ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK" }
|
||||
{ "protocol": "PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY" }
|
||||
|
||||
Tune protocol alpha parameters
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
@ -39,7 +39,7 @@ activate_alpha
|
||||
|
||||
printf "\n\n"
|
||||
|
||||
retry 2 15 assert_protocol "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK"
|
||||
retry 2 15 assert_protocol "PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY"
|
||||
|
||||
$client1 bake for bootstrap1 --max-priority 512 --minimal-timestamp
|
||||
retry 2 15 assert_propagation_level 2
|
||||
|
@ -247,7 +247,7 @@ activate_alpha() {
|
||||
|
||||
${client} \
|
||||
-block genesis \
|
||||
activate protocol ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK \
|
||||
activate protocol PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY \
|
||||
with fitness 1 \
|
||||
and key activator \
|
||||
and parameters "${parameters_file}" \
|
||||
@ -320,7 +320,7 @@ main () {
|
||||
cat <<EOF
|
||||
if type tezos-client-reset >/dev/null 2>&1 ; then tezos-client-reset; fi ;
|
||||
PATH="$client_dir/bin:\$PATH" ; export PATH ;
|
||||
alias tezos-activate-alpha="$client -block genesis activate protocol ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK with fitness 1 and key activator and parameters $parameters_file --timestamp $(TZ='AAA+1' date +%FT%TZ)" ;
|
||||
alias tezos-activate-alpha="$client -block genesis activate protocol PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY with fitness 1 and key activator and parameters $parameters_file --timestamp $(TZ='AAA+1' date +%FT%TZ)" ;
|
||||
alias tezos-client-reset="rm -rf \"$client_dir\"; unalias tezos-activate-alpha tezos-client-reset" ;
|
||||
alias tezos-autocomplete="if [ \$ZSH_NAME ] ; then autoload bashcompinit ; bashcompinit ; fi ; source \"$bin_dir/bash-completion.sh\"" ;
|
||||
trap tezos-client-reset EXIT ;
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"hash": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK",
|
||||
"hash": "PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY",
|
||||
"modules": [
|
||||
"Misc",
|
||||
"Storage_description",
|
||||
|
Loading…
Reference in New Issue
Block a user