Skip to content

Latest commit

 

History

History
228 lines (158 loc) · 11.6 KB

CHANGELOG.md

File metadata and controls

228 lines (158 loc) · 11.6 KB

Changelog

Features

  • (x/marker) #145 Add marker module
  • (x/lpfarm) #149 Add filter params to QueryPlans

Client Breaking

  • (x/liquidity) #144 Change MsgMMOrder

CLI Breaking

  • (x/liquidity) #144 Change mm-order tx cmd

v4.2.0 - 2023-06-09

State Machine Breaking

  • (deps) #157 build!: bump cosmos-sdk to v1.1.5-sdk-0.45.10 for barberry

v4.1.1 - 2023-05-26

  • (ibc) #155 build: bump ibc-go to v3.4.0-crescent-v4-3 for huckleberry

v4.1.0 - 2023-05-16

State Machine Breaking

  • (x/lpfarm) #154 feat!: add MsgTerminatePrivatePlan

v4.0.0 - 2023-01-05

State Machine Breaking

  • (ibc) #131 build!: upgrade ibc-go from v2.2.0 to v3.4.0

Bug Fixes

  • (api) #137 fix: rollback swagger version to 2 and add missing apis

v3.0.0 - 2022-12-07

State Machine Breaking

  • (ibc) #56 fix!: upgrade ibc-go for pool coin blacklisting
  • (liquidity) #128 refactor!: move MaxNumActivePoolsPerPair into params

Features

  • (x/marketmaker) #55 feat: add marketmaker module
  • (x/liquidity) #57 feat: add market making order type
  • (x/farm) #70 feat: add farm module
  • (x/liquidfarming) #72 feat: add liquidfarming module

Bug Fixes

  • (x/liquidstaking) #53 fix: calculation bug of liquidstaking voting_power
  • (x/liquidity) #71 fix: reject same base/quote coin denom in MsgCreatePair

Improvements

  • (x/mint) #65 feat: add last block time endpoint

v2.3.0 - 2022-10-19

Improvements

  • (deps) #77 feat: bump cosmos-sdk to v0.45.9 and use cosmos-sdk ics23 #377 #378
  • (x/liquidity) #77 fix: lower the highest tick boundary for extra safety

v2.2.0 - 2022-10-15

Bug Fixes

  • (security) #74 fix: apply dragonberry security patch

v2.1.1 - 2022-07-29

Improvements

  • (x/liquidity) #52, #50 Enable detailed configuration for order book responses

Bug Fixes

  • (x/liquidstaking) #51 fix: calculation bug of liquidstaking voting_power gRPC endpoint

v2.1.0 - 2022-07-18

Client Breaking Changes

  • (x/liquidity) #48 Refactor OrderBooks query:
    • tick_precisions field has been removed from QueryOrderBooksRequest
    • tick_precision field has been removed from OrderBookResponse and price_unit has been added instead
    • The order between sells and buys has been changed
  • (x/farming) #45 Add HistoricalRewards query endpoint:
    • HistoricalRewards: /crescent/farming/v1beta1/historical_rewards/{staking_coin_denom}
  • (x/liquidity) #46 Modify PoolResponse:
    • balances field has been modified to contain base_coin and quote_coin fields
    • pool_coin_supply field has been added
    • price field has been added
  • (x/liquidity) #37 Add OrderBooks query endpoint:
    • OrderBooks: /crescent/liquidity/v1beta1/order_books
  • (x/farming) #33 Rename existing Stakings endpoint to Position and add three new endpoints:
    • Stakings: /crescent/farming/v1beta1/stakings/{farmer}
    • QueuedStakings: /crescent/farming/v1beta1/queued_stakings/{farmer}
    • UnharvestedRewards: /crescent/farming/v1beta1/unharvested_reward/{farmer}

CLI Breaking Changes

  • (x/liquidity) #48 Refactor order-books query cmd:
    • [tick-precisions] argument has been removed: order-books [pair-ids]
    • Response structure has been changed
  • (x/farming) #45 Add historical-rewards query cmd:
    • historical-rewards [staking-coin-denom]
  • (x/liquidity) #37 Add create-ranged-pool tx cmd and order-books query cmd:
    • create-ranged-pool [pair-id] [deposit-coins] [min-price] [max-price] [initial-price]
    • order-books [pair-ids] [tick-precisions]
  • (x/farming) #33 Rename existing stakings query to position and add three new queries:
    • stakings [farmer]
    • queued-stakings [farmer]
    • unharvested-rewards [farmer]

