Skip to content

Latest commit

 

History

History
465 lines (314 loc) · 27 KB

CHANGELOG.md

File metadata and controls

465 lines (314 loc) · 27 KB

Changelog

[Unreleased]

v5.1.0 - 2023-07-07

Bug Fixes

  • 2125 Fix v5.1 upgrade handler.

v5.1.0-rc1 - 2023-06-30

Features

  • 2121 Allow MsgLeveragedLiquidate to auto-select repay and reward denoms if request fields left blank.
  • 2114 Add borrow factor to x/leverage
  • 2102 and 2106 Add MsgLeveragedLiquidate to x/leverage
  • 2085 Add inspect query to leverage module, which msut be enabled on a node by running with -l liquidator query flag.
  • 1952 Add x/incentive module.
  • 2015, 2050 Add x/ugov module.
  • 2078 Upgrade ibc-go to v6.2.

Improvements

  • 2057 Cosmwasm QA tests.

v5.0.0 - 2023-06-07

Improvements

  • 2076 Cosmwasm: registering cosmwasm_1_2 capability.
  • 2083 Update wasmvm to 1.2.4.

Fixes

  • 2089 MsgSupplyCollateral no longer fails when market is below MinCollateralLiquidity.

v5.0.0-rc1 - 2023-05-31

Features

  • 1888 Created /sdkclient and /client (umee client) packages to easy the E2E tests and external tools. Essentially, you can import that client and broadcast transactions easily.
  • 1993 Updated our Cosmos SDK fork to 0.46.12 and included an option to disable colored logs.
  • 2071 Update GB and enable Valset Burn mechanism.
  • 1547, 1997, 2058, 2063 Cosmwasm integration.

Improvements

  • 1989 Leverage: fix the duplicate symbol denoms issue on adding new tokens to registry.
  • 1989 Updated go version from 1.19 to 1.20
  • 2001 Refactoring CLI integration test suite.
  • 2009 Use DavidAnson/markdownlint action for Markdown linting.
  • 2010 New util/store generic functions to load all values from a store.
  • 2021 uibc/quota/keeper unit test refactor.
  • 2024 New upgrade registration methods.
  • 2037 Speedup e2e by removing docker cache.
  • 2038 Unify util tsdk and store packages.

Fixes

  • 1982 Fix the build version (umeed version).
  • 2052 Allow liquidation threshold == collateral weight in token validation.
  • 2072 Fix an int64 overflow when computing module liquidity for high-exponent assets.

v4.4.2 - 2023-06-08

  • 2090 Bump Cosmos SDK to v0.46.13 and CometBFT to v0.34.28 and IAVL to v0.19.6.

v4.4.1 - 2023-05-25

Improvements

  • 2064 Bump ibc-go to v6.1.1.

v4.4.0 - 2023-05-05

State Machine Breaking

  • 2022 Disable IBC ICS-20 inflow of only x/leverage registered tokens.

v4.3.0 - 2023-04-05

Features

  • 1963 ICA Host integration.
  • 1953 IBC: accept only inflow of leverage registered tokens
  • 1967 Gravity Bridge phase out phase-2: disable Umee -> Ethereum transfers.
  • 1967 Gravity Bridge phase out phase-2: disable Umee -> Ethereum transfers.

Improvements

  • 1959 Update IBC to v6.1
  • 1962 Increasing unit test coverage for x/leverage, x/oracle and x/uibc
  • 1913, 1974 uibc: quota status check.
  • 1973 UIBC: handle zero Quota Params.

Fixes

  • 1929 Leverage: MaxWithdraw now accounts for MinCollateralLiquidity
  • 1957 Leverage: Reserved amount per block now rounds up.
  • 1956 Leverage: token liquidation threshold must be bigger than collateral_weight.
  • 1954 Leverage: MaxBorrow now accounts for MinCollateralLiquidity and MaxSupplyUtilization
  • 1968 Leverage: fix type cast of AdjustedBorrow in ExportGenesis

v4.2.0 - 2023-03-15

