From 5fc5f392bc376e2f1a93060852bfa64f02ffc7cb Mon Sep 17 00:00:00 2001 From: Lucas Randazzo Date: Thu, 20 Jul 2023 16:48:00 +0200 Subject: [PATCH] Proto: update init total supply --- src/proto_alpha/lib_protocol/init_storage.ml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/proto_alpha/lib_protocol/init_storage.ml b/src/proto_alpha/lib_protocol/init_storage.ml index 1fa4bda77575..818d5a94df1b 100644 --- a/src/proto_alpha/lib_protocol/init_storage.ml +++ b/src/proto_alpha/lib_protocol/init_storage.ml @@ -186,9 +186,11 @@ let initialize_total_supply_for_o chain_id ctxt = let open Lwt_syntax in if Chain_id.equal Constants_repr.mainnet_id chain_id then (* We only estimate the total supply in mainnet *) + (* around 967_000_000 tz (current estimated supply) + + 43_000_000 tz (yearly issuance) * 70 (days from activation) / 365 *) Storage.Contract.Total_supply.add ctxt - (Tez_repr.of_mutez_exn 940_000_000_000_000L) + (Tez_repr.of_mutez_exn 975_000_000_000_000L) else (* If not on mainnet, iterate over all accounts and get an accurate total supply *) let* total_supply = -- GitLab