forked from TrueCloudLab/frostfs-node
[#749] neofs-adm: save group public key in NNS
Query `group.neofs` instead of retrieving individual manifest. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
def1bbc84c
commit
e4bc9c7fad
3 changed files with 80 additions and 7 deletions
|
@ -272,9 +272,12 @@ func (c *initializeContext) updateContracts() error {
|
|||
}
|
||||
}
|
||||
|
||||
if w.Err != nil {
|
||||
return w.Err
|
||||
sysFee, err := c.emitUpdateNNSGroupScript(w, nnsHash, c.ContractWallet.Accounts[0].PrivateKey().PublicKey())
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
totalGasCost += sysFee
|
||||
if err := c.sendCommitteeTx(w.Bytes(), totalGasCost); err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue