Alexander Bezobchuk
67f6b02118
Merge PR #4541 : Events Tracking / Tendermint v0.32.0 Update
...
* Update Tendermint to v0.32.0-dev0
* Initial refactor of tags
* Update event types and add unit tests
* Refactor context
* Update module manager
* Update result godoc
* Implement ToABCIEvents
* Update BaseApp
* Minor cleanup
* Fix typo
* Update x/bank message handler
* Update x/bank keeper
* Update x/bank
* Update x/bank events docs
* Update x/crisis module events
* Reset context with events on each message exec
* Update x/distribution events and docs
* Update BaseApp to not set empty events manually
* Implement simple event manager
* Update module manager
* Update modules to use event manager
* Update x/gov module to use events
* Update events docs
* Update gov queries and crisis app module
* Update bank keeper
* Add events to minting begin blocker
* Update modules to use types/events.go
* Cleanup x/mint
* Update x/staking events
* Update x/staking events
* Update events to have sender part of message.sender
* Fix build
* Fix module unit tests
* Add pending log entry
* Update deps
* Update x/crisis/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/bank/internal/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/distribution/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/mint/internal/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/slashing/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/staking/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/gov/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/gov/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/mint/abci.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/mint/abci.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/slashing/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/staking/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/slashing/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/staking/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/staking/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/staking/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Upgrade TM to v0.32.0-dev1
* Update events as strings
* Update Tendermint to v0.32.0-dev2
* Fix BaseApp unit tests
* Fix unit tests
* Bump tendermint version to v0.32.0
* typos
2019-06-26 18:03:25 +02:00
Ethan Frey
3950017bd9
Merge PR #4624 : Don't reject config files with create_empty_blocks=false
2019-06-26 08:30:35 -04:00
Ethan Frey
891eb8eec5
Merge PR #4613 : Only change rootmultistore hash when substore hashes change
2019-06-25 13:11:22 -04:00
Alexander Bezobchuk
f0ff0e87f3
Merge PR #4620 : Close Staking Iterators
2019-06-25 09:22:17 -04:00
Alexander Bezobchuk
b78c359a23
Merge PR #4605 : x/bank: Expected Keeeper
2019-06-24 16:45:09 -04:00
Alessio Treglia
7b5e6cee07
Remove client/input.{Buffer,Override}Stdin() functions ( #4602 )
...
Cobra's new release made them redundant.
Thanks: Juan Leni <juan.leni@zondax.ch> for the original patch.
2019-06-22 11:24:59 +02:00
Federico Kunze
eda558bc7e
Merge PR #4600 : Check Denom when (Un|Re)delegating
2019-06-20 09:51:18 -04:00
Alexander Bezobchuk
6d5ca0b4f1
Remove print response flag ( #4593 )
...
This flag isn't used anywhere and probably hasn't for quite some time.
2019-06-20 14:26:48 +02:00
Alessio Treglia
c530c1cbb7
Remove auth's AccountDecoder type ( #4588 )
...
AccountDecoder is now entirely redundant.
client package now does no longer depend on x/auth.
Context: #4488
2019-06-19 16:20:27 +02:00
Alessio Treglia
1eb7706c28
Separate account getters from client/context ( #4579 )
...
Account getters are removed from client context. x/auth has the
queriers necessary for retrieving account information.
These functions should be removed since they are currently
redundant and don't provide any extra value.
Closes : #4543
2019-06-19 14:24:11 +02:00
colin axner
84a2582877
remove BlockHeight in context ( #4580 )
...
closes #4578
2019-06-19 00:11:31 +02:00
colin axner
314af42d92
Reintroduce Coin.IsValid() ( #4558 )
...
Closes #4556
2019-06-18 18:02:31 +02:00
Alessio Treglia
1e7c4dd58a
Move /bank/balances/{address} REST endpoint into /x/bank ( #4570 )
...
Closes : #4560
2019-06-18 15:44:09 +02:00
Alessio Treglia
1fcac93d57
switch GetConfirmation()'s default to no ( #4575 )
...
client/input.GetConfirmation() returns true if and only if the
user's input is confirmative.
The function is used in places where fat-fingering may cause
financial loss, e.g. gaiacli tx send command. Thus it seems
wiser to provide a conservative default in order to protect
users from accidental mistyping.
Closes : #4564
2019-06-18 11:46:51 +02:00
Alessio Treglia
18415eedaf
Take empty input as yes answer ( #4565 )
...
Closes : #4564
2019-06-16 12:06:39 +02:00
Alexander Bezobchuk
ac2e765607
Merge PR #4561 : Add account JSON tag to AccountWithHeight
2019-06-15 16:17:39 +02:00
Alessio Treglia
73700df8c3
Merge PR #4555 : Move client/{tx,rest,utils} into x/auth/client
2019-06-15 14:34:11 +02:00
helldealer
941effc14d
Merge PR #4553 : Fix undelegate losing tokens issue
2019-06-15 10:26:17 +02:00
Alessio Treglia
1e9ca4a15b
x/bank: use internal package ( #4521 )
...
Reorganise x/bank packages and leverage internal special
package for enhanced encapsulation.
2019-06-14 16:10:37 +02:00
colin axner
95f3d32250
Merge PR #4536 : Return account queries with height
2019-06-13 15:54:17 +02:00
frog power 4000
8c89023e9f
Merge PR #4524 : Staking ValidatorPowerRank to use "Potential Consensus Power"
2019-06-12 17:57:47 +02:00
Alessio Treglia
8cc708b67c
Remove --cors flag ( #4525 )
...
The feature is long gone.
Thanks: Angelo Recca <a.recca@bitsong.io> for reporting this.
2019-06-10 17:01:48 +01:00
Alexander Bezobchuk
dc84c99dee
Revert "Generalize auth/types.StdSignature ( #4507 )" ( #4512 )
...
This reverts commit a32d5a46d7
.
2019-06-08 11:04:52 +01:00
Alessio Treglia
a32d5a46d7
Generalize auth/types.StdSignature ( #4507 )
...
New Signature interface available in the top level types package.
auth.StdSignature implements such interface. User defined auth
module can now define their own custom signature types.
Work carried out in the context of the following issues:
- #4488
- #4487
2019-06-07 14:21:35 +01:00
colin axner
c777fb9108
Merge PR #4505 : Support height queries in REST client
2019-06-07 09:02:07 -04:00
Alexander Bezobchuk
3180e68c7b
Merge PR #4499 : Remove Client Codec Redundancy
2019-06-06 11:43:15 -04:00
Alexander Bezobchuk
1ccf0c2e8d
Merge PR #4494 : Fix validator-outstanding-rewards command
2019-06-06 09:43:13 -04:00
frog power 4000
5f9c3fdf88
Merge PR #4451 : Client and Module Modularization
2019-06-05 19:26:16 -04:00
Federico Kunze
d322e23425
Merge PR #4417 : cleanup staking references from types pkg
...
* cleanup staking references from types pkg
* check interface on runtime
* fixes
* rename validator set from slashing keeper
* final cleanup
* fix test
* fix querier
* fix tests
* rename interfaces
* update bond status
* fixes
* expected pkg
* ensure expected keepers match used funcs
* cha cha cha
2019-06-04 15:06:58 -07:00
Federico Kunze
fe695b8f7b
Merge PR #4460 : Gov Keys and Iterators
...
* refactor gov keys
* iterators and renamings
* invert queue key order
* changelog
* fix tests
* update alias.go
* Apply suggestions from code review
Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* rename keys
* rename functions
* Apply suggestions from code review
Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* address Aleks' comments
* fix test
* address Karoly's comments
2019-06-04 11:38:11 -07:00
colin axner
6e2f5f3102
R4R: Support "unknown commands" for subcommands ( #4465 )
...
Fixes #4284
Now prints:
gaiacli query distr comission --trust-node cosmos1234
ERROR: unknown command "comission" for "distr"
Did you mean this?
commission
Adds custom argument validation for subcommands with subcommands. Doesn't affect "query" or "tx" subcommands since they reside in gaia repo. All flags except help are disabled for these commands.
2019-06-04 18:07:12 +01:00
Frank Yang
30550257a7
Merge PR #4456 : Using `QueryWithData` to query unbonding delegations
2019-06-04 08:05:44 -04:00
colin axner
9c049321a1
Merge PR #4466 : Lazy commission validation
2019-06-03 17:14:21 -04:00
Alexander Bezobchuk
6ec9b26cef
Merge PR #4454 : Implement MarshalJSON for Coins Type
2019-05-31 11:16:08 -04:00
Alessio Treglia
85ebf5f72e
Implement private keys export/import symmetric functionalities ( #4436 )
...
Add Keybase's ExportPrivKey()/ImportPrivKey() API calls to export/import
ASCII-armored private keys. Relevant keys subcommands are provided as well.
Closes : #2020
2019-05-30 16:44:28 +01:00
Frank Yang
1db10b0033
Configurable Bip44 CoinType & HdPath for SDK users ( #4300 )
...
Closes : #4144
2019-05-30 13:46:38 +01:00
Alexander Bezobchuk
8b1d75caa2
Merge PR #4382 : Support height queries for queriers
2019-05-28 20:58:33 -04:00
frog power 4000
73e5ef7c13
reduce module interdependancy, /client refactor ( #4415 )
...
* abstract staking BuildCreateValidatorMsg, genutil defines its own flags
* client/ refactor
* staking move keys from keeper to types
2019-05-28 09:44:04 +01:00
Joon
91e75cb74a
Merge PR #4403 : Paramchange proposal skips omitempty fields
2019-05-27 20:47:12 -04:00
frog power 4000
38f49e4114
Merge PR #4389 : stake invariance bug
...
* add trouble seed
* currentStakeRoundUp is now always atleast currentStake + smallest-decimal-precision
* remove unused code
* remove debugs
* @alexanderbez comment
* compile fix
* better comment, increase tolerance to 3 smallest decimal points
2019-05-24 21:23:53 -04:00
Juan Leni
68036ec71f
Merge PR #4384 : allow splitting withdrawal txs
...
* allow splitting withdrawal txs
* updating .pending
* small cleanup
* fixing build issue
* Update x/distribution/client/cli/tx.go
Co-Authored-By: Alessio Treglia <quadrispro@ubuntu.com>
* updating usage text
* fixing merge issue
* changes based on the review
* adding unit tests
* Update x/distribution/client/cli/tx.go
Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* adjustments from review
2019-05-23 19:00:26 -04:00
Alexander Bezobchuk
4f197ff904
Merge PR #4396 : Use TxSigLimit instead of default constant value
2019-05-23 14:08:51 -04:00
Alexander Bezobchuk
40518cb655
Merge PR #4395 : Improve sig verification error message
2019-05-23 09:45:03 -04:00
Yumin Xia
65be4dbf09
close db write batch after use ( #4379 )
...
Closes : #4381
2019-05-22 01:42:33 +01:00
Christopher Goes
dd89c32951
Community pool spend proposal ( #4329 )
...
Implement the "CommunityPoolSpendProposal" as described in Cosmos Hub proposal 7.
Also a useful test of Git flow for merging features passed in governance proposals.
2019-05-21 11:02:10 +01:00
Sunny Aggarwal
cca3c3cbf2
Merge PR #4374 : Don't Burn Deposits for Rejected Governance Proposals Unless Vetoed
2019-05-20 10:13:50 -04:00
Alexander Bezobchuk
722b314835
Merge PR #4375 : Add pending log entry
2019-05-20 04:17:04 -04:00
Alessio Treglia
71d71f2206
Remove gaia ( #4347 )
...
Gaia is removed from cosmos-sdk repository.
Few changes were required to make sure no packages depend on gaia subpackages.
CI config is amended accordingly.
Unnecessary targets are removed from Makefile.
Simulations run through a lightweight version of gaia renamed to simapp.
Closes : #4104
2019-05-18 10:42:24 +02:00
frog power 4000
cef788042b
Merge PR #4365 : Simulator bugfix for multisim 7601778
2019-05-17 19:45:36 -04:00
Alessio Treglia
ca4363ffb7
Merge PR #4351 : remove x/ dependency on cmd/gaia
...
* remove x/ dependency on cmd/gaia
This is an alternative patch to what is proposed in #4348
* Add pending entry
* Ditto for CollectGenTxsCmd
* Update pending
* Update tests
* Update pending
2019-05-16 21:34:54 -04:00