forked from TrueCloudLab/frostfs-node
[#836] neofs-adm: Do not define contract owner
Contract owners are removed in neofs-contract v0.11.0. Now side chain committee has rights to update contracts. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
ce8a906bb5
commit
4c30757439
1 changed files with 2 additions and 4 deletions
|
@ -289,9 +289,8 @@ func getContractDeployParameters(rawNef, rawManif []byte, deployData []smartcont
|
|||
}
|
||||
|
||||
func (c *initializeContext) getContractDeployData(ctrName string, keysParam []smartcontract.Parameter) []smartcontract.Parameter {
|
||||
items := make([]smartcontract.Parameter, 2, 7)
|
||||
items := make([]smartcontract.Parameter, 1, 6)
|
||||
items[0] = newContractParameter(smartcontract.BoolType, false) // notaryDisabled is false
|
||||
items[1] = newContractParameter(smartcontract.Hash160Type, c.CommitteeAcc.Contract.ScriptHash()) // owner is committee
|
||||
|
||||
switch ctrName {
|
||||
case neofsContract:
|
||||
|
@ -356,7 +355,6 @@ func (c *initializeContext) getContractDeployData(ctrName string, keysParam []sm
|
|||
func (c *initializeContext) getAlphabetDeployParameters(i, n int) []smartcontract.Parameter {
|
||||
return []smartcontract.Parameter{
|
||||
newContractParameter(smartcontract.BoolType, false),
|
||||
newContractParameter(smartcontract.Hash160Type, c.CommitteeAcc.Contract.ScriptHash()),
|
||||
newContractParameter(smartcontract.Hash160Type, c.Contracts[netmapContract].Hash),
|
||||
newContractParameter(smartcontract.Hash160Type, c.Contracts[proxyContract].Hash),
|
||||
newContractParameter(smartcontract.StringType, innerring.GlagoliticLetter(i).String()),
|
||||
|
|
Loading…
Reference in a new issue