From 73c152f24a7c40a2807062da6269c167cf4d8258 Mon Sep 17 00:00:00 2001 From: Konstantinos Demartinos Date: Thu, 31 Oct 2024 14:26:37 +0200 Subject: [PATCH] fixup! fixup! fixup! fixup! docs(cli): update ceremony --- crates/iota/genesis.md | 4 +--- crates/iota/src/genesis_ceremony.rs | 8 -------- docs/content/references/cli/ceremony.mdx | 5 +---- 3 files changed, 2 insertions(+), 15 deletions(-) diff --git a/crates/iota/genesis.md b/crates/iota/genesis.md index ea9267cb595..d0e9fb9768b 100644 --- a/crates/iota/genesis.md +++ b/crates/iota/genesis.md @@ -94,12 +94,10 @@ stake to validators. The resulting distribution schedule is amended only if any migration sources are passed in the "Build Genesis" step. -The `pre_minted_supply` of the network can also be set. ``` $ iota genesis-ceremony init-token-distribution-schedule \ - --token-allocations-path \ - --pre-minted-supply <# of iota coins in nanos> + --token-allocations-path $ git add . $ git commit -m "initialize token distribution schedule" $ git push diff --git a/crates/iota/src/genesis_ceremony.rs b/crates/iota/src/genesis_ceremony.rs index 45b1b3dbe1c..162acf416ce 100644 --- a/crates/iota/src/genesis_ceremony.rs +++ b/crates/iota/src/genesis_ceremony.rs @@ -97,12 +97,6 @@ pub enum CeremonyCommand { }, /// Initialize token distribution schedule. InitTokenDistributionSchedule { - #[clap( - long, - help = "The amount of any pre-minted supply", - default_value_t = 0 - )] - pre_minted_supply: u64, #[clap( long, help = "The path to the csv file with the token allocations", @@ -167,12 +161,10 @@ pub async fn run(cmd: Ceremony) -> Result<()> { } CeremonyCommand::InitTokenDistributionSchedule { - pre_minted_supply, token_allocations_path, } => { let mut builder = Builder::load(&dir).await?; let mut schedule_builder = TokenDistributionScheduleBuilder::new(); - schedule_builder.set_pre_minted_supply(pre_minted_supply); let token_allocations_csv = File::open(token_allocations_path)?; let mut reader = csv::Reader::from_reader(token_allocations_csv); diff --git a/docs/content/references/cli/ceremony.mdx b/docs/content/references/cli/ceremony.mdx index 9d97212d06c..acabf49ca33 100644 --- a/docs/content/references/cli/ceremony.mdx +++ b/docs/content/references/cli/ceremony.mdx @@ -143,12 +143,9 @@ stake to validators. The resulting distribution schedule is amended only if any migration sources are passed in the "Build the Unsigned Checkpoint" step. -The `pre_minted_supply` of the network can also be set. - ```shell $ iota genesis-ceremony init-token-distribution-schedule \ - --token-allocations-path \ - --pre-minted-supply <# of iota coins in nanos> + --token-allocations-path ``` ### Validate the Genesis State