Changelog History
Page 10
-
v0.28.1 Changes
๐ฅ BREAKING CHANGES
- Gaia REST API (
gaiacli advanced rest-server
)- [lcd] #3045 Fix quoted json return on GET /keys (keys list)
- [gaia-lite] #2191 Split
POST /stake/delegators/{delegatorAddr}/delegations
intoPOST /stake/delegators/{delegatorAddr}/delegations
,POST /stake/delegators/{delegatorAddr}/unbonding_delegations
andPOST /stake/delegators/{delegatorAddr}/redelegations
- [gaia-lite] #3056
generate_only
andsimulate
have moved from query arguments to POST requests body.
- Tendermint
- [tendermint] Now using Tendermint 0.27.3
๐ FEATURES
- Gaia REST API (
gaiacli advanced rest-server
)- [slashing] #2399 Implement
/slashing/parameters
endpoint to query slashing parameters.
- [slashing] #2399 Implement
- Gaia CLI (
gaiacli
)- [gaiacli] #2399 Implement
params
command to query slashing parameters.
- [gaiacli] #2399 Implement
- SDK
- [client] #2926 Add TxEncoder to client TxBuilder.
- Other
- Introduced the logjack tool for saving logs w/ rotation
๐ IMPROVEMENTS
- Gaia REST API (
gaiacli advanced rest-server
) - Gaia CLI (
gaiacli
) - Gaia
- #3021 Add
--gentx-dir
togaiad collect-gentxs
to specify a directory from which collect and load gentxs. Add--output-document
togaiad init
to allow one to redirect output to file.
- #3021 Add
- Gaia REST API (
-
v0.28.0 Changes
๐ฅ BREAKING CHANGES
Gaia CLI (
gaiacli
)- [cli] #2595 Remove
keys new
in favor ofkeys add
incorporating existing functionality with addition of key recovery functionality. - [cli] #2987 Add shorthand
-a
togaiacli keys show
and update docs - [cli] #2971 Additional verification when running
gaiad gentx
- [cli] #2734 Rewrite
gaiacli config
. It is now a non-interactive config utility.
- [cli] #2595 Remove
Gaia
- #128 Updated CircleCI job to trigger website build on every push to master/develop.
- #2994 Change wrong-password error message.
- #3009 Added missing Gaia genesis verification
- #128 Updated CircleCI job to trigger website build on every push to master/develop.
- #2994 Change wrong-password error message.
- #3009 Added missing Gaia genesis verification
- [gas] #3052 Updated gas costs to more reasonable numbers
SDK
๐ FEATURES
- Gaia CLI (
gaiacli
)- #2961 Add --force flag to gaiacli keys delete command to skip passphrase check and force key deletion unconditionally.
๐ IMPROVEMENTS
Gaia CLI (
gaiacli
)- #2991 Fully validate transaction signatures during
gaiacli tx sign --validate-signatures
- #2991 Fully validate transaction signatures during
SDK
๐ BUG FIXES
-
v0.27.0 Changes
๐ฅ BREAKING CHANGES
Gaia REST API (
gaiacli advanced rest-server
)- [gaia-lite] #2819 Txs query param format is now:
/txs?tag=value
(removed '' wrapping the query parametervalue
)
- [gaia-lite] #2819 Txs query param format is now:
Gaia CLI (
gaiacli
)- [cli] #2728 Seperate
tx
andquery
subcommands by module - [cli] #2727 Fix unbonding command flow
- [cli] #2786 Fix redelegation command flow
- [cli] #2829 add-genesis-account command now validates state when adding accounts
- [cli] #2804 Check whether key exists before passing it on to
tx create-validator
. - [cli] #2874
gaiacli tx sign
takes an optional--output-document
flag to support output redirection. - [cli] #2875 Refactor
gaiad gentx
and avoid redirection togaiacli tx sign
for tx signing.
- [cli] #2728 Seperate
Gaia
- [mint] [#2825] minting now occurs every block, inflation parameter updates still hourly
SDK
- #2752 Don't hardcode bondable denom.
- #2701 Account numbers and sequence numbers in
auth
are nowuint64
instead ofint64
- #2019 Cap total number of signatures. Current per-transaction limit is 7, and if that is exceeded transaction is rejected.
- #2801 Remove AppInit structure.
- #2798 Governance API has miss-spelled English word in JSON response ('depositer' -> 'depositor')
- #2943 Transaction action tags equal the message type. Staking EndBlocker tags are included.
Tendermint
- Update to Tendermint 0.27.0
๐ FEATURES
Gaia REST API (
gaiacli advanced rest-server
)- [gov] #2479 Added governance parameter query REST endpoints.
Gaia CLI (
gaiacli
)Gaia
- [app] #2791 Support export at a specific height, with
gaiad export --height=HEIGHT
. - [x/gov] #2479 Implemented querier for getting governance parameters.
- [app] #2663 - Runtime-assertable invariants
- [app] #2791 Support export at a specific height, with
gaiad export --height=HEIGHT
. - [app] #2812 Support export alterations to prepare for restarting at zero-height
- [app] #2791 Support export at a specific height, with
SDK
๐ IMPROVEMENTS
Gaia REST API (
gaiacli advanced rest-server
)Gaia CLI (
gaiacli
)Gaia
- #2772 Update BaseApp to not persist state when the ante handler fails on DeliverTx.
- #2773 Require moniker to be provided on
gaiad init
. - #2672 [Makefile] Updated for better Windows compatibility and ledger support logic, get_tools was rewritten as a cross-compatible Makefile.
- #2766 [Makefile] Added goimports tool to get_tools. Get_tools now only builds new versions if binaries are missing.
- #110 Updated CircleCI job to trigger website build when cosmos docs are updated.
SDK & [x/mock/simulation] [#2720] major cleanup, introduction of helper objects, reorganization
#2821 Codespaces are now strings
[types] #2776 Improve safety of
Coin
andCoins
types. Various functions and methods will panic when a negative amount is discovered.#2815 Gas unit fields changed from
int64
touint64
.#2821 Codespaces are now strings
#2779 Introduce
ValidateBasic
to theTx
interface and call it in the ante handler.#2825 More staking and distribution invariants
๐ #2912 Print commit ID in hex when commit is synced.
Tendermint
โก๏ธ #2796 Update to go-amino 0.14.1
๐ BUG FIXES
Gaia REST API (
gaiacli advanced rest-server
)Gaia
SDK
Tendermint
- #2797 AddressBook requires addresses to have IDs; Do not crap out immediately after sending pex addrs in seed mode
-
v0.26.0 Changes
๐ฅ BREAKING CHANGES
Gaia
- [gaiad init] #2602 New genesis workflow
SDK
- [simulation] #2665 only argument to sdk.Invariant is now app
Tendermint
- Upgrade to version 0.26.0
๐ FEATURES
Gaia CLI (
gaiacli
)- [cli] #2569 Add commands to query validator unbondings and redelegations
- [cli] #2569 Add commands to query validator unbondings and redelegations
- [cli] #2524 Add support offline mode to
gaiacli tx sign
. Lookups are not performed if the flag--offline
is on. - [cli] #2558 Rename --print-sigs to --validate-signatures. It now performs a complete set of sanity checks and reports to the user. Also added --print-signature-only to print the signature only, not the whole transaction.
- [cli] #2704 New add-genesis-account convenience command to populate genesis.json with genesis accounts.
SDK
- #1336 Mechanism for SDK Users to configure their own Bech32 prefixes instead of using the default cosmos prefixes.
๐ IMPROVEMENTS
Gaia
- #2637 [x/gov] Switched inactive and active proposal queues to an iterator based queue
SDK
- #2573 [x/distribution] add accum invariance
- #2556 [x/mock/simulation] Fix debugging output
- #2396 [x/mock/simulation] Change parameters to get more slashes
- #2617 [x/mock/simulation] Randomize all genesis parameters
- #2669 [x/stake] Added invarant check to make sure validator's power aligns with its spot in the power store.
- #1924 [x/mock/simulation] Use a transition matrix for block size
- #2660 [x/mock/simulation] Staking transactions get tested far more frequently
- #2610 [x/stake] Block redelegation to and from the same validator
- #2652 [x/auth] Add benchmark for get and set account
- #2685 [store] Add general merkle absence proof (also for empty substores)
- #2708 [store] Disallow setting nil values
๐ BUG FIXES
Gaia
SDK
- #2625 [x/gov] fix AppendTag function usage error
- #2677 [x/stake, x/distribution] various staking/distribution fixes as found by the simulator
- #2674 [types] Fix coin.IsLT() impl, coins.IsLT() impl, and renamed coins.Is* to coins.IsAll* (see #2686)
- #2711 [x/stake] Add commission data to
MsgCreateValidator
signature bytes. - Temporarily disable insecure mode for Gaia Lite
-
v0.25.0 Changes
October 24th, 2018.
๐ฅ BREAKING CHANGES
Gaia REST API (
gaiacli advanced rest-server
)- [x/stake] Validator.Owner renamed to Validator.Operator
- #595 Connections to the REST server are now secured using Transport Layer Security by default. The --insecure flag is provided to switch back to insecure HTTP.
- [gaia-lite] #2258 Split
GET stake/delegators/{delegatorAddr}
intoGET stake/delegators/{delegatorAddr}/delegations
,GET stake/delegators/{delegatorAddr}/unbonding_delegations
andGET stake/delegators/{delegatorAddr}/redelegations
Gaia CLI (
gaiacli
)- [x/stake] Validator.Owner renamed to Validator.Operator
- [cli] unsafe_reset_all, show_validator, and show_node_id have been renamed to unsafe-reset-all, show-validator, and show-node-id
- [cli] #1983 --print-response now defaults to true in commands that create and send a transaction
- [cli] #1983 you can now pass --pubkey or --address to gaiacli keys show to return a plaintext representation of the key's address or public key for use with other commands
- [cli] #2061 changed proposalID in governance REST endpoints to proposal-id
- [cli] #2014
gaiacli advanced
no longer exists - to accessibc
,rest-server
, andvalidator-set
commands usegaiacli ibc
,gaiacli rest-server
, andgaiacli tendermint
, respectively - [makefile]
get_vendor_deps
no longer updates lock file it just updates vendor directory. Useupdate_vendor_deps
to update the lock file. #2152 - [cli] #2221 All commands that
utilize a validator's operator address must now use the new Bech32 prefix,
cosmosvaloper
. - [cli] #2190
gaiacli init --gen-txs
is nowgaiacli init --with-txs
to reduce confusion - [cli] #2073 --from can now be either an address or a key name
- [cli] #1184 Subcommands reorganisation, see #2390 for a comprehensive list of changes.
- [cli] #2524 Add support offline mode to
gaiacli tx sign
. Lookups are not performed if the flag--offline
is on. - [cli] #2570 Add commands to query deposits on proposals
Gaia
- Make the transient store key use a distinct store key. #2013
- [x/stake] #1901 Validator type's Owner field renamed to Operator; Validator's GetOwner() renamed accordingly to comply with the SDK's Validator interface.
- [docs] #2001 Update slashing spec for slashing period
- [x/stake, x/slashing] #1305 - Rename "revoked" to "jailed"
- [x/stake] [#1676] Revoked and jailed validators put into the unbonding state
- [x/stake] [#1877] Redelegations/unbonding-delegation from unbonding validator have reduced time
- [x/slashing] #1789 Slashing changes for Tendermint validator set offset (NextValSet)
- [x/stake] #2040 Validator
operator type has now changed to
sdk.ValAddress
- [x/stake] #2221 New
Bech32 prefixes have been introduced for a validator's consensus address and
public key:
cosmosvalcons
andcosmosvalconspub
respectively. Also, existing Bech32 prefixes have been renamed for accounts and validator operators:cosmosaccaddr
/cosmosaccpub
=>cosmos
/cosmospub
cosmosvaladdr
/cosmosvalpub
=>cosmosvaloper
/cosmosvaloperpub
- [x/stake] [#1013] TendermintUpdates now uses transient store
- [x/stake] #2435 Remove empty bytes from the ValidatorPowerRank store key
- [x/gov] #2195 Governance uses BFT Time
- [x/gov] #2256 Removed slashing for governance non-voting validators
- [simulation] #2162 Added back correct supply invariants
- [x/slashing] #2430 Simulate more slashes, check if validator is jailed before jailing
- [x/stake] #2393 Removed
CompleteUnbonding
andCompleteRedelegation
Msg types, and instead added unbonding/redelegation queues to endblocker - [x/mock/simulation] #2501 Simulate transactions & invariants for fee distribution, and fix bugs discovered in the process
- [x/auth] Simulate random fee payments
- [cmd/gaia/app] Simulate non-zero inflation
- [x/stake] Call hooks correctly in several cases related to delegation/validator updates
- [x/stake] Check full supply invariants, including yet-to-be-withdrawn fees
- [x/stake] Remove no-longer-in-use store key
- [x/slashing] Call hooks correctly when a validator is slashed
- [x/slashing] Truncate withdrawals (unbonding, redelegation) and burn change
- [x/mock/simulation] Ensure the simulation cannot set a proposer address of nil
- [x/mock/simulation] Add more event logs on begin block / end block for clarity
- [x/mock/simulation] Correctly set validator power in abci.RequestBeginBlock
- [x/minting] Correctly call stake keeper to track inflated supply
- [x/distribution] Sanity check for nonexistent rewards
- [x/distribution] Truncate withdrawals and return change to the community pool
- [x/distribution] Add sanity checks for incorrect accum / total accum relations
- [x/distribution] Correctly calculate total power using Tendermint updates
- [x/distribution] Simulate withdrawal transactions
- [x/distribution] Fix a bug where the fee pool was not correctly tracked on WithdrawDelegatorRewardsAll
- [x/stake] #1673 Validators are no longer deleted until they can no longer possibly be slashed
- #1890 Start chain with initial state + sequence of transactions
- [cli] Rename
gaiad init gentx
togaiad gentx
. - [cli] Add
--skip-genesis
flag togaiad init
to preventgenesis.json
generation. - Drop
GenesisTx
in favor of a signedStdTx
with only oneMsgCreateValidator
message. - [cli] Port
gaiad init
andgaiad testnet
to work withStdTx
genesis transactions. - [cli] Add
--moniker
flag togaiad init
to override moniker when generatinggenesis.json
- i.e. it takes effect when running with the--with-txs
flag, it is ignored otherwise.
- [cli] Rename
SDK
- [core] #2219 Update to Tendermint 0.24.0
- Validator set updates delayed by one block
- BFT timestamp that can safely be used by applications
- Fixed maximum block size enforcement
- [core] #1807 Switch from use of rational to decimal
- [types] #1901 Validator interface's GetOwner() renamed to GetOperator()
- [x/slashing] #2122 - Implement slashing period
- [types] #2119 Parsed error messages and ABCI log errors to make them more human readable.
- [types] #2407 MulInt method added to big decimal in order to improve efficiency of slashing
- [simulation] Rename TestAndRunTx to Operation #2153
- [simulation] Remove log and testing.TB from Operation and Invariants, in favor of using errors #2282
- [simulation] Remove usage of keys and addrs in the types, in favor of simulation.Account #2384
- [tools] Removed gocyclo #2211
- [baseapp] Remove
SetTxDecoder
in favor of requiring the decoder be set in baseapp initialization. #1441 - [baseapp] #1921 Add minimumFees field to BaseApp.
- [store] Change storeInfo within the root multistore to use tmhash instead of ripemd160 #2308
- [codec] #2324 All referrences to wire have been renamed to codec. Additionally, wire.NewCodec is now codec.New().
- [types] #2343 Make sdk.Msg have a names field, to facilitate automatic tagging.
- [baseapp] #2366 Automatically add action tags to all messages
- [x/auth] #2377 auth.StdSignMsg -> txbuilder.StdSignMsg
- [x/staking] #2244 staking now holds a consensus-address-index instead of a consensus-pubkey-index
- [x/staking] #2236 more distribution hooks for distribution
- [x/stake] #2394 Split up UpdateValidator into distinct state transitions applied only in EndBlock
- [x/slashing] #2480 Fix signing info handling bugs & faulty slashing
- [x/stake] #2412 Added an unbonding validator queue to EndBlock to automatically update validator.Status when finished Unbonding
- [x/stake] #2500 Block conflicting redelegations until we add an index
- [x/params] Global Paramstore refactored
- [types] #2506 sdk.Dec MarshalJSON now marshals as a normal Decimal, with 10 digits of decimal precision
- [x/stake] #2508 Utilize Tendermint power for validator power key
- [x/stake] #2531 Remove all inflation logic
- [x/mint] #2531 Add minting module and inflation logic
- [x/auth] #2540 Rename
AccountMapper
toAccountKeeper
. - [types] #2456 Renamed msg.Name() and msg.Type() to msg.Type() and msg.Route() respectively
- [core] #2219 Update to Tendermint 0.24.0
Tendermint
- Update tendermint version from v0.23.0 to v0.25.0, notable changes
- Mempool now won't build too large blocks, or too computationally expensive blocks
- Maximum tx sizes and gas are now removed, and are implicitly the blocks maximums
- ABCI validators no longer send the pubkey. The pubkey is only sent in validator updates
- Validator set changes are now delayed by one block
- Block header now includes the next validator sets hash
- BFT time is implemented
- Secp256k1 signature format has changed
- There is now a threshold multisig format
- See the tendermint changelog for other changes.
- Update tendermint version from v0.23.0 to v0.25.0, notable changes
๐ FEATURES
Gaia REST API (
gaiacli advanced rest-server
)- [gaia-lite] Endpoints to query staking pool and params
- [gaia-lite] #2110 Add support for
simulate=true
requests query argument to endpoints that send txs to run simulations of transactions - [gaia-lite] #966 Add support for
generate_only=true
query argument to generate offline unsigned transactions - [gaia-lite] #1953 Add /sign endpoint to sign transactions generated with
generate_only=true
. - [gaia-lite] #1954 Add /broadcast endpoint to broadcast transactions signed by the /sign endpoint.
- [gaia-lite] #2113 Rename
/accounts/{address}/send
to/bank/accounts/{address}/transfers
, rename/accounts/{address}
to/auth/accounts/{address}
, replaceproposal-id
withproposalId
in all gov endpoints - [gaia-lite] #2478 Add query gov proposal's deposits endpoint
- [gaia-lite] #2477 Add query validator's outgoing redelegations and unbonding delegations endpoints
Gaia CLI (
gaiacli
)- [cli] Cmds to query staking pool and params
- [gov][cli] #2062 added
--proposal
flag tosubmit-proposal
that allows a JSON file containing a proposal to be passed in - #2040 Add
--bech
togaiacli keys show
and respective REST endpoint to provide desired Bech32 prefix encoding - [cli] #2047 #2306 Passing --gas=simulate triggers a simulation of the tx before the actual execution. The gas estimate obtained via the simulation will be used as gas limit in the actual execution.
- [cli] #2047 The --gas-adjustment flag can be used to adjust the estimate obtained via the simulation triggered by --gas=simulate.
- [cli] #2110 Add --dry-run flag to perform a simulation of a transaction without broadcasting it. The --gas flag is ignored as gas would be automatically estimated.
- [cli] #2204 Support generating and broadcasting messages with multiple signatures via command line:
- [cli] #2220 Add
gaiacli config
feature to interactively create CLI config files to reduce the number of required flags - [stake][cli] #1672 Introduced
new commission flags for validator commands
create-validator
andedit-validator
. - [stake][cli] #1890 Add
--genesis-format
flag togaiacli tx create-validator
to produce transactions in genesis-friendly format. - [cli]#2554 Make
gaiacli keys show
multisig ready.
Gaia
- [cli] #2170 added ability to show the node's address via
gaiad tendermint show-address
- [simulation] #2313 Reworked
make test_sim_gaia_slow
tomake test_sim_gaia_full
, now simulates from multiple starting seeds in parallel - [cli] #1921
- New configuration file
gaiad.toml
is now created to host Gaia-specific configuration. - New --minimum_fees/minimum_fees flag/config option to set a minimum fee.
- New configuration file
- [cli] #2170 added ability to show the node's address via
SDK
- [querier] added custom querier functionality, so ABCI query requests can be handled by keepers
- [simulation] #1924 allow operations to specify future operations
- [simulation] #1924 Add benchmarking capabilities, with makefile commands "test_sim_gaia_benchmark, test_sim_gaia_profile"
- [simulation] #2349 Add time-based future scheduled operations to simulator
- [x/auth] #2376 Remove FeePayer() from StdTx
- [x/stake] #1672 Implement basis for the validator commission model.
- [x/auth] Support account removal in the account mapper.
๐ IMPROVEMENTS
- ๐ [tools] Improved terraform and ansible scripts for infrastructure deployment
[tools] Added ansible script to enable process core dumps
Gaia REST API (
gaiacli advanced rest-server
)Gaia CLI (
gaiacli
)Gaia
- [x/stake] #2023 Terminate iteration loop in
UpdateBondedValidators
andUpdateBondedValidatorsFull
when the first revoked validator is encountered and perform a sanity check. - [x/auth] Signature verification's gas cost now accounts for pubkey type. #2046
- [x/stake] [x/slashing] Ensure delegation invariants to jailed validators #1883.
- [x/stake] Improve speed of GetValidator, which was shown to be a performance bottleneck. #2046
- [x/stake] #2435 Improve memory efficiency of getting the various store keys
- [genesis] #2229 Ensure that there are no duplicate accounts or validators in the genesis state.
- [genesis] #2450 Validate staking genesis parameters.
- Add SDK validation to
config.toml
(namely disablingcreate_empty_blocks
) #1571 - #1941 Version is now inferred via
git describe --tags
. - [x/distribution] #1671 add distribution types and tests
- [x/stake] #2023 Terminate iteration loop in
SDK
- [tools] Make get_vendor_deps deletes
.vendor-new
directories, in case scratch files are present. - [spec] Added simple piggy bank distribution spec
- [cli] #1632 Add integration tests to ensure
basecoind init && basecoind
start sequences run successfully for bothdemocoin
andbasecoin
examples. - [store] Speedup IAVL iteration, and consequently everything that requires IAVL iteration. #2143
- [store] #1952, #2281 Update IAVL dependency to v0.11.0
- [simulation] Make timestamps randomized #2153
- [simulation] Make logs not just pure strings, speeding it up by a large factor at greater block heights #2282
- [simulation] Add a concept of weighting the operations #2303
- [simulation] Logs get written to file if large, and also get printed on panics #2285
- [simulation] Bank simulations now makes testing auth configurable #2425
- [gaiad] #1992 Add optional flag to
gaiad testnet
to make config directory of daemon (defaultgaiad
) and cli (defaultgaiacli
) configurable - [x/stake] Add stake
Queriers
for Gaia-lite endpoints. This increases the staking endpoints performance by reusing the stakingkeeper
logic for queries. #2249 - [store] #2017 Refactor
gas iterator gas consumption to only consume gas for iterator creation and
Next
calls which includes dynamic consumption of value length. - [types/decimal] #2378 - Added truncate functionality to decimal
- [client] #1184 Remove unused
client/tx/sign.go
. - [tools] #2464 Lock binary dependencies to a specific version
- #2573 [x/distribution] add accum invariance
- [tools] Make get_vendor_deps deletes
๐ BUG FIXES
Gaia CLI (
gaiacli
)Gaia
- [x/stake] Return correct Tendermint validator update set on
EndBlocker
by not including non previously bonded validators that have zero power. #2189 - [docs] Fixed light client section links
- [x/stake] Return correct Tendermint validator update set on
SDK
- #1988 Make us compile on OpenBSD (disable ledger)
- #2105 Fix DB Iterator leak, which may leak a go routine.
- [ledger] #2064 Fix inability to sign and send transactions via the LCD by loading a Ledger device at runtime.
- #2158 Fix non-deterministic ordering of validator iteration when slashing in
gov EndBlocker
- [simulation] #1924 Make simulation stop on SIGTERM
- #2388 Remove dependency on deprecated tendermint/tmlibs repository.
- #2416 Refactored
InitializeTestLCD
to properly include proposing validator in genesis state. - #2573 [x/distribution] accum invariance bugfix
- #2573 [x/slashing] unbonding-delegation slashing invariance bugfix
-
v0.24.2 Changes
August 22nd, 2018.
๐ BUG FIXES
- Tendermint
- Fix unbounded consensus WAL growth
- Tendermint
-
v0.24.1 Changes
August 21st, 2018.
๐ BUG FIXES
- Gaia
- [x/slashing] Evidence tracking now uses validator address instead of validator pubkey
- Gaia
-
v0.24.0 Changes
August 13th, 2018.
๐ฅ BREAKING CHANGES
Gaia REST API (
gaiacli advanced rest-server
)- [x/stake] #1880 More REST-ful endpoints (large refactor)
- [x/slashing] #1866
/slashing/signing_info
takes cosmosvalpub instead of cosmosvaladdr - use time.Time instead of int64 for time. See Tendermint v0.23.0
- Signatures are no longer Amino encoded with prefixes (just encoded as raw bytes) - see Tendermint v0.23.0
Gaia CLI (
gaiacli
)- [x/stake] change
--keybase-sig
to--identity
- [x/stake] #1828 Force user to specify amount on create-validator command by removing default
- [x/gov] Change
--proposalID
to--proposal-id
- [x/stake, x/gov] #1606 Use
--from
instead of adhoc flags like--address-validator
and--proposer
to indicate the sender address. - #1551 Remove
--name
completely - Genesis/key creation (
gaiad init
) now supports user-provided key passwords
- [x/stake] change
Gaia
- [x/stake] Inflation doesn't use rationals in calculation (performance boost)
- [x/stake] Persist a map from
addr->pubkey
in the state since BeginBlock doesn't provide pubkeys. - [x/gov] #1781 Added tags sub-package, changed tags to use dash-case
- [x/gov] #1688 Governance parameters are now stored in globalparams store
- [x/gov] #1859 Slash validators who do not vote on a proposal
- [x/gov] #1914 added TallyResult type that gets stored in Proposal after tallying is finished
SDK
- [baseapp] Msgs are no longer run on CheckTx, removed
ctx.IsCheckTx()
- [baseapp] NewBaseApp constructor takes sdk.TxDecoder as argument instead of wire.Codec
- [types] sdk.NewCoin takes sdk.Int, sdk.NewInt64Coin takes int64
- [x/auth] Default TxDecoder can be found in
x/auth
rather than baseapp - [client] #1551: Refactored
CoreContext
toTxContext
andQueryContext
- Removed all tx related fields and logic (building & signing) to separate
structure
TxContext
inx/auth/client/context
- Removed all tx related fields and logic (building & signing) to separate
structure
- [baseapp] Msgs are no longer run on CheckTx, removed
Tendermint
- v0.22.5 -> See Tendermint PR
- change all the cryptography imports.
- v0.23.0 -> See
Changelog
and SDK PR
- BeginBlock no longer includes crypto.Pubkey
- use time.Time instead of int64 for time.
- v0.22.5 -> See Tendermint PR
๐ FEATURES
Gaia REST API (
gaiacli advanced rest-server
)- [x/gov] Can now query governance proposals by ProposalStatus
Gaia CLI (
gaiacli
)- [x/gov] added
query-proposals
command. Can filter bydepositer
,voter
, andstatus
- [x/stake] #2043 Added staking query cli cmds for unbonding-delegations and redelegations
- [x/gov] added
Gaia
- [networks] Added ansible scripts to upgrade seed nodes on a network
SDK
- [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
- Simulates Tendermint's algorithm for validator set updates
- Simulates validator signing/downtime with a Markov chain, and occaisional double-signatures
- Includes simulated operations & invariants for staking, slashing, governance, and bank modules
- [store] #1481 Add transient store
- [baseapp] Initialize validator set on ResponseInitChain
- [baseapp] added BaseApp.Seal - ability to seal baseapp parameters once they've been set
- [cosmos-sdk-cli] New
cosmos-sdk-cli
tool to quickly initialize a new SDK-based project - [scripts] added log output monitoring to DataDog using Ansible scripts
- [x/mock/simulation] Randomized simulation framework
๐ IMPROVEMENTS
Gaia
- [spec] #967 Inflation and distribution specs drastically improved
- [x/gov] #1773 Votes on a proposal can now be queried
- [x/gov] Initial governance parameters can now be set in the genesis file
- [x/stake] #1815 Sped up the processing of
EditValidator
txs. - [config] #1930 Transactions indexer indexes all tags by default.
- [ci] #2057 Run
make localnet-start
on every commit and ensure network reaches at least 10 blocks
SDK
- [baseapp] #1587 Allow any alphanumeric character in route
- [baseapp] Allow any alphanumeric character in route
- [tools] Remove
rm -rf vendor/
frommake get_vendor_deps
- [x/auth] Recover ErrorOutOfGas panic in order to set sdk.Result attributes correctly
- [x/auth] #2376 No longer runs any signature in a multi-msg, if any account/sequence number is wrong.
- [x/auth] #2376 No longer charge gas for subtracting fees
- [x/bank] Unit tests are now table-driven
- [tests] Add tests to example apps in docs
- [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
๐ BUG FIXES
Gaia CLI (
gaiacli
)Gaia
- [x/stake] #2077 Fixed invalid cliff power comparison
- #1804 Fixes gen-tx genesis generation logic temporarily until upstream updates
- #1799 Fix
gaiad export
- #1839 Fixed bug where intra-tx counter wasn't set correctly for genesis validators
- [x/stake] #1858 Fixed bug where the cliff validator was not updated correctly
- [tests] #1675 Fix non-deterministic
test_cover
- [tests] #1551 Fixed invalid LCD test JSON payload in
doIBCTransfer
- [basecoin] Fixes coin transaction failure and account query discussion
- [x/gov] #1757 Fix VoteOption conversion to String
- [x/stake] [#2083] Fix broken invariant of bonded validator power decrease
-
v0.23.1 Changes
July 27th, 2018
๐ BUG FIXES
- [tendermint] Update to v0.22.8
- [consensus, blockchain] Register the Evidence interface so it can be marshalled/unmarshalled by the blockchain and consensus reactors
- [tendermint] Update to v0.22.8