[#888] neofs-adm: deploy contracts with Global scope
Container contract now calls NNS contract to register TLD for nice names. This must be witnessed by a committee. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
ec27a96b8c
commit
1177f0ca78
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ func (c *initializeContext) deployContracts(method string) error {
|
|||
c.getContractDeployData(ctrName, keysParam))
|
||||
signer := transaction.Signer{
|
||||
Account: c.CommitteeAcc.Contract.ScriptHash(),
|
||||
Scopes: transaction.CalledByEntry,
|
||||
Scopes: transaction.Global,
|
||||
}
|
||||
|
||||
res, err := c.Client.InvokeFunction(invokeHash, method, params, []transaction.Signer{signer})
|
||||
|
|
Loading…
Reference in a new issue