[#828] adm: Fix policy contract deploy
All checks were successful
DCO action / DCO (pull_request) Successful in 3m47s
Vulncheck / Vulncheck (pull_request) Successful in 5m16s
Build / Build Components (1.21) (pull_request) Successful in 7m34s
Build / Build Components (1.20) (pull_request) Successful in 7m42s
Tests and linters / Tests (1.20) (pull_request) Successful in 9m6s
Tests and linters / Staticcheck (pull_request) Successful in 9m4s
Tests and linters / Lint (pull_request) Successful in 9m32s
Tests and linters / Tests (1.21) (pull_request) Successful in 9m50s
Tests and linters / Tests with -race (pull_request) Successful in 11m31s
All checks were successful
DCO action / DCO (pull_request) Successful in 3m47s
Vulncheck / Vulncheck (pull_request) Successful in 5m16s
Build / Build Components (1.21) (pull_request) Successful in 7m34s
Build / Build Components (1.20) (pull_request) Successful in 7m42s
Tests and linters / Tests (1.20) (pull_request) Successful in 9m6s
Tests and linters / Staticcheck (pull_request) Successful in 9m4s
Tests and linters / Lint (pull_request) Successful in 9m32s
Tests and linters / Tests (1.21) (pull_request) Successful in 9m50s
Tests and linters / Tests with -race (pull_request) Successful in 11m31s
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
parent
8d18fa159e
commit
38611d8824
1 changed files with 3 additions and 1 deletions
|
@ -575,8 +575,10 @@ func (c *initializeContext) getContractDeployData(ctrName string, keysParam []an
|
|||
c.Contracts[containerContract].Hash,
|
||||
keysParam,
|
||||
configParam)
|
||||
case proxyContract, policyContract:
|
||||
case proxyContract:
|
||||
items = nil
|
||||
case policyContract:
|
||||
items = []any{nil}
|
||||
default:
|
||||
panic(fmt.Sprintf("invalid contract name: %s", ctrName))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue