Open michele-nuzzi opened 1 year ago
Hey @michele-nuzzi!
I am exploring the Nami dead issues and trying to resolve at least some of them. While I assume that this is no longer an issue for you, I wanted to clarify what was happening here for you, and others who may have similar questions.
This behavior is the expected behavior, as specified in CIP-30.
I cannot be 100% sure what happened in this case, because I do not have all the information about the inputs being consumed in this transaction and what keys you were attempting to sign with. However, according to CIP-30, the wallet is expected to throw a TxSignError
if partialSign
is not true
and the wallet cannot provide a signature for all required keys.
While I don't know the specifics of what key was signing, looking at the transaction I can see that there was a required signer. I am assuming that was different from the signer needed to consume the inputs. Therefore, the TxSignError
should've been thrown, according to the specification.
The "Inputs" word in the error message is a bit complicated, since it is not referring to transaction inputs, but instead the arguments passed to the function call. That error message also comes from CIP-30, which could be improved but this is not the place.
Hopefully, that clears up confusion!
below the cbor of the transaction
The error message thrown by nami.signTx is:
pasting the above transaction in cbor.me is clear that the inputs (entry 0 of the transaction body) are valid (according to the cardano-ledger cddl: