feat(ledger): Add Byron transaction output support to NewTransactionOutputFromCbor (#993)
Signed-off-by: Akhil Repala <[email protected]>
Signed-off-by: Akhil Repala <[email protected]>
Signed-off-by: Akhil Repala <[email protected]>
Signed-off-by: Akhil Repala <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
Signed-off-by: Chris Gianelloni <[email protected]>
This is the actual data type returned by the API and to make the example roundtrip, big integers (> int64) must be supported.
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: Aurora Gaffney <[email protected]>
Signed-off-by: Aurora Gaffney <[email protected]>
Signed-off-by: Aurora Gaffney <[email protected]>
* make Allegra/Mary pparams type aliases of Shelley types * remove embedded types from Alonzo pparams * remove use of reflection for decoding pparams CBOR * remove now unused UnmarshalCbor function from DecodeStoreCbor Fixes #982 Signed-off-by: Aurora Gaffney <[email protected]>
Signed-off-by: Aurora Gaffney <[email protected]>
* make Allegra/Mary pparams type aliases of Shelley types * remove embedded types from Alonzo pparams * remove use of reflection for decoding pparams CBOR * remove now unused UnmarshalCbor function from DecodeStoreCbor Fixes #982 Signed-off-by: Aurora Gaffney <[email protected]>
Fixes #982 Signed-off-by: Aurora Gaffney <[email protected]>
Signed-off-by: Jenita <[email protected]>
This removes multiple uses of reflection during decoding by creating a static type of the same shape in UnmarshalCBOR. This works because the UnmarshalCBOR function from the original type does not follow to the new type, so generic decoding behavior is used instead. This was only possible after removing embedding in any of the types that we want to capture the original CBOR on. The promoted UnmarshalCBOR function from the embedded type(s) were being called otherwise, which did not produce the desired result. Signed-off-by: Aurora Gaffney <[email protected]>
This removes multiple uses of reflection during decoding by creating a static type of the same shape in UnmarshalCBOR. This works because the UnmarshalCBOR function from the original type does not follow to the new type, so generic decoding behavior is used instead. This was only possible after removing embedding in any of the types that we want to capture the original CBOR on. The promoted UnmarshalCBOR function from the embedded type(s) were being called otherwise, which did not produce the desired result. Signed-off-by: Aurora Gaffney <[email protected]>
This removes multiple uses of reflection during decoding by creating a static type of the same shape in UnmarshalCBOR. This works because the UnmarshalCBOR function from the original type does not follow to the new type, so generic decoding behavior is used instead. This was only possible after removing embedding in any of the types that we want to capture the original CBOR on. The promoted UnmarshalCBOR function from the embedded type(s) were being called otherwise, which did not produce the desired result. Signed-off-by: Aurora Gaffney <[email protected]>
Signed-off-by: Aurora Gaffney <[email protected]>