Features

  • 1867 Allow /denom option on registered tokens query to get only a single token by base_denom.
  • 1568 IBC ICS20 transfer quota. New Cosmos SDK module and IBC ICS20 middleware to limit IBC token outflows.
  • 1764 New util.Panic helper function.
  • 1725 historacle: average prices.

Improvements

  • 1744 docs: testing guidelines.
  • 1771 CI: add experimental e2e tests on docker image.
  • 1788 deprecated use of sdkerrors.
  • 1835 CI: use experimental for default CI tests.
  • 1864 testing: mock gen integration.

Fixes

  • 1767 Oracle: Fix GetTickerPrice() and GetCandlePrice().

v4.1.0 - 2023-02-15

Features

  • 1808 Blacklisted tokens automatically cleared from token registry if they have not yet been supplied.

Fixes

  • 1707 Oracle: Enforce voting threshold param in oracle endblocker.
  • 1736 Blacklisted tokens no longer add themselves back to the oracle accept list.
  • 1807 Fixes BNB ibc denom in 4.1 migration
  • 1812 MaxCollateralShare now works during partial oracle outages when certain conditions are safe.
  • 1821 Allow safe leverage operations during partial oracle outages.
  • 1845 Fix validator power calculation during oracle ballot counting.
  • 1851 Oracle: ballot sorting.
  • 1852 Oracle: power vote calculation.

v4.0.1 - 2023-02-10

Fixes

  • 1800 Handle non-capitalized assets when calling the historacle data.

v4.0.0 - 2023-01-20

API Breaking

  • 1683 MaxWithdraw query now returns sdk.Coins, not sdk.Coin and will be empty (not zero coin) when returning a zero amount. Denom field in query is now optional.
  • 1694 MsgMaxWithdraw, MsgMaxBorrow and MsgRepay won't return errors if there is nothing to withdraw, borrow or repay respectively. Leverage ErrMaxWithdrawZero and ErrMaxBorrowZero has been removed.

Fixes

  • 1680 Add amino support for MsgMaxWithdraw.
  • 1694 leverage.MaxBorrow return zero instead of failing when there is no more to borrow.
  • 1710 Skip blacklisted tokens in MaxBorrow and MaxWithdraw queries.
  • 1717 Oracle: Add blockNum to median and median deviation queries.

Features

  • 1548 Historacle prices and medians keeper proof of concept.
  • 1580, 1632, 1657 Median tracking for historacle pricing.
  • 1630 Incentive module proto.
  • 1588 Historacle proto.
  • 1653 Incentive Msg Server interface implementation.
  • 1654 Leverage historacle integration.
  • 1685 Add medians param to Token registry.
  • 1683 Add MaxBorrow query and allow returning all denoms from MaxWithdraw.
  • 1690 Add MaxBorrow message type.
  • 1711 Add historic pricing information to leverage MarketSummary query.
  • 1723 Compute borrow limits using the lower of either spot or historic price for each collateral token, and the higher of said prices for borrowed tokens. Remove extra spot/historic only fields in account summary.
  • 1694 Add new sdkutil package to enhance common Cosmos SDK functionality. Here, the ZeroCoin helper function.

v3.3.0 - 2022-12-20

Features

  • 1642 Added QueryMaxWithdraw and MsgMaxWithdraw.
  • 1633 MarketSummary query now displays symbol price instead of base price for readability.

