Proto Genesis's hash is its actual hash

This commit is contained in:
Benjamin Canou 2018-06-30 17:33:28 +02:00
parent 252435d280
commit 6c00f64dfb
6 changed files with 6 additions and 6 deletions

View File

@ -31,7 +31,7 @@ let genesis : State.Chain.genesis = {
"BLockGenesisGenesisGenesisGenesisGenesisa52f8bUWPcg" ; "BLockGenesisGenesisGenesisGenesisGenesisa52f8bUWPcg" ;
protocol = protocol =
Protocol_hash.of_b58check_exn Protocol_hash.of_b58check_exn
"ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im" ; "Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P" ;
} }
let with_node f = let with_node f =

View File

@ -252,7 +252,7 @@ activating the whole network. For instance:
:: ::
$ tezos-client rpc get /chains/main/blocks/head/metadata/next_protocol_hash $ tezos-client rpc get /chains/main/blocks/head/metadata/next_protocol_hash
{ "protocol": "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im" } { "protocol": "Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P" }
$ tezos-activate-alpha $ tezos-activate-alpha
Injected BMBcK869jaHQDc Injected BMBcK869jaHQDc
$ tezos-client rpc get /chains/main/blocks/head/metadata/next_protocol_hash $ tezos-client rpc get /chains/main/blocks/head/metadata/next_protocol_hash

View File

@ -336,7 +336,7 @@ tezos node launched with \`launch-sandboxed-node $1\`. For instance:
tezos-client rpc get /chains/main/blocks/head/metadata tezos-client rpc get /chains/main/blocks/head/metadata
Note: if the current protocol version, as reported by the previous Note: if the current protocol version, as reported by the previous
command, is "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im", you command, is "Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P", you
may have to activate in your "sandboxed network" the same economic may have to activate in your "sandboxed network" the same economic
protocol than used by the alphanet by running: protocol than used by the alphanet by running:

View File

@ -33,7 +33,7 @@ let genesis : State.Chain.genesis = {
"BLockGenesisGenesisGenesisGenesisGenesisa52f8bUWPcg" ; "BLockGenesisGenesisGenesisGenesisGenesisa52f8bUWPcg" ;
protocol = protocol =
Protocol_hash.of_b58check_exn Protocol_hash.of_b58check_exn
"ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im" ; "Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P" ;
} }
type error += Non_private_sandbox of P2p_addr.t type error += Non_private_sandbox of P2p_addr.t

View File

@ -27,7 +27,7 @@ open Proto_genesis
let protocol = let protocol =
Protocol_hash.of_b58check_exn Protocol_hash.of_b58check_exn
"ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im" "Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P"
let bake cctxt ?(timestamp = Time.now ()) block command sk = let bake cctxt ?(timestamp = Time.now ()) block command sk =
let protocol_data = { command ; signature = Signature.zero } in let protocol_data = { command ; signature = Signature.zero } in

View File

@ -1,4 +1,4 @@
{ {
"hash": "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im", "hash": "Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P",
"modules": ["Data", "Services", "Main"] "modules": ["Data", "Services", "Main"]
} }