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

Shielded Inflation rewards #1025

Closed
wants to merge 52 commits into from
Closed

Shielded Inflation rewards #1025

wants to merge 52 commits into from

Commits on Feb 22, 2023

  1. Configuration menu
    Copy the full SHA
    4ac196d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e8b201 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    94449a0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    92609ca View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    33ce31f View commit details
    Browse the repository at this point in the history
  6. tests for inflation

    brentstone committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    efffafd View commit details
    Browse the repository at this point in the history
  7. Cargo lock and tomls

    brentstone committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    11fffae View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    074027b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b030fd8 View commit details
    Browse the repository at this point in the history
  10. fix e2e test ibc

    brentstone committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    a41952f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a13f673 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    6b0dc7f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    6fb79a9 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    5b818a2 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    59421c2 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    27c44f4 View commit details
    Browse the repository at this point in the history
  17. [ci] wasm checksums update

    github-actions[bot] authored and brentstone committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    0b2af59 View commit details
    Browse the repository at this point in the history
  18. changelog: add #714

    brentstone committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    e427584 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2023

  1. Configuration menu
    Copy the full SHA
    4073702 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dcca4dc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c744f89 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0bcfed9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    04f3392 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fc7fb50 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bcd135f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    869dbbe View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3056d55 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2023

  1. Configuration menu
    Copy the full SHA
    655e689 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    32b21e7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e9c53ab View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    45f546a View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2023

  1. Configuration menu
    Copy the full SHA
    5471a00 View commit details
    Browse the repository at this point in the history
  2. Add Token Parameters module, and keys like inflation and lock ratio

    The token parameter module serves as a module that hosts channging
    parameters for each asset
    mariari committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    2c3c4d4 View commit details
    Browse the repository at this point in the history
  3. Reaplace by hand reward depositing, with a call to mint

    This abstracts out the manual logic of reading and writing from
    storage to be safe with the total_tokens logic, and any future changes
    that handle book keeping on minting extra tokens
    mariari committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    b0f315b View commit details
    Browse the repository at this point in the history
  4. Update the update_allowed_conversions to use the pd controller

    The work is split into the calculate_masp_rewards. This is fine for
    now, however in the long term this needs restructring, as this is
    nowhere near apply_inflation in
    src/lib/node/ledger/shell/finalize_block.
    
    Further two expects are had for most values read from storage to
    better isolate errors if they failed to be read rather than just
    returning a None making error tracing hard
    
    Finally the last check added is a 0 check so that divison does not
    fail if the masp address has no funds in it (for testing puproses it
    may not)
    mariari committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    2d42286 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8ac033d View commit details
    Browse the repository at this point in the history
  6. Add default values for each token parameter

    This updates the gensis config along with propagating the values to
    gensis itself. last_inflation and last_locked_ratio are not included
    in the config as they generated at every epoch being initalized at 0.
    mariari committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    7fd7f3c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    db46ab5 View commit details
    Browse the repository at this point in the history
  8. Convert test storage to use the WlStorage and added token initalizer

    This adds the token intializer for the parameters needed for each
    token, along with refactoring the storage such that this can can be
    had
    mariari committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    8adf4ed View commit details
    Browse the repository at this point in the history
  9. Fix dev.toml having inconsistent token values and inconsistent dot

    This addresses #1048 that creates two different dot toekns, along with
    fixing dev's parameters to be consistent with dev's toml file and not
    the e2e toml file
    mariari committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    77c3e42 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7739fe4 View commit details
    Browse the repository at this point in the history
  11. Update e2e tests

    mariari committed Jun 5, 2023
    Configuration menu
    Copy the full SHA
    878e88e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3db724a View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    efef60c View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    95357f3 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    38bb6bb View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2023

  1. Merge tag 'v0.16.0' into mariari/inflation-rewards

    Namada 0.16.0
    mariari committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    b0718fe View commit details
    Browse the repository at this point in the history
  2. Fixup clippy issues

    mariari committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    67d9ce5 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2023

  1. Merge tag 'v0.17.5' into mariari/inflation-rewards

    Namada 0.17.5
    mariari committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    5fc78f6 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2023

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

Commits on Jul 6, 2023

  1. fixup! Continue debugging

    - _Changes_
      + We offset the denominations of the tokens by their denomination
        relative to the nam token thus a 10^18 token gets offset to 10^6,
        which is the base systems denomination
    mariari committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    7b3442b View commit details
    Browse the repository at this point in the history
  2. multiply and divide stuff

    juped committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    789603c View commit details
    Browse the repository at this point in the history