Update initial nonces
This commit is contained in:
parent
6cf03d0f6b
commit
712f972a10
@ -37,8 +37,7 @@ let init_contract ~typecheck ctxt
|
|||||||
let init ctxt ~typecheck ?ramp_up_cycles ?no_reward_cycles accounts contracts =
|
let init ctxt ~typecheck ?ramp_up_cycles ?no_reward_cycles accounts contracts =
|
||||||
let nonce =
|
let nonce =
|
||||||
Operation_hash.hash_bytes
|
Operation_hash.hash_bytes
|
||||||
(* FIXME: change this nonce before lunch *)
|
[ MBytes.of_string "Un festival de GADT." ] in
|
||||||
[ MBytes.of_string "ZERONET_INIT_ORIGINATION_NONCE" ] in
|
|
||||||
let ctxt = Raw_context.init_origination_nonce ctxt nonce in
|
let ctxt = Raw_context.init_origination_nonce ctxt nonce in
|
||||||
fold_left_s init_account ctxt accounts >>=? fun ctxt ->
|
fold_left_s init_account ctxt accounts >>=? fun ctxt ->
|
||||||
fold_left_s (init_contract ~typecheck) ctxt contracts >>=? fun ctxt ->
|
fold_left_s (init_contract ~typecheck) ctxt contracts >>=? fun ctxt ->
|
||||||
|
@ -16,7 +16,7 @@ type nonce = MBytes.t
|
|||||||
|
|
||||||
let nonce_encoding = Data_encoding.Fixed.bytes Constants_repr.nonce_length
|
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 zero_bytes = MBytes.of_string (String.make Nonce_hash.size '\000')
|
||||||
|
|
||||||
let state_hash_encoding =
|
let state_hash_encoding =
|
||||||
|
Loading…
Reference in New Issue
Block a user