mesh icon indicating copy to clipboard operation
mesh copied to clipboard

voteDelegationCertificate, use CIP129, Malformed DRep

Open jinglescode opened this issue 1 year ago • 0 comments

Summary

error when input CIP129 DRep:

txBuildResult error: JsValue("Malformed DRep")

Steps to reproduce the bug

txBuilder
  .voteDelegationCertificate(
    {
      dRepId: 'drep1yv4uesaj92wk8ljlsh4p7jzndnzrflchaz5fzug3zxg4naqkpeas3',
    },
    rewardAddress,
  )
  .changeAddress(changeAddress);
  .selectUtxos(utxos, "keepRelevant", "10000000")

const unsignedTx = await txBuilder.complete();
const signedTx = await wallet.signTx(unsignedTx);
const txHash = await wallet.submitTx(signedTx);

Actual Result

txBuildResult error: JsValue("Malformed DRep")

Expected Result

Suport CIP129 DRep ID as input

SDK version

1.8.4

Environment type

  • [ ] Node.js
  • [ ] Browser
  • [ ] Browser Extension
  • [ ] Other

Environment details

No response

jinglescode avatar Dec 24 '24 17:12 jinglescode