-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hello,
I got a contract with the following constructor :
class MyClass {
MyClass (Address[] whitelist) {
...
}
}I'm trying to figure out how to pass the array "whitelist" in the gradle.build deployJar task :
deployJar {
keystore = rootProject.hasProperty('keystoreName') ? "$keystoreName"
: 'Z:/Work/ICON/config/keystores/sejong/operator.icx'
password = rootProject.hasProperty('keystorePass') ? "$keystorePass"
: 'gochain'
endpoints {
sejong {
uri = 'https://sejong.net.solidwallet.io/api/v3'
nid = 83
}
local {
uri = 'http://localhost:9082/api/v3'
nid = 3
}
}
parameters {
arg('whitelist', ???) <- what to put here ?
}
}
Whatever the value I try, it fails.
I noticed the multisig wallet contract uses a split on a String.
Is there any way to achieve what I want using the native Address array type ?
Metadata
Metadata
Assignees
Labels
No labels