Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

voteDelegationCertificate, use CIP129, Malformed DRep #458

Open
4 tasks
jinglescode opened this issue Dec 24, 2024 · 0 comments
Open
4 tasks

voteDelegationCertificate, use CIP129, Malformed DRep #458

jinglescode opened this issue Dec 24, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jinglescode
Copy link
Member

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 jinglescode added the bug Something isn't working label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants