Skip to content

Latest commit

 

History

History
292 lines (258 loc) · 24.3 KB

RELEASE_CHANGELOG.md

File metadata and controls

292 lines (258 loc) · 24.3 KB

Changelog

v0.46.0 - 2022-11-28

This version based on cosmos-sdk v0.45.10, wasmd v0.27.0 and Ostracon v1.0.7.

Features

  • (global) #783 bump up github.com/cosmos/cosmos-sdk to v0.45.10
  • (build) #793 enable to use libsodium version ostracon
  • (x/wasm) #570 Merge wasmd 0.27.0
  • (x/wasm) #470 remove contract activation control by actor
  • (x/wasm) #513 fix message representation for signing
  • (x/foundation) #518 add foundation treasury feature to x/foundation
  • (x/foundation) #528 add a feature of whitelist for /lbm.foundation.v1.MsgWithdrawFromTreasury
  • (proto) #584 remove prove field in the GetTxsEventRequest of tx proto
  • (x/collection) #571 add x/collection proto
  • (x/collection) #574 implement x/collection
  • (store) #605 replace line/iavl and line/tm-db with cosmos/iavl and tendermint/tm-db.
  • (server/grpc) #607 revert gRPC block height header.
  • (global) #611 bump github.com/cosmos/cosmos-sdk from v0.45.1 to v0.45.6
  • (simapp) #620 chore: add iterator feature for simapp
  • (x/collection) #622 add Query/TokenClassTypeName
  • (x/bank) #629 remove unsafe balance changing methods from bank keeper such as SetBalance and SetSupply.
  • (x/wasm) #649 fix: wasm module's FIXME in the snapshotter.go file
  • (x/ibc) #651 feat: update x/ibc to support github.com/cosmos/ibc-go@v3.0.0
  • (config) #665 remove bech32-cache-size
  • (x/foundation) #709 add gov mint for x/foundation proposal
  • (iavl) #738 bump github.com/cosmos/iavl from v0.17.3 to v0.19.3
  • (baseapp) #756 Change to create chCheckTx with the value set in app config
  • (x/foundation) #758 add invariants to x/foundation

Improvements

  • (ostracon) #811 bump up Ostracon from 2231684789c6e754744e3f10f8b41c96c4575ad1 to v1.0.7
  • (x/auth) #776 remove unused MsgEmpty
  • (refactor) #493 restructure x/consortium
  • (server/grpc) #526 add index field into TxResponse
  • (cli) #535 updated ostracon to v1.0.5; unsafe-reset-all command has been moved to the ostracon sub-command.
  • (x/foundation) #597 tidy up x/foundation
  • (x/collection) #604 add EventOwnerChanged and EventRootChanged
  • (x/collection) #608 remove new APIs on x/collection
  • (x/token) #609 remove new APIs on x/token
  • (x/collection) #621 add additional information into EventXXXChanged
  • (x/token) #636 add creator into x/token EventIssue
  • (x/token) #637 rename x/token events
  • (x/collection) #639 rename x/collection events
  • (x/wasm) #661 x/wasm refactoring - detaching the custom wasm proto part of lbm-sdk. (apply changes of #625 and #655)
  • (refactor) #685 remove x/foundation UpdateValidatorAuthsProposal
  • (x/foundation) #686 remove Minthreshold and MinPercentage from x/foundation config
  • (x/foundation) #693 add pool to the state of x/foundation
  • (x/auth, client) #699 Improvement on input validation of req.Hash
  • (x/wasm,distribution) #696 x/wasm,distribution - add checking a file size before reading it
  • (x/foundation) #698 update x/group relevant logic in x/foundation
  • (x/auth,bank,foundation,wasm) #691 change AccAddressFromBech32 to MustAccAddressFromBech32
  • (x/wasm) #690 fix to prevent accepting file name
  • (cli) #708 In CLI, allow 1 SIGN_MODE_DIRECT signer in transactions with multiple signers.
  • (x/modules) #722 Check error for RegisterQueryHandlerClient in all modules RegisterGRPCGatewayRoutes
  • (x/bank) #716 remove useless DenomMetadata key function
  • (x/foundation) #704 update x/foundation params
  • (x/wasm) #695 fix to prevent external filesystem dependency of simulation
  • (x/foundation) #729 add UpdateParams to x/foundation
  • (amino) #736 apply the missing amino codec registratoin of cosmos-sdk
  • (x/foundation) #744 revisit foundation operator
  • (store,x/wasm) #742 fix to add error message in GetByteCode()
  • (amino) #745 apply the missing amino codec of x/token, x/collection, x/wasm and x/foundation
  • (x/foundation) #757 remove redundant granter from x/foundation events

Bug Fixes

  • (x/foundation) #772 export x/foundation pool
  • (baseapp) #781 implement method SetOption() in baseapp
  • (global) #782 add unhandled return error handling
  • (x/collection,x/token) #798 Fix x/collection ModifyContract
  • (ci) #803 fix test flow to install libsodium
  • (x/collection,token) #784 Make field key matching in x/token & x/collection case-sensitive
  • (x/wasm) #453 modify wasm grpc query api path
  • (client) #476 change the default value of the client output format in the config
  • (server/grpc) #516 restore build norace flag
  • (genesis) #517 fix genesis auth account format(cosmos-sdk style -> lbm-sdk style)
  • (x/token) #539 fix the compatibility issues with daphne
  • (x/foundation) #545 fix genesis and support abstain
  • (x/auth) #563 fix unmarshal bug of BaseAccountJSON
  • (client) #565 fix the data race problem in TestQueryABCIHeight
  • (x/token) #589 fix naming collision in x/token enums
  • (x/token) #599 fix the order of events
  • (x/wasm) #640 remove legacy codes of wasm
  • (amino) #635 change some minor things that haven't been fixed in #549
  • (store) #666 change default iavl-cache-size and description
  • (x/auth) #673 fix max gas validation
  • (simapp) #679 fix the bug not setting iavl-cache-size value of app.toml
  • (x/foundation) #687 fix bugs on aborting x/foundation proposals
  • (global) #694 replace deprecated functions since go 1.16 or 1.17
  • (x/bankplus) #705 add missing blockedAddr checking in bankplus
  • (x/foundation) #712 fix x/foundation EndBlocker
  • (x/feegrant) #720 remove potential runtime panic in x/feegrant
  • (baseapp) #724 add checking pubkey type from validator params
  • (x/staking) #726 check allowedList size in StakeAuthorization.Accept()
  • (x/staking) #728 fix typo in unbondingToUnbonded() panic
  • (crypto) #731 remove VRFProve function
  • (x/foundation) #732 add verification on accounts into x/foundation Grants cli
  • (x/foundation) #730 prune stale x/foundation proposals at voting period end
  • (cli) #734 add restrictions on the number of args in the CLIs
  • (client) #737 check multisig key list to prevent unexpected key deletion
  • (simapp) #752 add x/distribution's module account into blockedAddr
  • (x/auth) #754 Fix wrong sequences in sign-batch
  • (x/foundation) #761 restore build norace flag
  • (server) #763 start telemetry independently from the API server

Breaking Changes

  • (cli) #773 guide users to use generate-only in messages for x/foundation authority
  • (x/foundation) #790 fix case of gov_mint_left_count in x/foundation
  • (proto) #564 change gRPC path to original cosmos path
  • (global) #603 apply types/address.go from cosmos-sdk@v0.45.1
  • (amino) #600 change amino codec path from lbm-sdk/ to cosmos-sdk/
  • (ostracon) #610 apply change of prefix of key name in ostracon
  • (ostracon) #614 apply Ostracon's changes that replace StakingPower with VotingPower and StakingPower with VotingPower
  • (proto) #617 change wasm gRPC path to original cosmwasm path.
  • (proto) #627 revert changes in x/slashing proto