Improvements

  • 1659 Update to Cosmos SDK 0.46.7 and related dependencies (#1659)

Fixes

  • 1640 Migrate legacy x/leverage gov handler proposals to the new MsgGovUpdateRegistry messages.
  • 1650 Fixes bug with reserves in ExportGenesis.
  • 1642 Added missing CLI for QueryBadDebts.
  • 1633 Increases price calculation precision for high exponent. assets.
  • 1645 Fix: docker build & release.
  • 1650 export genesis tracks reserves.

v3.2.0 - 2022-11-25

Since umeed v3.2 there is a new runtime dependency: libwasmvm.x86_64.so v1.1.1 is required. Building from source will automatically link the libwasmvm.x86_64.so created as a part of the build process (you must build on same host as you run the binary, or copy the libwasmvm.x86_64.so your lib directory).

Features

  • 1555 Updates IBC to v5.1.0 that adds adds optional memo field to FungibleTokenPacketData and MsgTransfer.
  • 1577 Removes LIQUIDATOR build flag and adds --enable-liquidator-query or -l runtime flag to umeed start. See README.md file for more details.

State Machine Breaking

  • 1555 Enable GB Slashing.

API Breaking

  • 1578 Reorganize key constructors in x/leverage/types and x/oracle/types.

v3.1.0 - 2022-10-22

Features

State Machine Breaking

  • 1474 Enabled all Gravity Bridge claims.
  • 1479 Add MsgSupplyCollateral.

Fixes

  • 1471 Fix slash window progress query.
  • 1501 Cosmos SDK patch release.

v3.0.3 - 2022-10-21

Fixes

  • 1511 Cosmos SDK patch release for Umee v3.0.3.

[v3.0.2] - 2022-09-29

Fixes

  • 1460 Bump Gravity Bridge.

[v3.0.1] - 2022-09-28

Fixes

  • 1450 fix: token registry cache which caused v3.0.0 halt.

v3.0.0 - 2022-09-22

State Machine Breaking

  • 1326 Setting protocol controlled min gas price.
  • 1401 Increased free gas oracle tx limit from 100k to 140k.
  • 1411 Set min gas price to zero for v3 release

API Breaking

  • 1029 Removed MsgSetCollateral(addr,denom,bool), and replaced with MsgAddCollateral(addr,coin) and MsgRemoveCollateral(addr,coin)
  • 1023 Restrict MsgWithdraw to only uToken input (no base token auto-convert)
  • 1106 Rename Lend to Supply, including MsgLendAsset, Token EnableLend, docs, and internal functions. Also QueryLoaned similar queries to QuerySupplied.
  • 1113 Rename Amount field to Asset when sdk.Coin type in Msg proto.
  • 1122 Rename MsgWithdrawAsset, MsgBorrowAsset, MsgRepayAsset, MsgAddCollateral, and MsgRemoveCollateral to MsgWithdraw, MsgBorrow, MsgRepay, MsgCollateralize, MsgDecollateralize.
  • 1123 Shorten all leverage and oracle query structs by removing the Request suffix.
  • 1125 Refactor: remove proto getters in x/leverage and x/oracle proto types.
  • 1126 Update proto json tag from APY to apy.
  • 1118 MsgLiquidate now has reward denom instead of full coin
  • 1130 Update proto json tag to lower case.
  • 1140 Rename MarketSize query to TotalSuppliedValue, and TokenMarketSize to TotalSupplied.
  • 1188 Remove all individual queries which duplicate market_summary fields.
  • 1199 Move all queries which require address input (e.g. supplied, collateral_value, borrow_limit) into aggregate queries acccount_summary or account_balances.
  • 1236 Add more response fields to leverage messages.
  • 1222 Add leverage parameter DirectLiquidationFee.
  • 1333 Remove first (addr) argument on all CLI commands, using --from flag instead.

Features

  • 1147 Add SlashWindow oracle query.
  • 913 Add LendEnabled, BorrowEnabled, and Blacklist to Token struct.
  • 913 Changed update registry gov proposal to add and update tokens, but never delete them.
  • 918 Add MarketSummary query to CLI.
  • 1068 Add a cache layer for token registry.
  • 1096 Add max_collateral_share to the x/leverage token registry.
  • 1094 Added TotalCollateral query.
  • 1099 Added TotalBorrowed query.
  • 1157 Added PrintOrErr util function optimizing the CLI code flow.
  • 1118 MsgLiquidate rewards base assets instead of requiring an additional MsgWithdraw
  • 1159 Add max_supply_utilization and min_collateral_liquidity to the x/leverage token registry.
  • 1188 Add liquidity, maximum_borrow, maximum_collateral, minimum_liquidity, available_withdraw, available_collateralize, and utoken_supply fields to market summary.
  • 1203 Add Swagger docs.
  • 1212 Add util/checkers utility package providing common check / validation functions.
  • 1217 Integrated Cosmos SDK v0.46
    • Adding Cosmos SDK x/group module.
    • Increased Gov MaxMetadataLen from 255 to 800 characters.
  • 1220 Submit oracle prevotes / vote txs via the CLI.
  • 1222 Liquidation reward_denom can now be either token or uToken.
  • 1238 Added bad debts query.
  • 1323 Oracle cli - Add validator address override option.
  • 1329 Implement MaxCollateralShare.
  • 1330 Implemented MaxSupplyUtilization.
  • 1319 Implemented MaxSupply.
  • 1331 Implemented MinCollateralLiquidity.
  • 1343 RepayBadDebt and Liquidate automatically clear blacklisted collateral.
  • 1379 Add mininumCommissionRate update to all validators.
  • 1395 Require compile-time flag to enable liquidation_targets query.

Improvements

  • 935 Fix protobuf linting
  • 940(x/leverage) Renamed Keeper.DeriveBorrowUtilization to SupplyUtilization (see #926)
  • 959 Improve ModuleBalance calculation
  • 962 Streamline AccrueAllInterest
  • 967 Use taylor series of e^x for more accurate interest at high APY.
  • 987 Streamline x/leverage CLI tests
  • 1012 Improve negative time elapsed error message
  • 1236 Improve leverage event fields.
  • 1294 Simplify window progress query math.
  • 1300 Improve leverage test suite and error specificity.
  • 1322 Improve complete liquidation threshold and close factor.
  • 1332 Improve reserve exhaustion event and log message.
  • 1362 Remove inefficient BorrowAmounts and CollateralAmounts leverage invariants.
  • 1363 Standardize leverage KVStore access andincrease validation.
  • 1385 Update v1.1-v3.0 upgrade plan name

Bug Fixes

  • 1018 Return nil if negative time elapsed from the last block happens.
  • 1156 Propagate context correctly.
  • 1288 Safeguards LastInterestTime against time reversals and unintended interest from hard forks.
  • 1357 Interptex x/0 collateral liquidity as 100%
  • 1383 Remove potential panic during FeeAndPriority error case.
  • 1405 No longer skip MinCollateralLiquidity < 1 validation.

v2.0.2 - 2022-05-13

Features

  • 860 Add IBC upgrade and upgrade-client gov proposals.
  • 894 Add MarketSummary query

Improvements

  • 866 Make the x/oracle keeper's GetExchangeRateBase method more efficient.

API Breaking

  • 870 Move proto v1beta1 to v1.
  • 903 (leverage) Renamed Keeper.CalculateLiquidationLimit to CalculateLiquidationThreshold.

v2.0.1 - 2022-04-25

Features

  • 835 Add miss counter query to oracle cli.

Bug Fixes

  • 829 Fix umeed tx leverage liquidate command args.

Improvements

  • 781 Oracle module unit test cleanup.
  • 782 Add unit test to x/oracle/types/denom.go and x/oracle/types/keys.go.
  • 786 Add unit test to x/oracle/....
  • 798 Increase x/oracle unit test coverage.
  • 803 Add cover-html command to makefile.

v2.0.0 - 2022-04-06

Improvements

  • 754 Update go.mod to use /v2 import path.
  • 723 Add leverage parameter SmallLiquidationSize, which determines the USD value at which a borrow is considered small enough to be liquidated in a single transaction.
  • 711 Clarify error message for negative elapsed time case.

Features

  • Convexity upgrade!!!

v1.1.0 - 2022-09-08

State Machine Breaking

  • 1358 Disable Gravity Bridge bridge messages.

Improvements

  • #1355 Update tooling to go1.19 and CI to the latest setup (based on v3).

v1.0.4 - - 2022-09-08

Improvements

  • #1353 Gravity Bridge update

v1.0.3 - 2022-02-17

State Machine Breaking

  • #560 Use Gravity Bridge fork that disables slashing completely.

v1.0.2 - 2022-02-16

Features

  • #556 Refactor the debug addr command to convert addresses between any Bech32 HRP.

v1.0.1 - 2022-02-07

Bug Fixes

  • #517 Fix makefile build and install targets to support Ledger devices.

v1.0.0 - 2022-02-07

Features

  • Initial release!!!