* Start upgrade. Currently go test ./... hangs. * (squash this) Fix staking tests * wip * note what changes need to be made to make this work on tm v0.23.0 * Fix addr -> pubkey map * cleanup code * Fix slashing test failures except for begin blocker * fix all slashing tests * fix lcd tests * Address PR comments * add link to changelog. * (wip) start making addrToPubkey map persisted. Since amino can't handle maps, we have to change from what this commit is doing. * Use the correct method of storing a map * (squash this) address PR comments * Did you run 'make'? * remove gaiadebug binary
5.6 KiB
5.6 KiB
v0.24.0 PENDING
^--- PENDING wasn't purged on sdk v0.23.0 release.
BREAKING CHANGES
- Update to tendermint v0.23.0. This involves removing crypto.Pubkey, maintaining a validator address to pubkey map, and using time.Time instead of int64 for time. SDK PR
PENDING
BREAKING CHANGES
- API
- #1880 [x/stake] changed the endpoints to be more REST-ful
- Update to tendermint v0.22.5. This involves changing all of the cryptography imports. Ref
- [baseapp] Msgs are no longer run on CheckTx, removed
ctx.IsCheckTx() - [x/gov] CLI flag changed from
proposalIDtoproposal-id - [x/stake] Fixed the period check for the inflation calculation
- [x/stake] Inflation doesn't use rationals in calculation (performance boost)
- [x/stake] CLI flags for identity changed from
--keybase-sigto--identity, effects:gaiacli stake create-validatorgaiacli stake edit-validator
- [baseapp] NewBaseApp constructor now takes sdk.TxDecoder as argument instead of wire.Codec
- [x/auth] Default TxDecoder can be found in
x/authrather than baseapp - #1606 The following CLI commands have been switched to use
--fromgaiacli stake create-validator --address-validatorgaiacli stake edit-validator --address-validatorgaiacli stake delegate --address-delegatorgaiacli stake unbond begin --address-delegatorgaiacli stake unbond complete --address-delegatorgaiacli stake redelegate begin --address-delegatorgaiacli stake redelegate complete --address-delegatorgaiacli stake unrevoke [validator-address]gaiacli gov submit-proposal --proposergaiacli gov deposit --depositergaiacli gov vote --voter
- [x/gov] Added tags sub-package, changed tags to use dash-case
- [x/gov] Governance parameters are now stored in globalparams store
- [lcd] #1866 Updated lcd /slashing/signing_info endpoint to take cosmosvalpub instead of cosmosvaladdr
- [types] sdk.NewCoin now takes sdk.Int, sdk.NewInt64Coin takes int64
- [cli] #1551: Officially removed
--namefrom CLI commands - [cli] Genesis/key creation (
init) now supports user-provided key passwords
FEATURES
- [lcd] Can now query governance proposals by ProposalStatus
- [x/mock/simulation] Randomized simulation framework
- Modules specify invariants and operations, preferably in an x/[module]/simulation package
- Modules can test random combinations of their own operations
- Applications can integrate operations and invariants from modules together for an integrated simulation
- [baseapp] Initialize validator set on ResponseInitChain
- [cosmos-sdk-cli] Added support for cosmos-sdk-cli tool under cosmos-sdk/cmd
- This allows SDK users to initialize a new project repository.
- [tests] Remotenet commands for AWS (awsnet)
- [networks] Added ansible scripts to upgrade seed nodes on a network
- [store] Add transient store
- [gov] Add slashing for validators who do not vote on a proposal
- [cli] added
gov query-proposalscommand to CLI. Can filter bydepositer,voter, andstatus - [core] added BaseApp.Seal - ability to seal baseapp parameters once they've been set
- [gov] added TallyResult type that gets added stored in Proposal after tallying is finished
IMPROVEMENTS
- [baseapp] Allow any alphanumeric character in route
- [cli] Improve error messages for all txs when the account doesn't exist
- [tools] Remove
rm -rf vendor/frommake get_vendor_deps - [x/auth] Recover ErrorOutOfGas panic in order to set sdk.Result attributes correctly
- [x/stake] Add revoked to human-readable validator
- [spec] #967 Inflation and distribution specs drastically improved
- [tests] Add tests to example apps in docs
- [x/gov] Votes on a proposal can now be queried
- [x/bank] Unit tests are now table-driven
- [tests] Fixes ansible scripts to work with AWS too
- [tests] #1806 CLI tests are now behind the build flag 'cli_test', so go test works on a new repo
- [x/gov] Initial governance parameters can now be set in the genesis file
- [x/stake] #1815 Sped up the processing of
EditValidatortxs. - [server] #1930 Transactions indexer indexes all tags by default.
BUG FIXES
- #1666 Add intra-tx counter to the genesis validators
- #1797 Fix off-by-one error in slashing for downtime
- #1787 Fixed bug where Tally fails due to revoked/unbonding validator
- #1766 Fixes bad example for keybase identity
- #1804 Fixes gen-tx genesis generation logic temporarily until upstream updates
- #1799 Fix
gaiad export - #1828 Force user to specify amount on create-validator command by removing default
- #1839 Fixed bug where intra-tx counter wasn't set correctly for genesis validators
- [staking] #1858 Fixed bug where the cliff validator was not be updated correctly
- [tests] #1675 Fix non-deterministic
test_cover - [client] #1551: Refactored
CoreContext- Renamed
CoreContexttoQueryContext - Removed all tx related fields and logic (building & signing) to separate
structure
TxContextinx/auth/client/context - Cleaned up documentation and API of what used to be
CoreContext - Implemented
KeyTypeenum for key info
- Renamed
- #1666 Add intra-tx counter to the genesis validators
- [tests] #1551: Fixed invalid LCD test JSON payload in
doIBCTransfer - #1787 Fixed bug where Tally fails due to revoked/unbonding validator
- #1787 Fixed bug where Tally fails due to revoked/unbonding validator
- [basecoin] Fixes coin transaction failure and account query discussion