Skip to content

Can't make cUSD transfers from ledger on celocli #394

@jamescowling

Description

@jamescowling

Package

@celo/celocli

Have you ensured that all of these are up to date?

  • the package you are using

What version of the package are you on?

/versions/node/v22.3.0/lib └── @celo/celocli@5.2.1

What command or function is the bug in?

celocli transfer:dollars

Operating System

Linux

Describe the bug

This may actually be a contractkit issue not a cli issue but it doesn't seem to be possible to transfer cUSD out of a Ledger address on the cli (or celoterminal). I've validated that CELO transfers work fine.

$ celocli transfer:dollars --from 0x... --to 0x... --value ... --useLedger --ledgerAddresses=7
(node:31653) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Retrieving derivation Paths [
  0, 1, 2, 3,
  4, 5, 6
]
Running Checks:
   ✔  Account has at least ... cUSD
   ✔  Compliant Address
   ✔  Compliant Address
   ✔  Account can afford transfer in cUSD and gas paid in CELO
All checks passed
Upgrade your celo ledger app to at least 1.2.0 before cel2 transition
automatically converting to legacy transaction
Sending Transaction: transfer... failed: ledger-signer@signTransaction: Incorrect Data. Verify that the feeCurrency is a valid one

Received an error during command execution, if you believe this is a bug you can create an issue here:

https://github.com/celo-org/developer-tooling/issues/new?assignees=&labels=bug+report&projects=&template=BUG-FORM.yml

 Error: ledger-signer@signTransaction: Incorrect Data. Verify that the feeCurrency is a valid one
    at LedgerSigner.<anonymous> (/nvm/versions/node/v22.3.0/lib/node_modules/@celo/celocli/node_modules/@celo/wallet-ledger/lib/ledger-signer.js:90:31)
    at Generator.throw (<anonymous>)
    at rejected (.nvm/versions/node/v22.3.0/lib/node_modules/@celo/celocli/node_modules/@celo/wallet-ledger/lib/ledger-signer.js:29:65)
    Error: ledger-signer@signTransaction: Incorrect Data. Verify that the feeCurrency is a valid one

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions