From 712f972a108d378eda4087fd00a82d7a291cdad9 Mon Sep 17 00:00:00 2001 From: Benjamin Canou Date: Sat, 30 Jun 2018 15:46:37 +0200 Subject: [PATCH] Update initial nonces --- src/proto_alpha/lib_protocol/src/bootstrap_storage.ml | 3 +-- src/proto_alpha/lib_protocol/src/seed_repr.ml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/proto_alpha/lib_protocol/src/bootstrap_storage.ml b/src/proto_alpha/lib_protocol/src/bootstrap_storage.ml index 3a567f731..9737a12b6 100644 --- a/src/proto_alpha/lib_protocol/src/bootstrap_storage.ml +++ b/src/proto_alpha/lib_protocol/src/bootstrap_storage.ml @@ -37,8 +37,7 @@ let init_contract ~typecheck ctxt let init ctxt ~typecheck ?ramp_up_cycles ?no_reward_cycles accounts contracts = let nonce = Operation_hash.hash_bytes - (* FIXME: change this nonce before lunch *) - [ MBytes.of_string "ZERONET_INIT_ORIGINATION_NONCE" ] in + [ MBytes.of_string "Un festival de GADT." ] in let ctxt = Raw_context.init_origination_nonce ctxt nonce in fold_left_s init_account ctxt accounts >>=? fun ctxt -> fold_left_s (init_contract ~typecheck) ctxt contracts >>=? fun ctxt -> diff --git a/src/proto_alpha/lib_protocol/src/seed_repr.ml b/src/proto_alpha/lib_protocol/src/seed_repr.ml index 185e59c9c..f87bf3f41 100644 --- a/src/proto_alpha/lib_protocol/src/seed_repr.ml +++ b/src/proto_alpha/lib_protocol/src/seed_repr.ml @@ -16,7 +16,7 @@ type nonce = MBytes.t let nonce_encoding = Data_encoding.Fixed.bytes Constants_repr.nonce_length -let init = "1234567890123456789012" +let init = "Laissez-faire les proprietaires." let zero_bytes = MBytes.of_string (String.make Nonce_hash.size '\000') let state_hash_encoding =