Build, CI

  • (ci) #779 change github action trigger rules for release/* and rc*/* branches
  • (ci) #457, #471 add swagger check
  • (ci) #469 publish docker image on tag push
  • (ci) #580 fix the problem that the registered docker image couldn't run on M1.
  • (simapp) #591 chore: add x/wasm module to simapp
  • (ci) #618 remove stale action
  • (ci) #619 change the Dockerfile to use the downloaded static library

Document Updates

  • (docs) #766 fix submit-proposal command on x/foundation
  • (docs) #802 update x/foundation documentation
  • (docs) #483 update documents on x/stakingplus
  • (docs) #490 update documents on x/consortium
  • (docs) #602 update outdated events in specs
  • (docs) #721 update x/foundation specification
  • (docs) #748 add GovMint to x/foundation specification

Features

  • (x/wasm) #444 Merge wasmd 0.19.0
    • remove custom encoder from x/wasm/keeper.NewKeeper's arg. After the Token/collection module is added, it will be ported again.
  • (cosmos-sdk) #437 dump up to cosmos-sdk v0.42.11
  • (feat) #434 Revert signature mechanism using sig_block_height
  • (x/token) #416 Migrate token module from line/link

Bug Fixes

  • (x/wasm) #453 modify wasm grpc query api path
  • (x/wasm) #436 remove x/wasm/linkwasmd

Build, CI

  • (makefile, ci) #438 fix make proto-format and make proto-check-breaking error

