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