When you fill UTxO with both datum and datumHash field and datum is inline, the transaction will fail (Blockfrost error attached).
There is no problem validating it inside lucid, but the final transaction expects a supplemental datum.
If you remove the datum filed from UTxO, everything works as expected.
What about expanding the UTxO type with information about DatumType to fulfill valid transactions?
When you fill UTxO with both datum and datumHash field and datum is inline, the transaction will fail (Blockfrost error attached). There is no problem validating it inside lucid, but the final transaction expects a supplemental datum. If you remove the datum filed from UTxO, everything works as expected.
What about expanding the UTxO type with information about DatumType to fulfill valid transactions?