fix(ledger): pass witness datums to script purpose
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: cryptodj413 <[email protected]>
Signed-off-by: cryptodj413 <[email protected]>
Signed-off-by: Aurora Gaffney <[email protected]>
Signed-off-by: Aurora Gaffney <[email protected]>
Signed-off-by: Aurora Gaffney <[email protected]>
Signed-off-by: Aurora Gaffney <[email protected]>
Signed-off-by: Aurora Gaffney <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
This changes MultiAssetTypeOutput from uint64 to *big.Int to properly handle large token amounts that exceed uint64 range. Changes include: - MultiAssetTypeOutput type alias changed from uint64 to *big.Int - MultiAssetTypeMint for minted amounts also uses *big.Int - Added helper functions for generic amount handling (addAmounts, amountsEqual, amountIsZero, amountToString, amountToBigInt, parseAmount) - Updated JSON marshaling/unmarshaling to handle big.Int as strings - Updated all test files to use *big.Int for amount values - Removed unnecessary CBOR decode overrides Signed-off-by: Chris Gianelloni <[email protected]> Co-authored-by: christianschmitz <[email protected]>
This changes MultiAssetTypeOutput from uint64 to *big.Int to properly handle large token amounts that exceed uint64 range. Changes include: - MultiAssetTypeOutput type alias changed from uint64 to *big.Int - MultiAssetTypeMint for minted amounts also uses *big.Int - Added helper functions for generic amount handling (addAmounts, amountsEqual, amountIsZero, amountToString, amountToBigInt, parseAmount) - Updated JSON marshaling/unmarshaling to handle big.Int as strings - Updated all test files to use *big.Int for amount values - Removed unnecessary CBOR decode overrides Co-Authored-By: christianschmitz <[email protected]> Signed-off-by: Chris Gianelloni <[email protected]>