From c93c5e726cd552721e68396f5c54d828bde3633d Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Mon, 18 Oct 2021 15:15:08 +0300 Subject: [PATCH] [#927] neofs-adm: add fee flags to `morph init` Signed-off-by: Evgenii Stratonikov --- cmd/neofs-adm/internal/modules/morph/root.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/neofs-adm/internal/modules/morph/root.go b/cmd/neofs-adm/internal/modules/morph/root.go index e6cfff5f..f05f9c45 100644 --- a/cmd/neofs-adm/internal/modules/morph/root.go +++ b/cmd/neofs-adm/internal/modules/morph/root.go @@ -163,6 +163,9 @@ func init() { initCmd.Flags().String(contractsInitFlag, "", "path to archive with compiled NeoFS contracts (default fetched from latest github release)") initCmd.Flags().Uint(epochDurationCLIFlag, 240, "amount of side chain blocks in one NeoFS epoch") initCmd.Flags().Uint(maxObjectSizeCLIFlag, 67108864, "max single object size in bytes") + // Defaults are taken from neo-preodolenie. + initCmd.Flags().Uint64(containerFeeCLIFlag, 1000, "container registration fee") + initCmd.Flags().Uint64(containerAliasFeeCLIFlag, 500, "container alias fee") RootCmd.AddCommand(generateStorageCmd) generateStorageCmd.Flags().String(alphabetWalletsFlag, "", "path to alphabet wallets dir")