From 333b5bfda82e40e72d8b86f42b680dd138314f22 Mon Sep 17 00:00:00 2001 From: Mehdi Bouaziz Date: Fri, 13 Oct 2023 14:30:24 +0200 Subject: [PATCH] Proto/Seed_repr: remove dead values --- src/proto_alpha/lib_protocol/seed_repr.ml | 2 -- src/proto_alpha/lib_protocol/seed_repr.mli | 6 ------ 2 files changed, 8 deletions(-) diff --git a/src/proto_alpha/lib_protocol/seed_repr.ml b/src/proto_alpha/lib_protocol/seed_repr.ml index 20d86d22cb50..531b7129004f 100644 --- a/src/proto_alpha/lib_protocol/seed_repr.ml +++ b/src/proto_alpha/lib_protocol/seed_repr.ml @@ -214,8 +214,6 @@ let nonce_hash_key_part = Nonce_hash.to_path let initial_nonce_0 = zero_bytes -let initial_nonce_hash_0 = hash initial_nonce_0 - let deterministic_seed seed = update_seed seed zero_bytes let initial_seeds ?initial_seed n = diff --git a/src/proto_alpha/lib_protocol/seed_repr.mli b/src/proto_alpha/lib_protocol/seed_repr.mli index 343e8405ba84..86b4f15c7f96 100644 --- a/src/proto_alpha/lib_protocol/seed_repr.mli +++ b/src/proto_alpha/lib_protocol/seed_repr.mli @@ -114,12 +114,6 @@ val deterministic_seed : seed -> seed {i first} seed is created using it as the first one. *) val initial_seeds : ?initial_seed:State_hash.t -> int -> seed list -(** {2 Predefined nonce} *) - -val initial_nonce_0 : nonce - -val initial_nonce_hash_0 : Nonce_hash.t - (** {2 Serializers} *) val nonce_encoding : nonce Data_encoding.t -- GitLab