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

chore: osmoutils, twap, downtime-detector, ibc-hooks cherry-pick to v14 #3925

Merged
merged 30 commits into from
Jan 5, 2023

Commits on Jan 4, 2023

  1. Upgrade IBC to v4.2.0 (#3838)

    * initial changes to migrate to ibc v4
    
    * added checksum to proposal
    
    * begin and end block are now being called inside nextBlock
    
    * added changelog
    
    * linked pr on changelog
    
    * remove local replace
    
    * using error acks from osmoutils
    
    * osmoutils tagged
    
    * go sum
    
    * added checksum
    nicolaslara authored and czarcas7ic committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    ad0c311 View commit details
    Browse the repository at this point in the history
  2. feat(x/twap): modify cli to add geometric option (#3812)

    * feat(x/twap): geometric twap code gen query boilerplate
    
    * revert cli change
    
    * query gen
    
    * wire up API
    
    * test
    
    * fix
    
    * fixes
    
    * cli
    
    * lint
    
    * refactor via flag
    
    * refactor
    
    * refactor
    
    * fixes
    
    * lint
    
    * add arithmetic twap alias
    p0mvn authored and czarcas7ic committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    e8c3c6c View commit details
    Browse the repository at this point in the history
  3. Make wasm hooks importable (#3850)

    * moved ibc-hooks to its own go.mod
    
    * updated ibc hooks version
    
    * go sum
    
    * add ics23 patch into x/ibc-hooks
    
    * Fix wasm import version conflict
    
    * Update x/ibc-hooks to osmoutils v0.0.2
    
    * Update versions
    
    Co-authored-by: Dev Ojha <dojha@berkeley.edu>
    2 people authored and czarcas7ic committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    a2fc2c8 View commit details
    Browse the repository at this point in the history
  4. refactor(x/twap): handle spot price error case in the context of geom…

    …etric twap (#3845)
    
    * refactor(x/twap): handle spot price error case
    
    * supporting test cases
    
    * table-driven log tests
    p0mvn authored and czarcas7ic committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    129cbcb View commit details
    Browse the repository at this point in the history
  5. test(x/twap): add randomized geometric twap test on a balancer pool (#…

    …3844)
    
    * test(x/twap): add randomized test with a balancer pool
    
    * comments
    
    * multiplicative tolerance, fewer retries and larger initial supply range
    p0mvn authored and czarcas7ic committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    8196036 View commit details
    Browse the repository at this point in the history
  6. Basic geometric twap e2e test (#3835)

    * feat(x/twap): geometric twap code gen query boilerplate
    
    * revert cli change
    
    * query gen
    
    * wire up API
    
    * test
    
    * fix
    
    * fixes
    
    * add geometric queries
    
    * create pool.json
    
    * add test
    
    * resolve conflict
    
    * fix: swap uosmo in
    
    * fix problem with wallet creation
    
    * updates
    
    * simplify and add comments
    
    * Update tests/e2e/e2e_test.go
    
    * Update tests/e2e/e2e_test.go
    
    * Update tests/e2e/configurer/chain/queries.go
    
    Co-authored-by: Adam Tucker <adam@osmosis.team>
    
    * Update tests/e2e/configurer/chain/queries.go
    
    Co-authored-by: Adam Tucker <adam@osmosis.team>
    
    * Update tests/e2e/e2e_test.go
    
    Co-authored-by: Adam Tucker <adam@osmosis.team>
    
    * Update tests/e2e/e2e_test.go
    
    Co-authored-by: Adam Tucker <adam@osmosis.team>
    
    * Update tests/e2e/e2e_test.go
    
    Co-authored-by: Adam Tucker <adam@osmosis.team>
    
    * Update tests/e2e/e2e_test.go
    
    Co-authored-by: Adam Tucker <adam@osmosis.team>
    
    Co-authored-by: Roman <ackhtariev@gmail.com>
    Co-authored-by: Roman <roman@osmosis.team>
    Co-authored-by: Adam Tucker <adam@osmosis.team>
    4 people committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    c7c0222 View commit details
    Browse the repository at this point in the history
  7. feat(x/twap): whitelist GeometricTwap and GeometricTwapToNow (#3852)

    * feat(x/twap): GeometricTwap and GeometricTwapToNow queries added to Stargate whitelist
    
    * update docs
    p0mvn authored and czarcas7ic committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    1afb23e View commit details
    Browse the repository at this point in the history
  8. fix(scripts): proto gen for osmoutils (#3854)

    * fix(scripts): proto gen for osmoutils
    
    * Update scripts/protocgen.sh
    p0mvn authored and czarcas7ic committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    c12bfa3 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    168ccda View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    de76db0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    8f88f7d View commit details
    Browse the repository at this point in the history
  12. Making osmoutils compile on chains that don't use our SDK fork (#3899)

    * making osmoutils compile on chains that don't use osmosis' fork of the cosmos sdk
    
    * updated imports for e2e tests
    
    * go fumpt
    
    * updated version everywhere
    
    * added changelog entry
    nicolaslara authored and czarcas7ic committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    f4c7d47 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    19e4a9d View commit details
    Browse the repository at this point in the history
  14. Add types & boilerplate for the Downtime detector module (#3609)

    Sub-component of #3603
    
    Adds types for the thin module intended for downtime detection
    
    - Add downtime detection module types
    
    No tests added
    
      - Does this pull request introduce a new feature or user-facing behavior changes? somewhat
      - Is a relevant changelog entry added to the `Unreleased` section in `CHANGELOG.md`? yes
      - How is the feature or change documented? In its spec
    ValarDragon authored and czarcas7ic committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    952b2d7 View commit details
    Browse the repository at this point in the history
  15. Add downtime detector module (#3688)

    * WIP
    
    * Switch to enum
    
    * Remove params query
    
    * Add query
    
    * Add wiring, add import/export test
    
    * Start begin block test
    
    * Finish keeper tests
    
    * Add CLI
    
    * Wire downtime detector CLI + queries
    
    * more module wiring
    
    * add types test
    
    * Fix state alteration test
    
    * Fix superfluid test
    
    * Add stargate whitelist support
    
    * Apply code comment
    
    * Rename folder
    
    * Add requested godoc
    
    * Update x/downtime-detector/genesis.go
    
    Co-authored-by: Adam Tucker <adam@osmosis.team>
    
    * Apply adam suggestion for having a `-`
    
    * move genesis test to own file
    
    Co-authored-by: Adam Tucker <adam@osmosis.team>
    ValarDragon and czarcas7ic committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    7ec5e4e View commit details
    Browse the repository at this point in the history
  16. Initial by hand fixes

    czarcas7ic committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    ecde767 View commit details
    Browse the repository at this point in the history
  17. feat(osmomath): Exp2 function (#3708)

    * feat(osmomath): exp2 function
    
    * export exp2
    
    * changelog
    
    * refactor ErrTolerance to use Dec instead of Int for additive tolerance
    
    * Update osmomath/exp2.go
    
    * Update osmomath/exp2.go
    
    * Update osmomath/exp2.go
    
    * Update osmomath/exp2_test.go
    
    * Update osmomath/exp2_test.go
    
    * do bit shift instead of multiplication
    
    * godoc about error bounds
    
    * comment about bit shift equivalency
    
    * merge conflict
    
    * improve godoc
    
    * typo
    
    * remove TODOs - confirmed obsolete
    
    * Runge's phenomenon comment
    p0mvn authored and czarcas7ic committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    1500176 View commit details
    Browse the repository at this point in the history
  18. [x/TWAP] Expose a geometric TWAP API (#3529)

    * refactored twap api.go for geometric TWAP
    
    * added barebon docs
    
    * romans feedback
    
    * new
    
    * fix
    
    * nichola feedback
    
    * final roman comments
    stackman27 authored and czarcas7ic committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    048a2a5 View commit details
    Browse the repository at this point in the history
  19. fix twap by hand

    czarcas7ic committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    7ade440 View commit details
    Browse the repository at this point in the history
  20. change to gamm

    czarcas7ic committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    ea3af42 View commit details
    Browse the repository at this point in the history
  21. fix balancer test

    czarcas7ic committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    813a6e8 View commit details
    Browse the repository at this point in the history
  22. bump to v14 upgrade

    czarcas7ic committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    640dfb9 View commit details
    Browse the repository at this point in the history
  23. e2e fix

    czarcas7ic committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    f7ded6c View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2023

  1. Configuration menu
    Copy the full SHA
    da63fa8 View commit details
    Browse the repository at this point in the history
  2. update contracts test

    czarcas7ic committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    7d25928 View commit details
    Browse the repository at this point in the history
  3. osmomath: AddMut and QuoMut (#3779)

    * mut add
    
    * test add mut
    
    * quo  mut
    
    * test quo mut/ remove want from test struct
    
    * refactor exp
    
    * change mutatives code
    
    * change
    
    * not allocaing
    
    * exp change to quomut
    
    * remove file
    
    * refactor quo
    
    * refactor ad
    
    * refactor tests
    pysel authored and czarcas7ic committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    f864dcf View commit details
    Browse the repository at this point in the history
  4. Modify CHANGELOG

    mattverse committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    35ab94e View commit details
    Browse the repository at this point in the history
  5. Whitelist EstimateSwapExactAmountOut (#3693)

    * whitelist EstimateSwapExactAmountOut
    
    * doc: changelog
    byeongsu-hong authored and mattverse committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    09ccc37 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3a4aac2 View commit details
    Browse the repository at this point in the history
  7. Fix rust checks (#3576)

    * added cargo.lock
    
    * added Cargo.lock as an artifact
    
    * added new bytecode with lock file
    nicolaslara committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    d5dda29 View commit details
    Browse the repository at this point in the history