Release Notes
- Cosmos Release Note: https://github.com/cosmos/cosmos-sdk/releases/tag/v0.43.0
- CosmWasm Release Note: https://github.com/CosmWasm/cosmwasm/blob/main/MIGRATING.md#015---016
- #529 Bump SDK to v0.43.0 and Tendermint to v0.34.11.
- #526 Bump CosmWasm to v0.16.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 specifyadmin
field to make the contract as migratable - [GET]
/wasm/contracts/{contractAddress}
response format changed
admin
field replacemigratable
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 frombase64
tojson.RawMessage
, so the developers need to passobject
not base64 encoded string.Migratable
removedOwner
split intoSender
andAdmin
.Admin
is optional field to specify migratable flag and the executor of the migration.
- MsgExecuteContract
ExecuteMsg
format changed frombase64
tojson.RawMessage
, so the developers need to passobject
not base64 encoded string.
- MsgMigrateContract
MigrateMsg
format changed frombase64
tojson.RawMessage
, so the developers need to passobject
not base64 encoded string.
- MsgGrantAuthorization => MsgGrant
Authorization
andPeriod
merged intoGrant
.Period
renamed toExpiration
and format changed fromtime.Duration
totime.Time
.
- MsgRevokeAuthorization => MsgRevoke
AuthorizationMsgType
renamed toMsgTypeUrl
- MsgExecAuthorization => MsgExec
- GenericAuthorization
GrantMsgType
renamedMsg
and it represents proto type url
- MsgVoteWeighted
- new governance message to submit weighted vote