fix(ledger): ensure big int errors don't overflow
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]>
Empirical distribution functions for delta-qsd modeling of transactions. Resolves #716
Signed-off-by: Aurora Gaffney <[email protected]>
Which is supersede by `BlockfrostSignerRetriever`
An alternative to the existing `string_or_struct` helper but that can be applied to optional fields.
Signed-off-by: Hyperledger Bot <[email protected]>
Signed-off-by: Hyperledger Bot <[email protected]>
Signed-off-by: Hyperledger Bot <[email protected]>
Signed-off-by: Hyperledger Bot <[email protected]>
Signed-off-by: Hyperledger Bot <[email protected]>
Signed-off-by: Hyperledger Bot <[email protected]>
Signed-off-by: Hyperledger Bot <[email protected]>
Signed-off-by: Hyperledger Bot <[email protected]>