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
In the refactoring of TxBodyContent types like TxMintValue wrap AnyWitness. This is semantically wrong as only script witnesses can mint multiassets. After the initial refactoring is merged we must correct the type definitions to only accept script witnesses.
Note this currently does not cause problems because key witnesses are filtered out eventually.
Fixed by #1093 which changes TxMintValue to use AnyScriptWitness instead of AnyWitness. All other AnyWitness usages in TxBodyContent (tx inputs, withdrawals, certificates, voting, proposals) are semantically correct since those fields legitimately support both key and script witnesses.
Activity
Jimbo4350 commentedon Mar 9, 2026
Fixed by #1093 which changes
TxMintValueto useAnyScriptWitnessinstead ofAnyWitness. All otherAnyWitnessusages inTxBodyContent(tx inputs, withdrawals, certificates, voting, proposals) are semantically correct since those fields legitimately support both key and script witnesses.