morph: Use Global scope for proxy contract #999
1 changed files with 5 additions and 1 deletions
|
@ -569,7 +569,11 @@ func (c *Client) notaryCosigners(invokedByAlpha bool, ir []*keys.PublicKey, comm
|
||||||
s[0] = actor.SignerAccount{
|
s[0] = actor.SignerAccount{
|
||||||
Signer: transaction.Signer{
|
Signer: transaction.Signer{
|
||||||
Account: c.notary.proxy,
|
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),
|
Account: notary.FakeContractAccount(c.notary.proxy),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue