forked from TrueCloudLab/frostfs-node
[#xx] adm: Drop notaryDisabled deploy parameter
Refs TrueCloudLab/frostfs-contract#50 Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
66848d3288
commit
3ed3e2715b
1 changed files with 7 additions and 9 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue