You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature you'd like
It would be helpful if the transaction build command on the CLI rejected using collateral inputs which are not key locked. The ledger rejects them.
In order to do this, we will need to lookup the collateral inputs in the UTxO, and inspect the addresses. If the cardano-api doesn't already have a function for determining if an address is key-locked, we can use this one:
Internal/External
Internal
Area
Alonzo
Describe the feature you'd like
It would be helpful if the
transaction build
command on the CLI rejected using collateral inputs which are not key locked. The ledger rejects them.In order to do this, we will need to lookup the collateral inputs in the UTxO, and inspect the addresses. If the cardano-api doesn't already have a function for determining if an address is key-locked, we can use this one:
https://github.com/input-output-hk/cardano-ledger-specs/blob/91e1c199c31ad3d93e4ac4715b3e7bb8526e97cd/alonzo/impl/src/Cardano/Ledger/Alonzo/Rules/Utxo.hs#L224-L227
The text was updated successfully, but these errors were encountered: