forked from TrueCloudLab/frostfs-node
[#755] neofs-adm: add contract hash flag to dump-containers
`--container-contract` flag must be used for deployments without NNS. Our current testnet sidechain is like this, for example. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
5072b703bc
commit
00a299c1a4
2 changed files with 12 additions and 2 deletions
|
@ -28,6 +28,7 @@ const (
|
|||
withdrawFeeInitFlag = "network.fee.withdraw"
|
||||
withdrawFeeCLIFlag = "withdraw-fee"
|
||||
containerDumpFlag = "dump"
|
||||
containerContractFlag = "container-contract"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -169,6 +170,7 @@ func init() {
|
|||
RootCmd.AddCommand(dumpContainersCmd)
|
||||
dumpContainersCmd.Flags().StringP(endpointFlag, "r", "", "N3 RPC node endpoint")
|
||||
dumpContainersCmd.Flags().String(containerDumpFlag, "", "file where to save dumped containers")
|
||||
dumpContainersCmd.Flags().String(containerContractFlag, "", "container contract hash (for networks without NNS)")
|
||||
|
||||
RootCmd.AddCommand(restoreContainersCmd)
|
||||
restoreContainersCmd.Flags().String(alphabetWalletsFlag, "", "path to alphabet wallets dir")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue