Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next #210

Merged
merged 23 commits into from
Sep 4, 2023
Merged

Next #210

merged 23 commits into from
Sep 4, 2023

Commits on Aug 18, 2023

  1. get rid of ValidityPredicateConfig trait and use the concrete Validit…

    …yPredicateConfig instead
    XuyangSong committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    54052c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    44a84fa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    813f816 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4d887a9 View commit details
    Browse the repository at this point in the history
  5. fix bench

    XuyangSong committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    eb3a0e2 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. Add Rustler as a dependency

    We setup the depedency for rustler, for future changes
    mariari committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    17b0be0 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. Specify the the specific topic branch for patch.crates-io

    Previously the topics specified a version, however it would be more
    correct to specify the same version that is found in the
    patch.crates-io, instead of just having them implicitly being the
    same.
    
    Ideally we can remove the patch.crates-io in time
    mariari committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    05e6cda View commit details
    Browse the repository at this point in the history
  2. Change Pasta Curve to use a more NIF friendly crate

    This changes the pasta types to have the proper Encode and Decode
    fucntion available
    mariari committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    0e65d03 View commit details
    Browse the repository at this point in the history
  3. Add Nif derivication encodings for types that can be derieved

    A couple of strategies were chosen to encode terms.
    
    Structs are often given for Taiga terms, these correspond to maps in
    BEAM languages.
    
    Further any struct that is just a struct over an Array got a tuple
    specification as they are just wrapper types
    
    This commit Tries to minimze the amount of manual derived terms,
    however they do appear in trying to derive some other terms. For these
    types, tuples ewre used to make easy implemenattions of serialize and
    desearlize
    mariari committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    e0b9cea View commit details
    Browse the repository at this point in the history
  4. Create proxy Types to Allow easier derivation

    Here we create a proxy that lets us derive the encoder and decoder
    traits.
    
    This proxy type is not meant to be used, and thus it's not exported,
    however it is useful for setting up the correct instance
    
    Hopefully this doesn't add too much noise to the affected areas in the
    codebase
    mariari committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    56fb46e View commit details
    Browse the repository at this point in the history
  5. Implement Encoder and Decoder for Transaction

    This required abusing the borsh encoding. Since Borsh works, we can
    just derive the data we don't care about (currently trsansparetn and
    the signature). Later work should be done to make these transparent to
    ourco de as well.
    mariari committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    5123828 View commit details
    Browse the repository at this point in the history
  6. Made the BEAM NIF integration locked behind a feature flag

    Instead of always building with NIF integration, we instead hide it
    behind a feature flag. This means that the dependency has no effect if
    it is note wanted
    mariari committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    85fa6ed View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. Bump the rust toolchain version

    After running cargo update, the following change was added
    
    updating clap_lex v0.5.0 -> v0.5.1
    
    This made it so that the project failed to build with the following
    error
    
    error: package `clap_builder v4.4.0` cannot be built because it
    requires rustc 1.70.0 or newer, while the currently active rustc
    version is 1.67.1
    Either upgrade to rustc 1.70.0 or newer, or use
    cargo update -p [email protected] --precise ver
    where `ver` is the latest version of `clap_builder` supporting rustc 1.67.1
    
    So I've bumped the version to the latest stable version
    mariari committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    00c86ca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    64a6fa8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5892ad0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fc9717a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cba8398 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. add serde as a mode of serialization, put both serde and borash behin…

    …d a feature flag
    bazzilic authored and mariari committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    3875554 View commit details
    Browse the repository at this point in the history
  2. fix tests

    bazzilic authored and mariari committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    6b8a181 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1029ab9 View commit details
    Browse the repository at this point in the history
  4. transaction test

    bazzilic authored and mariari committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    1451b4f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6f4b6be View commit details
    Browse the repository at this point in the history
  6. Merge branch vasily/serde

    mariari committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    1dc8911 View commit details
    Browse the repository at this point in the history