Closed catch-21 closed 3 years ago
I am also getting Command failed: transaction submit Error: Error while submitting tx: ShelleyTxValidationError ShelleyBasedEraAlonzo (ApplyTxError [UtxowFailure (WrappedShelleyEraFailure (UtxoFailure (FeeTooSmallUTxO (Coin 176501) (Coin 172057))))])
So the issue here is the build
command assumes 1 key witness per tx input, withdrawal, certificate, update proposal or required signer (and in this case we have one tx input). However the native script requires an additional signature so we actually need two key witnesses. Because of this the tx fee is underestimated. We have decided to include an additional optional argument --override-witnesses
that will override the internal witness estimation of the transaction build
command. In this case you need to set --witness-override 2
.
Internal/External Internal if an IOHK staff member.
Area Native Tokens Related to Native Tokens (Mary).
Summary The
transaction build
cmd's fee calculation seems to always underestimate how much is needed for a minting transaction (Mary).Steps to reproduce
transaction build
Expected behavior No error on submit.
build
cmd uses minimum amount of ada as fee.System info (please complete the following information):
Screenshots and attachments None
Additional context None