Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix genesis pool amounts & addresses #679

Merged
merged 1 commit into from
Nov 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 14 additions & 17 deletions config/prod.exs
Original file line number Diff line number Diff line change
Expand Up @@ -16,52 +16,52 @@ config :archethic, Archethic.Bootstrap.NetworkInit,
[
%{
address:
Base.decode16!("00002CA95C90A4D75DEEC973D251F5B59CD8EBC787FEC265B9CAC1F6C56A8D9BFCCA",
Base.decode16!("00001847ce435fed8e0b280f9be54415b32488cb5057d623ead786737033d86cc6aa",
case: :mixed
),
amount: 382_000_000_000
amount: 382_000_000 * 100_000_000
},
%{
address:
Base.decode16!("0000AD6EEC49FED0A936FEF4BD3301FF933FFFE9BA63BE2F6E948DFEC4C2D4543917",
Base.decode16!("00000ba09619268f8c821ee612408c383440ed9c6e2b7ffa96baf75cb02748406a8f",
case: :mixed
),
amount: 236_000_000_000
amount: 236_000_000 * 100_000_000
},
%{
address:
Base.decode16!("0000D23C33B9B75A272B1E8BCA6F252179A144E0A66A396CCF989C4A6D353CFF3849",
Base.decode16!("0000782de47562bb18ae3f19a26744996fc43b01b5ef0d66243eb5ea78dcc120191d",
case: :mixed
),
amount: 900_000_000
amount: 145_000_000 * 100_000_000
},
%{
address:
Base.decode16!("00006FDE9B6EDF98E682561634B814A5FA2127B327D50AF38428AB06B447A4CF8345",
Base.decode16!("0000df4a467af8d5ff755c00b08a2f338cacffd54f3dfd1b95107b2538c92ab1db56",
case: :mixed
),
amount: 560_000_000
amount: 90_000_000 * 100_000_000
},
%{
address:
Base.decode16!("00000F1DFC550CB0492C7BEA2DCFABC6F2E2378A5D1D8AA8B5058FC2F30B62DD5DDC",
Base.decode16!("00008b0966702f4e1b99e44b7f3bc34a36dfbe41b54925454eada7c51358e516c4da",
case: :mixed
),
amount: 340_000_000
amount: 55_700_000 * 100_000_000
},
%{
address:
Base.decode16!("00006098E77BA4C675DA94F57091E73797BF2E11B3FAB20867101AB20FBE21ED862A",
Base.decode16!("00000690b958706f2f5f54a3c3487e9bb49009e9cf00a3e1ec547deadca0790d2363",
case: :mixed
),
amount: 340_000_000
amount: 34_400_000 * 100_000_000
},
%{
address:
Base.decode16!("00009BD34BB544A9A71536806E52E9E9F4F41FF81751848FD0B1E0E465D2FB95C36C",
Base.decode16!("00002b339e4cfcd9883303a57192bec6e78c064cfe8bf879ec185b7a23686d4d7da9",
case: :mixed
),
amount: 220_000_000
amount: 21_300_000 * 100_000_000
},
if(System.get_env("ARCHETHIC_NETWORK_TYPE") == "testnet",
do: %{
Expand All @@ -79,9 +79,6 @@ config :archethic, Archethic.Bootstrap.Sync,
out_of_sync_date_threshold:
System.get_env("ARCHETHIC_BOOTSTRAP_OUT_OF_SYNC_THRESHOLD", "54000") |> String.to_integer()

# TODO: provide the true addresses for the genesis UCO distribution
# config :archethic, Archethic.Bootstrap.NetworkInit, genesis_pools: []

config :archethic, Archethic.BeaconChain.SlotTimer,
# Every 10 minutes
interval: System.get_env("ARCHETHIC_BEACON_CHAIN_SLOT_TIMER_INTERVAL", "0 */10 * * * * *")
Expand Down