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

Make the the backing integer type for amounts 256 bit #1282

Closed
wants to merge 106 commits into from

Commits on Mar 29, 2023

  1. Drafting

    batconjurer committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    932156c View commit details
    Browse the repository at this point in the history
  2. Fixed errors in core

    batconjurer committed Mar 29, 2023
    Configuration menu
    Copy the full SHA
    3aa2856 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2023

  1. temp

    batconjurer committed Apr 1, 2023
    Configuration menu
    Copy the full SHA
    d2d3665 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. Configuration menu
    Copy the full SHA
    faedfed View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2023

  1. core/token: add fn zero

    tzemanovic committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    0082f2b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a468d49 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6bb685d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f17e75e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8a64466 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    de17218 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2023

  1. Configuration menu
    Copy the full SHA
    819f319 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2023

  1. Configuration menu
    Copy the full SHA
    92976fd View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. [feat]: Fixed unit tests

    batconjurer committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    b651787 View commit details
    Browse the repository at this point in the history
  2. [chore]: Formatting

    batconjurer committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    2356c5d View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2023

  1. Configuration menu
    Copy the full SHA
    b244e1b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b58d49b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8efcc32 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    70702a1 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2023

  1. Configuration menu
    Copy the full SHA
    86698a9 View commit details
    Browse the repository at this point in the history
  2. [fix]: Fixed wasm tests

    batconjurer committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    5d10c6c View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2023

  1. [chore] Merging in main

    batconjurer committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    bed746d View commit details
    Browse the repository at this point in the history
  2. [chore]: Merging in main

    batconjurer committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    8c977cc View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2023

  1. Configuration menu
    Copy the full SHA
    a8d9b72 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    33b2bf0 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2023

  1. Configuration menu
    Copy the full SHA
    9d20a96 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2023

  1. Configuration menu
    Copy the full SHA
    adaf3a1 View commit details
    Browse the repository at this point in the history
  2. [fix]: Refactored gen_sheilded_transfer to only denominate amounts at…

    … the masp crate boundary
    batconjurer committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    acc79d2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1e3e77d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e71cd44 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'bat/feature/uint256_amount' of github.com:anoma/namada …

    …into bat/feature/uint256_amount
    batconjurer committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    88b6ae1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8de6a44 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8920d0a View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2023

  1. [fix]: Added tests for Dec, fixed division bug, cleaned up from_str m…

    …ethod, added tests, removed some more Decimal types
    batconjurer committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    b0419f5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb93c85 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1968660 View commit details
    Browse the repository at this point in the history
  4. WIP fixing pos unit tests

    brentstone committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    7fbd9c6 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2023

  1. Configuration menu
    Copy the full SHA
    32b69e9 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2023

  1. Configuration menu
    Copy the full SHA
    95419c3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    62cc6ec View commit details
    Browse the repository at this point in the history

Commits on May 2, 2023

  1. Configuration menu
    Copy the full SHA
    c2c66cc View commit details
    Browse the repository at this point in the history

Commits on May 10, 2023

  1. Fix Key from always parsing

    Previously the key would always parse, even if the string is empty,
    this causes an issue where if we wanted an Optional Key, then it would
    always be parsed as Some, causing issues for various parts of the
    system.
    mariari committed May 10, 2023
    Configuration menu
    Copy the full SHA
    c97a9e9 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2023

  1. Fixing Masp Amounts to convert on the edges

    We move out the looping code from each part and move it to the edges
    of masp
    mariari committed May 15, 2023
    Configuration menu
    Copy the full SHA
    26413ec View commit details
    Browse the repository at this point in the history
  2. Remove all references to Masp::Amount out of RPC

    With this, the amounts code compiles with RPC not referencing the base
    namada amounts
    mariari committed May 15, 2023
    Configuration menu
    Copy the full SHA
    e218999 View commit details
    Browse the repository at this point in the history
  3. Gensis Parsing config issue solved

    We made sure that all parameters in the config file have a DENOM,
    there is NO DEFAULT!!!!
    
    Furhter we renamed Dot to DOT, please write configs correctly
    
    We also derived serialization for dec, meaning that all decimals that
    were unquoted now have to be quoted, making configuration a bit more
    annoying
    mariari committed May 15, 2023
    Configuration menu
    Copy the full SHA
    f6d0f62 View commit details
    Browse the repository at this point in the history
  4. Improve dec display method

    Instead of showing all trailing zeros, we truncate the trailing 0's
    from being displayed
    mariari committed May 15, 2023
    Configuration menu
    Copy the full SHA
    997ff52 View commit details
    Browse the repository at this point in the history
  5. Fix u64 going to Dec from overflowing

    We simply convert to Dec before doing any shifting math
    mariari committed May 15, 2023
    Configuration menu
    Copy the full SHA
    8f7270a View commit details
    Browse the repository at this point in the history
  6. Temporary remove check for chain id verification

    Further temporarly change the denomination to be ignored.
    mariari committed May 15, 2023
    Configuration menu
    Copy the full SHA
    85a82b4 View commit details
    Browse the repository at this point in the history
  7. Remove signed conversion errors

    Instead of using Amounts, we use Change instead. This prevents
    vp_token from overflowing
    mariari committed May 15, 2023
    Configuration menu
    Copy the full SHA
    bfb81af View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    79133e4 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b1f4063 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ecb135c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    c09dd7e View commit details
    Browse the repository at this point in the history
  12. WIP fix pos_bonds

    brentstone authored and mariari committed May 15, 2023
    Configuration menu
    Copy the full SHA
    34e5be7 View commit details
    Browse the repository at this point in the history
  13. refactor Dec to allow negative values

    brentstone authored and mariari committed May 15, 2023
    Configuration menu
    Copy the full SHA
    fcaa11a View commit details
    Browse the repository at this point in the history

Commits on May 21, 2023

  1. Configuration menu
    Copy the full SHA
    2584aa2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f855fd1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bcfcd32 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2023

  1. Configuration menu
    Copy the full SHA
    d9d2654 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb81893 View commit details
    Browse the repository at this point in the history
  3. compiles

    juped committed May 22, 2023
    Configuration menu
    Copy the full SHA
    d481cfa View commit details
    Browse the repository at this point in the history
  4. some test fixes

    juped committed May 22, 2023
    Configuration menu
    Copy the full SHA
    42de040 View commit details
    Browse the repository at this point in the history
  5. minor stuff again

    juped committed May 22, 2023
    Configuration menu
    Copy the full SHA
    5801ef5 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2023

  1. dubious e2e fixes

    juped committed May 23, 2023
    Configuration menu
    Copy the full SHA
    48a27dc View commit details
    Browse the repository at this point in the history

Commits on May 24, 2023

  1. Configuration menu
    Copy the full SHA
    aebb5f5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f09312e View commit details
    Browse the repository at this point in the history
  3. force 0 ibc denoms

    juped committed May 24, 2023
    Configuration menu
    Copy the full SHA
    55591d5 View commit details
    Browse the repository at this point in the history
  4. stupid test fix: add six zeroes

    juped committed May 24, 2023
    Configuration menu
    Copy the full SHA
    9be7ef8 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2023

  1. Configuration menu
    Copy the full SHA
    f558899 View commit details
    Browse the repository at this point in the history
  2. fix ledger e2e tests

    juped committed May 25, 2023
    Configuration menu
    Copy the full SHA
    43ce2af View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ae4eb81 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2023

  1. unsorted wips on e2e

    juped committed May 29, 2023
    Configuration menu
    Copy the full SHA
    41b6267 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2023

  1. WIP fixing masp amounts

    batconjurer committed May 30, 2023
    Configuration menu
    Copy the full SHA
    6e5782b View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

  1. Configuration menu
    Copy the full SHA
    5053330 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cdde306 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2023

  1. WIP

    batconjurer committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    16b17cc View commit details
    Browse the repository at this point in the history
  2. WIP fixing masp incentives

    batconjurer authored and juped committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    087341d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ffd72ec View commit details
    Browse the repository at this point in the history
  4. WIP

    batconjurer authored and juped committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    b4f616b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5dba8ab View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d2a07ed View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2023

  1. Configuration menu
    Copy the full SHA
    5d5772d View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. Configuration menu
    Copy the full SHA
    057b4d3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1899e65 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2023

  1. Configuration menu
    Copy the full SHA
    b380c20 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2023

  1. Configuration menu
    Copy the full SHA
    61e9bd6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    38e514c View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2023

  1. Merge remote-tracking branch 'origin/mariari/amount-WIP' into bat/fea…

    …ture/uint256_amount
    mariari authored and batconjurer committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    2cf1e76 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2023

  1. Configuration menu
    Copy the full SHA
    1b39e98 View commit details
    Browse the repository at this point in the history
  2. [chore]: merged in v17

    batconjurer committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    51c5423 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2023

  1. Configuration menu
    Copy the full SHA
    5eea244 View commit details
    Browse the repository at this point in the history
  2. [fix]: Cleanup imports

    batconjurer committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    cb5a547 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2023

  1. WIP merging in v0.17.2

    batconjurer committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    637e2f8 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2023

  1. Configuration menu
    Copy the full SHA
    85b36fd View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2023

  1. Configuration menu
    Copy the full SHA
    869798f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ec182e View commit details
    Browse the repository at this point in the history
  3. fix IBC prefixed balance

    yito88 committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    b1af386 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2023

  1. [chore]: Formatting

    batconjurer committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    5636c66 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'bat/feature/uint256_amount' of github.com:anoma/namada …

    …into bat/feature/uint256_amount
    batconjurer committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    6bc3dcb View commit details
    Browse the repository at this point in the history
  3. fix pos_state_machine_test

    brentstone committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    3d2e91c View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2023

  1. Configuration menu
    Copy the full SHA
    4531c26 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f4c9079 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    72d8e9d View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2023

  1. Improve consistentcy on pinned tx read

    For some reason Ι believe if we wait an epoch we get pinned
    transactions more reliably showing through
    mariari committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    2f398b7 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2023

  1. Configuration menu
    Copy the full SHA
    e998bce View commit details
    Browse the repository at this point in the history
  2. [feat]: Merge in main

    batconjurer committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    621b8d1 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2023

  1. Configuration menu
    Copy the full SHA
    ec845c2 View commit details
    Browse the repository at this point in the history