Seems like the TxMintValue
constructor was changed from
MaryEraOnwards era -> Value -> BuildTxWith ctx (Map PolicyId (ScriptWitness WitCtxMint era))
to
MaryEraOnwards era -> Map PolicyId [(AssetName, Quantity, BuildTxWith build (ScriptWitness WitCtxMint era))]
which is a bit confusing because it suggests each PolicyId can have multiple script witness when AFAIK they can't. I assume that in the case multiple scripts are used for a PolicyId only the first or last one is used...