morph: Use Global scope for proxy contract #999

Merged
fyrchik merged 1 commit from fyrchik/frostfs-node:fix-morph-proxy into master 2024-02-21 20:34:49 +00:00
Showing only changes of commit e18f0f5178 - Show all commits

View file

@ -569,7 +569,11 @@ func (c *Client) notaryCosigners(invokedByAlpha bool, ir []*keys.PublicKey, comm
s[0] = actor.SignerAccount{
Signer: transaction.Signer{
Account: c.notary.proxy,
Scopes: transaction.None,
// Do not change this:
// We must be able to call NNS contract indirectly from the Container contract.
// Thus, CalledByEntry is not sufficient.
// In future we may restrict this to all the usecases we have.
Scopes: transaction.Global,
},
Account: notary.FakeContractAccount(c.notary.proxy),
}