멀티시그계정 업데이트한 후 토큰컨트랙트 배포시 Not Supported 발생하는데 어떻게 배포해야할까요?
배포코드는 아래와 같습니다.
caver.initKASAPI(chainId, apiKey, apiSecret);
List deployArgument = Arrays.asList("Token Name", "TKR", 10, new BigInteger("100000000000000000000"));
ContractDeployParams contractDeployParams = new ContractDeployParams(TOKEN_CONTRACT_BYTECODE, deployArgument);
SendOptions sendOptions = new SendOptions(deployerAddress, BigInteger.valueOf(40000000));
KIP7 kip7 = new KIP7(caver);
kip7.setWallet(caver.getWallet());
kip7.deploy(contractDeployParams, sendOptions);
에러코드는 아래와 같습니다.
Not supported: Using multiple keys in an account is currently not supported.
java.lang.IllegalArgumentException: Not supported: Using multiple keys in an account is currently not supported.
at xyz.groundx.caver_ext_kas.wallet.KASWallet.sign(KASWallet.java:239)
at com.klaytn.caver.contract.ContractMethod.sign(ContractMethod.java:368)
at com.klaytn.caver.contract.ContractMethod.send(ContractMethod.java:281)
at com.klaytn.caver.contract.Contract.deploy(Contract.java:214)
at com.klaytn.caver.contract.Contract.deploy(Contract.java:195)