Features

  • (feat) [#352] (Finschia#352) iavl, db & disk stats logging
  • (x/gov) #368 Governance Split Votes, use MsgWeightedVote to send a split vote. Sending a regular MsgVote will convert the underlying vote option into a weighted vote with weight 1.
  • (x/upgrade) [#377] (Finschia#377) To smoothen the update to the latest stable release, the SDK includes vesion map for managing migrations between SDK versions.
  • (x/wasm) [#358] (Finschia#358) change wasm metrics method to using prometheus directly
  • (x/feegrant) [#380] (Finschia#380) Feegrant module
  • (x/wasm) [#395] (Finschia#395) Add the instantiate_permission in the CodeInfoResponse
  • (x/consortium) [#406] (Finschia#406) Add CreateValidator access control feature
  • (x/bank) [#400] (Finschia#400) add bankplus function to restrict to send coin to inactive smart contract.

Improvements

  • (slashing) #347 Introduce VoterSetCounter
  • (auth) #348 Increase default valid_sig_block_period

Bug Fixes

  • (x/feegrant) [#383] (Finschia#383) Update allowance inside AllowedMsgAllowance
  • (tm-db) [#388] (Finschia#388) Bump up tm-db fixing invalid memory reference
  • (swagger) [#391] (Finschia#391) fix swagger's config path for wasm
  • (x/wasm) [#393] (Finschia#393) fix bug where StoreCodeAndInstantiateContract, UpdateContractStatus, UpdateContractStatusProposal API does not work
  • (x/slashing) [#407] (Finschia#407) Fix query signing infos command

Breaking Changes

  • (x/consortium) [#411] (Finschia#411) Validate validator addresses in update-validator-auths proposal

Build, CI

  • (ci) #350 Reduce sim test time
  • (ci) #351 Remove diff condition from sim-normal

Document Updates

  • (docs) #361 Add sample command docs
  • (docs) #392 Modify with latest version of swagger REST interface docs.

Bug Fixes

  • (distribution) #364 Force genOrBroadcastFn even when max-msgs != 0
  • (bank) #366 Check bech32 address format in bank query

Features

  • (global) #97 Add codespace to query error
  • (config) #114 Add idle-timeout to rest server and rpc server config
  • (x/wasm) #127 Add wasm with Staragate migration completed.
  • (x/wasm) #151 Add contract access control.
  • (x/wasm) #194 Replace importing CosmWasm/wasmvm with line/wasmvm.
  • (x/auth) #176 Add MsgEmpty to auth module
  • (metric) #184 Add prometheus metrics for caches reverting telemetry metrics
  • (grpc) #291 Add GRPC API the BlockByHash and BlockResultsByHeight, add prove parameter to GetTxsEvent

Improvements

  • (bump-up) #93 Adopt ostracon, line/tm-db and line/iavl
  • (bump-up) #107 Bump up tm-db, iavl and ostracon
  • (script) #110 Add script initializing simd
  • (bump-up) #118 Bump up tm-db and remove Domain() call
  • (test) #128 Allow creating new test network without init
  • (db) #136 Fix DB_BACKEND configuration
  • (global) #140 Modify default coin type, default address prefix
  • (perf) #141 Concurrent checkTx
  • (perf) #142 Implement validateGasWanted()
  • (perf) #143 Signature verification cache
  • (global) #145 Modify key type name
  • (perf) #155 Concurrent recheckTx
  • (global) #158 Remove tm-db dependency
  • (x/wasm) #162 Add missed UpdateContractStatusProposal types
  • (perf) #164 Sse fastcache
  • (build) #181 Raise codecov-action version to 1.5.0
  • (build) #195 Build properly when using libsecp256k1
  • (perf) #198 Caching paramset
  • (global) #200 Add a env prefix
  • (store) #202 Param store doesn't use gas kv
  • (store) #203 Remove transient store that is not used now
  • (perf) #204 Apply rw mutex to cachekv
  • (perf) #208 Use easyjson instead of amino when marshal abci logs
  • (perf) #209 Apply async reactor ostracon
  • (proto) #212 Reformat proto files and restore proto docs
  • (perf) #216 Memoize bech32 encoding and decoding
  • (perf) #218 Rootmulti store parallel commit
  • (perf) #219 Fix bech32 cache to get bech32 from proper cache
  • (bump-up) #221 Bump up iavl for parallel processing of batches
  • (perf) #224 Updated log time to have milliseconds
  • (bump-up) #228 Bump up ostracon to optimize checking the txs size
  • (global) #230 Modify module name to lfb-sdk
  • (bump-up) #246 Bump up ostracon to not flush wal when receive consensus msgs
  • (wasm) #250 Migrate linkwasmd to the latest commit
  • (wasm) #253 remove MaxGas const
  • (wasm) #254 Specify wasm event types
  • (x) #255 Remove legacy from modules
  • (perf) #320 internal objects optimization (BaseAccount, Balance & Supply)
  • (auth) #344 move SigBlockHeight from TxBody into AuthInfo

Bug Fixes

  • (test) #92 Fix SendToModuleAccountTest
  • (store) #105 Check store == nil
  • (test) #133 Fix Test_runImportCmd()
  • (config) #138 Fix getting coin type at running cmd
  • (race) #159 Fix test-race failure
  • (test) #193 Allow to add new validator in test network
  • (client) #286 Fix invalid type casting for error
  • (test) #326 Enable sim test and fix address related bug

Breaking Changes

  • (global) #90 Revise module path to github.com/line/lfb-sdk
  • (rpc) #97 Send response with 404 status when quering non-exist account
  • (proto) #106 Rename package of proto files
  • (api) #130 Rename rest apis
  • (auth) #265 Introduce sig block height for the new replay protection
  • (global) #298 Treat addresses as strings
  • (ostracon) #317 Integrate Ostracon including vrf election and voter concept
  • (global) #323 Re-brand lfb-sdk to lbm-sdk
  • (proto) #338 Upgrade proto buf from v1beta1 to v1

Build, CI

  • (ci) #234 Fix branch name in ci script
  • (docker) #264 Remove docker publish
  • (ci) #345 Split long sim test into 3 parts

Document Updates

  • (docs) #205 Renewal docs for open source
  • (docs) #207 Fix license
  • (docs) #211 Remove codeowners
  • (docs) #248 Add PR procedure, apply main branch
  • (docs) #256 Modify copyright and contributing
  • (docs) #259 Modify copyright, verified from legal team
  • (docs) #260 Remove gov, ibc and readme of wasm module
  • (docs) #262 Fix link urls, remove invalid reference
  • (docs) #328 Update quick start guide

[cosmos-sdk v0.42.1] - 2021-03-15

Initial lbm-sdk is based on the cosmos-sdk v0.42.1

Please refer CHANGELOG_OF_COSMOS_SDK_v0.42.1