State Machine Breaking

  • (x/liquidity) #49 Add MaxNumActivePoolsPerPair global constant

  • (x/liquidity) #37 Change Pool struct for ranged pools and refactor matching logic

    • Add type, creator, min_price and max_price fields to Pool struct
    • Refactor matching logic both for fairness of matching and efficiency of pool order placement
    • Change the liquidity module's TickPrecisions param from 3 to 4
  • (x/farming) #33 Time-based queued staking and new UnharvestedRewards struct

    • Changed/added kv-store keys:
      • QueuedStaking: 0x23 | EndTimeLen (1 byte) | sdk.FormatTimeBytes(EndTime) | StakingCoinDenomLen (1 byte) | StakingCoinDenom | FarmerAddr -> ProtocolBuffer(QueuedStaking)
      • QueuedStakingIndex: 0x24 | FarmerAddrLen (1 byte) | FarmerAddr | StakingCoinDenomLen (1 byte) | StakingCoinDenom | sdk.FormatTimeBytes(EndTime) -> nil
      • UnharvestedRewards: 0x34 | FarmerAddrLen (1 byte) | FarmerAddr | StakingCoinDenom -> ProtocolBuffer(UnharvestedRewards)
  • (x/mint, x/budget) #35 feat!: add mint pool address for mint module #316

    • Add params.MintPoolAddress on the mint module cre1m3h30wlvsf8llruxtpukdvsy0km2kum8ve5ajd
    • Change Mint Pool from default cre17xpfvakm2amg962yls6f84z3kell8c5l53s97s (fee_collector) to cre1m3h30wlvsf8llruxtpukdvsy0km2kum8ve5ajd (params.MintPoolAddress) to prevent mixing of inflation and tx fee
    • Change the source address of Budgets whose source address is cre17xpfvakm2amg962yls6f84z3kell8c5l53s97s to cre1m3h30wlvsf8llruxtpukdvsy0km2kum8ve5ajd
    • Add Budget to sending staking reward, and community fund to cre17xpfvakm2amg962yls6f84z3kell8c5l53s97s from cre1m3h30wlvsf8llruxtpukdvsy0km2kum8ve5ajd
  • #31 build!: bump cosmos-sdk to v0.45.3, tendermint v0.34.19, ibc-go v2.2.0, budget v1.2.0, go 1.17

Improvements

  • (x/liquidity) #32 feat: add emit events for order trading volume

Bug Fixes

  • (x/liquidity) #32 fix: optimize CancelAllOrders gas usage, fix offer coin checking #296 #299
  • (x/claim) #28 fix: fix simulation for the claim module #292 #304
  • #25 fix: fix to use query context #298

v1.1.0 - 2022-04-14

State Machine Breaking

Running a full node will encounter wrong app hash issue if it doesn't upgrade to this version prior to UpgradeHeight (48000). Instead of going through on-chain governance proposal by using UpgradeProposal, this upgrade mechanism is chosen as it is security hot fix that is better to be fixed as soon as it can and also it is directly related to governance proposal.

  • (x/claim) #23 Fix gas consumption issue for ConditionTypeVote. UpgradeHeight is set as 48000.

v1.0.0 - 2022-04-12

Features

  • (crescentd) feat: add x/liquidity module
  • (crescentd) feat: add x/liquidstaking module
  • (crescentd) feat: add x/farming module
  • (crescentd) feat: add x/mint(constant inflation) module
  • (crescentd) feat: add x/claim module
  • (sdk) Crescent Core uses a customized Cosmos SDK v1.0.2-sdk-0.44.5. Please check the differences on here.
    • x/staking fix: allow delegate only spendable coins
    • x/gov feat: add additional voting powers hook on tally (liquid governance)
    • x/vesting feat: periodic vesting msg
    • x/bank feat: Add dynamic blockedAddrs