forked from TrueCloudLab/frostfs-node
[#888] neofs-adm: deploy NNS contract first
Container contract uses actual NNS interface. This also aleviates some pain related to update as neofs-adm code itself uses current NNS version. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
1177f0ca78
commit
bca41f87af
1 changed files with 2 additions and 2 deletions
|
@ -13,9 +13,9 @@ func updateContracts(cmd *cobra.Command, _ []string) error {
|
||||||
return fmt.Errorf("initialization error: %w", err)
|
return fmt.Errorf("initialization error: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := wCtx.deployContracts(updateMethodName); err != nil {
|
if err := wCtx.deployNNS(updateMethodName); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
return wCtx.deployNNS("update")
|
return wCtx.deployContracts(updateMethodName)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue