adm: Drop notaryDisabled deploy parameter #789

Merged
fyrchik merged 1 commit from fyrchik/frostfs-node:adm-frostfsid into master 2023-11-08 13:38:06 +00:00

View file

@ -505,8 +505,7 @@ func getContractDeployParameters(cs *contractState, deployData []any) []any {
}
func (c *initializeContext) getContractDeployData(ctrName string, keysParam []any, method string) []any {
items := make([]any, 1, 6)
items[0] = false // notaryDisabled is false
items := make([]any, 0, 6)
switch ctrName {
case frostfsContract:
@ -596,12 +595,11 @@ func (c *initializeContext) getNetConfigFromNetmapContract() ([]stackitem.Item,
}
func (c *initializeContext) getAlphabetDeployItems(i, n int) []any {
items := make([]any, 6)
items[0] = false
items[1] = c.Contracts[netmapContract].Hash
items[2] = c.Contracts[proxyContract].Hash
items[3] = innerring.GlagoliticLetter(i).String()
items[4] = int64(i)
items[5] = int64(n)
items := make([]any, 5)
items[0] = c.Contracts[netmapContract].Hash
items[1] = c.Contracts[proxyContract].Hash
items[2] = innerring.GlagoliticLetter(i).String()
items[3] = int64(i)
items[4] = int64(n)
return items
}