refactor: remove old code#12
Open
rjlacanlaled wants to merge 58 commits into
Open
Conversation
* chore: remove existing classes to start with a clean slate * feat: add primitive types record * feat: initial implementation of (de)serializer engine * feat: add Primitive record types * chore: move `.sln` file to root * feat: add other types from the CDDL * feat: initial CborSerializer engine implementation * feat: create parameterized unit test * chore: improve code and type quality * feat: add util method for getting CborTag * feat: cbor serializer now supports Union and Constructor types * chore: add new datum records * chore: add indefinite field for `CborSerializableAttribute` * feat: add util methods for getting `Value` and getting `CborType` * feat: add test for `Treasury`, `PosixTime` and `MultisigScript` * feat: adjusted the CborSerializer engine to support other types * refactor: move `SerializeRecordAsMap` method * chore: add todo for serializing maps * feat: implement definite and indefinite map types * chore: remove todo comment from `SerializeMap` * feat: implement indefinite and definite types to `SerializeRecordAsMap` * fix: remove hardcoded cborType list from `DeserializeCbor` * feat: add partial support for custom maps and list * chore: comment off transaction output test
* namespace restructure, CborEncodedValue implementation and DatumOption * Datum Option Test * chore: rename CborSerializableAttribute to use IsDefinite instead of IsIndefinite * feat: implement `TransactionOutput` and add support both definite and indefinite lists --------- Co-authored-by: windss <tamayowendell05@gmail.com>
… step and bump version to 0.1.3 (#11)
* fix: MPF Fork uses Neighbor type instead of bytes * chore: bump version to `0.1.5`
* Levvy datum types, plutus types and test cases * Levvy token redeemer * Update tokendatum test case * added missing attributes * moved output reference to plutus --------- Co-authored-by: rjlacanlaled <rjlacanlaled@gmail.com>
* refactor: initial definition for block type * fix: added a condition to handle types that have properties with type union in CborSerializer * feat: added functions that support Text and RationalNumber types in CborSerializer * refactor: added serialization test for transaction metadatum * feat: added cbor type nullable * feat: defined subtypes of transaction body types * feat: added folders to have an organized folder structure * feat: added plutus types * chore: clean up * chore: change types * chore: modified basic definition types to match cddl * fix: transaction metadatum stackoverflow, complete overhaul for CborType.Map (de)serialization * fix: modified type definitions with CborMap * fix: reverted back types with option<> * implement concept of dynamic data constructors * feat: added initial maybe indefinite list type * add serialization support for MaybeIndefList * fix: removed ebb definition * temporarily disable tests --------- Co-authored-by: Katteu <katheamari@gmail.com> Co-authored-by: KeeeeEf <kfrgallego@gmail.com>
* fix: modified block definition * fix: modified block definition * introduce the concept of infinite constructors (102) --------- Co-authored-by: Clark Alesna <clark_alesna@hotmail.com>
… era number tagging (#27) * feat: added MultiEraBlock definition for block (de)serialization with era number tagging * refactor: changed 'BlockData' label of Block type to 'Block'
* feat: added MultiEraBlock definition for block (de)serialization with era number tagging * chore: bump version to 0.2.2
…or types (#29) * refactor: modified transaction inputs and multi asset definition * refactor: added union types to CborList * bounded bytes support * Transaction Body Change all List to MaybeIndefList * removed useless null check * fix: corrected logic in CborNullable serialization and deserialization functions * refactor: modified type definitions for TransactionWitnessSet * fix: modified deserialize function of type CborBytes and modified PlutusData type definition * fix: modified incomplete Relay type definition * fix: modified protocol param update, costmdl, and nonce type definitions * fix: adjusted MetadatumInt definition to include either CborLong or CborUlong values --------- Co-authored-by: Clark Alesna <clark_alesna@hotmail.com>
* chore: add util for tag validations * fix: add cbor tag validation during constructor deserialization * feat: add jpeg store types * feat: add grouped tests
…alization logic (#39)
* refactor: modified Chrysalis structure, (de)serialization engine, and type definitions * refactor: namespace changes and file structure * feat: added transaction cardano core data type with cborbool * chore: added test for transaction type * chore: running tests / cleanup * chore: spacing cleanup --------- Co-authored-by: Katteu <katheamari@gmail.com>
* refactor: modified Chrysalis structure, (de)serialization engine, and type definitions * refactor: namespace changes and file structure * feat: added transaction cardano core data type with cborbool * chore: added test for transaction type * feat: initial utils for types * chore: running tests / cleanup * chore: cleanup --------- Co-authored-by: Katteu <katheamari@gmail.com>
…rrect parameter mapping in parallel execution (#45)
* refactor: improved and modified Chrysalis extensions * refactor: modified Chrysalis extensions * refactor: modified metadata extension function * refactor: modified return types on Chrysalis extensions to use Value
* docs: Improve README documentation * docs: README badges * docs: editing README badges * Chrysalis Cbor types illustration * README Features * docs: README spelling fix * docs: README badges and centering * docs: README emojis and badge arrangement * README badge adjustments * docs: README badge adjustment * docs: README badge corrections * docs: README correct nuget doc * docs: README badge reference corrections * docs updated illutration * docs: remove license info --------- Co-authored-by: Caitlin Lindsay <caitlinlindsay@Caitlins-MacBook-Air.local>
* refactor: added subjectTuple and modified ToBech32 extension functions * refactor: add tokenBundleByPolicyId extension
* initial restructuring implementation * remove constructor and default value * add nested constr test * partial implementation of cbor converters * implement primitive types and some tests * redesign converters and add test crashr datum deserialization * cleanup * finalize folder structure * Add base test cases * feat: custom collection converters (#58) * implement custom map * implement custom map * refactor: add NullableConverter and CborNullable type with associated test data (#57) * feat: support cbor tag (#60) * support tagging in all converters * support tagging in all converters * feat: block transaction types (#62) * support tagging in all converters * support tagging in all converters * add transaction types * feat: add new CBOR definition types and structures for Cardano Transaction WitnessSet (#61) * feat: add new CBOR definition types and structures for Cardano Transaction WitnessSet * refactor: Remove CborDefiniteList and CborIndefiniteList types from the collections namespace * fix: cbor def list type (#63) * feat: implement all block types (#64) * fix: block deserialization issues * refactor: code cleanup * feat: add caching and parallel processing of union types to optimize deserialization speed * feat: support blocks starting from shelley * feat: transaction body and asset extensions (#66) * implement transaction body extensions and hash utils * implement transaction body extensions * implement asset extensions * feat: add extensions for auxiliary data, transactions, and block CBOR types in Cardano (#67) * feat: add extensions for auxiliary data, transactions, and blocks in Cardano * refactor: rename utility classes for clarity in Cardano extensions * fix: union early return on match and some code cleanup * fix: mark block as abstract type * use cbormap for transaction metadata * refactore: migrated custom types (i.e. common, datums, redeemers) for Cardano (#68) * chore: version bump and upgrade ci/cd to dotnet 9 * remove merged code * feat: added CIP68 Plutus type and CborMap * refactor: update CIP68 to use generic CborMap for metadata --------- Co-authored-by: Katteu <katheamari@gmail.com>
…#73) * fix issue with key resolution * improve parallel deserialization of union types handling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.