Skip to content

refactor: remove old code#12

Open
rjlacanlaled wants to merge 58 commits into
0xAccretion:mainfrom
SAIB-Inc:refactor/remove-old-code
Open

refactor: remove old code#12
rjlacanlaled wants to merge 58 commits into
0xAccretion:mainfrom
SAIB-Inc:refactor/remove-old-code

Conversation

@rjlacanlaled

Copy link
Copy Markdown

No description provided.

WendellMorTamayo and others added 30 commits September 3, 2024 08:59
* 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
* chore: bump version to 0.1.0

* chore: Update dotnet test command in dotnet.yml workflow
* 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>
* 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>
WendellMorTamayo and others added 28 commits October 18, 2024 02:54
* chore: add util for tag validations

* fix: add cbor tag validation during constructor deserialization

* feat: add jpeg store types

* feat: add grouped tests
* 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
@Mercurial Mercurial deleted the refactor/remove-old-code branch December 14, 2024 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants