In v1.1.0 the type for the mint field inside a transaction has changed into the opaque type MintValue. This value can not be created which restricts the ability to create fake Transaction types for unit tests.
Before, we use to be able to do something like this:
Another option would be to provide safe conversion functions from Value. A Value is already sanitized, to it is safe to convert from Value to MintedValue.
In v1.1.0 the type for the mint field inside a transaction has changed into the opaque type MintValue. This value can not be created which restricts the ability to create fake Transaction types for unit tests.
Before, we use to be able to do something like this:
But without the ability to create a MintValue type, we lose our ability to write unit tests that require a fake transaction type.
Potential solutions: