From c3ff83cc4d625c27f6b8c8cef3312d57156644c7 Mon Sep 17 00:00:00 2001 From: Ekaterina Pavlova Date: Sun, 10 Sep 2023 22:52:48 +0400 Subject: [PATCH] neofs-cli: add display container alias fee data By calling neofs-cli netmap netinfo user is able to get information about container alias fee. Closes #2553. Signed-off-by: Ekaterina Pavlova --- CHANGELOG.md | 1 + cmd/neofs-cli/modules/netmap/netinfo.go | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98faa0920b..f6554a4ed4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ minor release, the component will be purged, so be prepared (see `Updating` sect - Fetching container estimations via iterators to prevent NeoVM stack overflow (#2173) - `neofs-adm morph netmap-candidates` CLI command (#1889) - SN network validation (is available by its announced addresses) on bootstrap by the IR (#2475) +- Display of container alias fee info in `neofs-cli netmap netinfo` (#2553) ### Fixed - `neo-go` RPC connection loss handling (#1337) diff --git a/cmd/neofs-cli/modules/netmap/netinfo.go b/cmd/neofs-cli/modules/netmap/netinfo.go index 62fd53667a..93a8569a17 100644 --- a/cmd/neofs-cli/modules/netmap/netinfo.go +++ b/cmd/neofs-cli/modules/netmap/netinfo.go @@ -43,6 +43,7 @@ var netInfoCmd = &cobra.Command{ cmd.Printf(format, "Audit fee", netInfo.AuditFee()) cmd.Printf(format, "Storage price", netInfo.StoragePrice()) cmd.Printf(format, "Container fee", netInfo.ContainerFee()) + cmd.Printf(format, "Container alias fee", netInfo.NamedContainerFee()) cmd.Printf(format, "EigenTrust alpha", netInfo.EigenTrustAlpha()) cmd.Printf(format, "Number of EigenTrust iterations", netInfo.NumberOfEigenTrustIterations()) cmd.Printf(format, "Epoch duration", netInfo.EpochDuration())