[#1035] neofs-adm: update contracts in a single transaction

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2021-12-27 13:26:22 +03:00 committed by Alex Vanin
parent a8ba573ec8
commit 4673c81451
4 changed files with 126 additions and 65 deletions

View file

@ -61,7 +61,7 @@ func initializeSideChainCmd(cmd *cobra.Command, args []string) error {
// 4. Deploy NeoFS contracts.
cmd.Println("Stage 4: deploy NeoFS contracts.")
if err := initCtx.deployContracts(deployMethodName); err != nil {
if err := initCtx.deployContracts(); err != nil {
return err
}