github terra-money/classic-core v0.5.0-rc0

latest releases: v2.3.0, v2.2.2, v2.2.1...
pre-release3 years ago

Release Notes

Cosmos Release Notes

Improvements

  • #507 Bump SDK to v0.43.0-rc0.
  • #507 Bump Tendermint to v0.34.11.
  • #509 Bump cosmwasm to v0.15.1.
  • #467 Split market base pool into mint & burn base pool
  • #465 #472 Bump cosmwasm to v0.14.0.
  • #477 Burn reward_weight ratio of seigniorage instead of redirecting to oracle rewards
  • 260b41a Redirect swap fees to oracle rewards (distributed over 3 years)
  • Bump golang prerequisite from 1.15 to 1.16.

Bug Fixes

  • #497 Fix wasm oracle querier to return Base/Quote exchange rate

API Breaking Changes

Cosmos side breaking changes: here
Wallet Migration Guide: here
Contract Migration Guide: here

  • [GET] /auth/accounts/{address} does not return account coins
  • [POST] /txs/estimate_fee request and response format changed
Request (BaseReq + []sdk.Msg)
{
   "base_req":{
      "from":"terra1wg2mlrxdmnnkkykgqg4znky86nyrtc45q336yv",
      "memo":"Sent via Terra Station 🚀",
      "chain_id":"columbus-3",
      "account_number":"0",
      "sequence":"1",
      "gas":"200000",
      "gas_adjustment":"1.2",
      "fees":[
         {
            "denom":"uluna",
            "amount":"50"
         }
      ],
      "simulate":false
   },
   "msgs":[
      {
         "type":"bank/MsgSend",
         "value":{
            "from_address":"terra1wg2mlrxdmnnkkykgqg4znky86nyrtc45q336yv",
            "to_address":"terra14u47f8ufn2agqlpdpnfvcd2782zgnus9nslmfc",
            "amount":[
               {
                  "denom":"ukrw",
                  "amount":"10000000"
               }
            ]
         }
      }
   ]
}

Response (StdFee)
{
  "fee": {
    "gas": "string",
    "amount": [
      {
        "denom": "uluna",
        "amount": "50"
      }
    ]
  }
}
  • [GET] /market/terra_pool_delta removed, /market/mint_pool_delta & /market/burn_pool_delta added
  • [POST] /wasm/codes/{codeID}/migrate added for code migration
  • [POST] /wasm/codes/{codeID} request optionally specify admin field to make the contract as migratable
  • [GET] /wasm/contracts/{contractAddress} response format changed
    admin field replace migratable flag
{
  "code_id": "string",
  "address": "terra1wg2mlrxdmnnkkykgqg4znky86nyrtc45q336yv",
  "creator": "terra1wg2mlrxdmnnkkykgqg4znky86nyrtc45q336yv",
  "admin": "terra1wg2mlrxdmnnkkykgqg4znky86nyrtc45q336yv",
  "init_msg": "string"
}

Codec Changes

  • Added messages
    • wasm/MsgMigrateCode
    • wasm/MsgUpdateContractAdmin
    • wasm/MsgClearContractAdmin
    • feegrant/MsgGrantAllowance
    • feegrant/MsgRevokeAllowance
  • Removed messages
    • wasm/MsgUpdateContractOwner
  • Added Interfaces
    • feegrant/BasicAllowance
    • feegrant/PeriodicAllowance
    • feegrant/AllowedMsgAllowance
    • msgauth/StakeAuthorization

Param subspace changes

All terra module params now has camel case param subspace

  • Market
    • poolrecoveryperiod -> PoolRecoveryPeriod
    • minstabilityspread -> MinStabilitySpread
    • +MintBasePool
    • +BurnBasePool
  • Oracle
    • voteperiod -> VotePeriod
    • votethreshold -> VoteThreshold
    • rewardband -> RewardBand
    • rewarddistributionwindow -> RewardDistributionWindow
    • whitelist -> Whitelist
    • slashfraction -> SlashFraction
    • slashwindow -> SlashWindow
    • minvalidperwindow -> MinValidPerWindow
  • Treasury
    • taxpolicy -> TaxPolicy
    • rewardpolicy -> RewardPolicy
    • seigniorageburdentarget -> SeigniorageBurdenTarget
    • miningincrement -> MiningIncrement
    • windowshort -> WindowShort
    • windowlong -> WindowLong
    • windowprobation -> WindowProbation

Message Changes

  • MsgInstantiateContract
    • InitMsg format changed from base64 to json.RawMessage, so the developers need to pass object not base64 encoded string.
    • Migratable removed
    • Owner split into Sender and Admin. Admin is optional field to specify migratable flag and the executor of the migration.
  • MsgExecuteContract
    • ExecuteMsg format changed from base64 to json.RawMessage, so the developers need to pass object not base64 encoded string.
  • MsgMigrateContract
    • MigrateMsg format changed from base64 to json.RawMessage, so the developers need to pass object not base64 encoded string.

Don't miss a new classic-core release

NewReleases is sending notifications on new releases.