[#xx] adm: Drop notaryDisabled deploy parameter
All checks were successful
DCO action / DCO (pull_request) Successful in 4m25s
Vulncheck / Vulncheck (pull_request) Successful in 5m3s
Build / Build Components (1.21) (pull_request) Successful in 6m36s
Build / Build Components (1.20) (pull_request) Successful in 6m52s
Tests and linters / Staticcheck (pull_request) Successful in 7m19s
Tests and linters / Tests (1.21) (pull_request) Successful in 8m12s
Tests and linters / Lint (pull_request) Successful in 8m26s
Tests and linters / Tests (1.20) (pull_request) Successful in 8m29s
Tests and linters / Tests with -race (pull_request) Successful in 10m42s
All checks were successful
DCO action / DCO (pull_request) Successful in 4m25s
Vulncheck / Vulncheck (pull_request) Successful in 5m3s
Build / Build Components (1.21) (pull_request) Successful in 6m36s
Build / Build Components (1.20) (pull_request) Successful in 6m52s
Tests and linters / Staticcheck (pull_request) Successful in 7m19s
Tests and linters / Tests (1.21) (pull_request) Successful in 8m12s
Tests and linters / Lint (pull_request) Successful in 8m26s
Tests and linters / Tests (1.20) (pull_request) Successful in 8m29s
Tests and linters / Tests with -race (pull_request) Successful in 10m42s
Refs TrueCloudLab/frostfs-contract#50 Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
74c91eeef5
commit
87a98af763
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…
Add table
Reference in a new issue