Proto: revert to the dummy hash for genesis
This commit is contained in:
parent
fedf5d66c6
commit
588832f04c
@ -31,7 +31,7 @@ let genesis : State.Chain.genesis = {
|
|||||||
"BLockGenesisGenesisGenesisGenesisGenesisa52f8bUWPcg" ;
|
"BLockGenesisGenesisGenesisGenesisGenesisa52f8bUWPcg" ;
|
||||||
protocol =
|
protocol =
|
||||||
Protocol_hash.of_b58check_exn
|
Protocol_hash.of_b58check_exn
|
||||||
"Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P" ;
|
"ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im" ;
|
||||||
}
|
}
|
||||||
|
|
||||||
let with_node f =
|
let with_node f =
|
||||||
|
@ -255,7 +255,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": "Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P" }
|
{ "protocol": "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im" }
|
||||||
$ 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
|
||||||
|
@ -242,7 +242,7 @@ assert_protocol() {
|
|||||||
proto=$1
|
proto=$1
|
||||||
printf "\n\nAsserting protocol propagation\n"
|
printf "\n\nAsserting protocol propagation\n"
|
||||||
for client in "${client_instances[@]}"; do
|
for client in "${client_instances[@]}"; do
|
||||||
( $client -p Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P \
|
( $client -p ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im \
|
||||||
rpc get /chains/main/blocks/head/metadata | assert_in_output "\"next_protocol\": \"$proto\"" ) \
|
rpc get /chains/main/blocks/head/metadata | assert_in_output "\"next_protocol\": \"$proto\"" ) \
|
||||||
|| exit 2
|
|| exit 2
|
||||||
done
|
done
|
||||||
|
@ -250,7 +250,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 "Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P", you
|
command, is "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im", 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:
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ let genesis : State.Chain.genesis = {
|
|||||||
"BLockGenesisGenesisGenesisGenesisGenesisf79b5d1CoW2" ;
|
"BLockGenesisGenesisGenesisGenesisGenesisf79b5d1CoW2" ;
|
||||||
protocol =
|
protocol =
|
||||||
Protocol_hash.of_b58check_exn
|
Protocol_hash.of_b58check_exn
|
||||||
"Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P" ;
|
"ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im" ;
|
||||||
}
|
}
|
||||||
|
|
||||||
type error += Non_private_sandbox of P2p_addr.t
|
type error += Non_private_sandbox of P2p_addr.t
|
||||||
|
@ -27,7 +27,7 @@ open Proto_genesis
|
|||||||
|
|
||||||
let protocol =
|
let protocol =
|
||||||
Protocol_hash.of_b58check_exn
|
Protocol_hash.of_b58check_exn
|
||||||
"Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P"
|
"ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im"
|
||||||
|
|
||||||
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
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"hash": "Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P",
|
"hash": "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im",
|
||||||
"modules": ["Data", "Services", "Main"]
|
"modules": ["Data", "Services", "Main"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user