vacuumlabs/ledgerjs-cardano-shelley

"invalid pool reward account type for legacy Ledger version" when re-registering existing pool with HW cli v1.6.0

Closed this issue · 1 comments

I have an existing pool, to which I wanted to add my new Ledger Nano X wallet as an owner. When attempting to witness the transaction with cardano-hw-cli version 1.6.0, I got the error below.

cardano-hw-cli transaction witness --tx-body-file reregistertx.raw --hw-signing-file hw-stake.hwsfile --mainnet --out-file hw-stake.witness
Error: : invalid pool reward account type for legacy Ledger version

assert(key.type === PoolKeyType.THIRD_PARTY, 'invalid pool key type for legacy Ledger version')

When I saw that this was just released a couple days ago, I downgraded go cardano-hw-cli v1.5.0 and was able to sign and submit the transaction without error.

What is that assert validating exactly? This is the stake address I added to my pool (SPKL) if that helps identify if the error is legitimate.
https://adapools.org/stake/stake1u84j3fxsrjucg3vvlv2zzglym0ar4hc6su4s6rw2ralul6clp0dpq
If it is, I would like to know what it is. It looks like it will prevent me from making changes to my pool with newer versions of the cli.

This is a duplicate of vacuumlabs/cardano-hw-cli#83