David Ackerman
5d71020270
Merge PR #6810 : Add transport flag to start command
2020-07-21 15:01:30 -04:00
atheeshp
470465d792
x/auth: cli gRPC migration ( #6809 )
...
* migrated auth cli to use grpc query client
* unpacker added for account command
* fxed tests
2020-07-21 17:48:37 +00:00
colin axner
97a83e9c78
Update IBC events docs and code ( #6798 )
...
* update msgs type from opaque
* update spec for createclient
* update events spec for handshake cals
* update packet events for spec and code
* add relayer events doc
* update ibc-transfer events
* fix build
* small fix from self review
* update channel msgs types
* acknowledgement_packet -> acknowledge_packet
* Apply suggestions from code review
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* fix spec issues for ibc and ibc-transfer
* add golang relayer link
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-07-21 12:56:14 -04:00
atheeshp
9ee14ee985
Add pagination flags to x{ibc, bank} ( #6804 )
...
* updated pagination flags
* updated all balances pagination flags
* updated all balances
* some doc updates
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-07-21 15:36:45 +00:00
Alexander Bezobchuk
61d69a978f
Merge PR #6806 : Docs & Cleanup
2020-07-21 11:28:43 -04:00
Amaury Martiny
61d0c4adcd
proto: Consistent naming for Params ( #6803 )
...
* Use consistent "Params" in proto
* Update comments
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-07-21 14:04:51 +00:00
Alexander Bezobchuk
0ccc48d2a3
CLI/Tests: Remove Fixtures ( #6799 )
...
* remove fixtures
* setup tests
* update x/mint
* cli: update x/staking commands
* tests: convert x/staking CLI tests
* tests: fix x/auth CLI tests
* cli updates
* fix buiild
* fix build
* Update x/gov/client/cli/cli_test.go
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
* remove GenerateOrBroadcastTx
* move TestCLIQueryConn
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
2020-07-21 13:54:07 +00:00
Alessio Treglia
6e7ce48b31
CHANGELOG.mg: merge v0.39.0 back in ( #6802 )
2020-07-21 12:25:14 +02:00
dauTT
efa73c7edb
Merge PR #6800 : Cosmetic changes
2020-07-20 16:22:46 -04:00
Amaury Martiny
69bbb8b327
Rename proto Req/Res to Pagination ( #6796 )
...
* Rename proto Req to Pagination
* Change Res to Pagination
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-20 16:51:16 +00:00
Alexander Bezobchuk
515b25b94e
Context: Remove Init/New ( #6797 )
...
* init commit
* remove new/init functions
* update CLI commands
* tests: fix TestCLIQueryConn
* remove viper
2020-07-20 16:42:46 +00:00
billy rennekamp
cde3f46d52
Add validation to prevent empty store keys ( #6754 )
...
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-20 18:05:01 +02:00
colin axner
79fa06b26c
remove IBC ante handler in favor of using handler ( #6793 )
...
* remove IBC ante handler, add calls to handler
* move some events upstream to handler
* remove change log entry
* move ante handler tests to handler
* fix build
* update docs
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-07-20 15:25:57 +00:00
Jonathan Gimeno
54141887b5
Add home default to other commands. ( #6789 )
...
* Add home default to other commands.
* add defaultNodeHome to rest of commands
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-20 15:12:33 +00:00
dauTT
2247465fa3
x/distribution/simulation/operations.go: add unit tests ( #6764 )
...
* x/distribution/simulation/operations.go: add unit tests
* Use NewDecCoins constructor instead of the DecCoins struct
* Refactor code to use a testing suite
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-07-20 15:05:41 +00:00
Amaury Martiny
8e61ef86c3
x/{gov,params,upgrade,distribution} CLI: In-Process test & use grpc query service ( #6664 )
...
* refactor CLI to use grpc query service
* In process CLI for gov
* ReadQueryCommandFlags
* gov tx
* Fix compiler errors
* Formatting
* x/distribution: use gRPC query
* Consistent
* Fix x/distrib test
* Update x/gov
* Add ReadQueryCommandFlags
* Fix lint
* Revert x/params
* x/params use grpc query
* Fix tests
* Use page request
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-20 13:09:57 +00:00
colin axner
1d6344888e
Fix query unrelayed packets logic ( #6733 )
...
* add some query functions to channel keeper
* update grpc queries and cli cmd and tests
* rerun proto gen after merging master
* fix build broken from merge conflicts
* add test and update proto
* Update x/ibc/04-channel/client/cli/query.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-07-20 12:42:36 +00:00
Amaury Martiny
5c0e3b4de5
x/auth/ante: Migrate tests to use the new client.TxConfig ( #6661 )
...
* WIP: using encoding config
* Make it compile, test fails
* test should be okay
* Make tests pass
* Add comments
* Convert more tests
* Make TestAnteHandlerSigErrors work
* Make first 2 tests pass
* TestAnteHandlerAccountNumbers
* Use table tests
* Remove print
* Use test table
* TestAnteHandlerSigErrors
* TestAnteHandlerAccountNumbers
* TestAnteHandlerAccountNumbers
* Refactor TestAccount
* Refactor getSignBytes
* TestAnteHandlerAccountNumbersAtBlockHeightZero
* TestAnteHandlerSequences
* TestAnteHandlerFees
* TestAnteHandlerMultiSigner
* TestAnteHandlerBadSignBytes
* TestAnteHandlerSetPubKey
* TestAnteHandlerSigLimitExceeded
* TestCustomSignatureVerificationGasConsumer
* TestAnteHandlerReCheck
* Make all tests pass
* Refactor a little bit more
* Fee test
* SetupTest
* All tests pass
* Refactor to RunTestCase
* Don't use StdFee
* Revert some little stuff
* Finish up last couple of test cases
* Less verbose
* s/TxGenerator/TxConfig
* Add comments
* Indent
* Move KeyTestPubAddr to testdata
* Move testdata to /testutil
* Revert to use signature: nil step in signing
* Add comments
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-07-20 08:30:12 -04:00
Finn
cc96e5c16f
x/staking: add call to iterator Close method ( #6791 )
...
Co-authored-by: FinnZhang <>
2020-07-20 04:30:09 -04:00
dauTT
b3838394e7
x/gov/simulation/params.go: add unit tests ( #6738 )
...
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-07-19 21:57:14 +00:00
atheeshp
3123d07ad9
Update x/{mint,slashing,evidence} cli to use gRPC query client ( #6704 )
...
* changes cli to use gRPC in mint, slashing
* added command for signing infos
* gRPC query client migration of evidence
* review changes
* added unpack any
* fixed build error
* fixed failing tests issue
* added read flags
* added pagination flags
* updated docs
* fixed tests issue
* failing tests
* fixed tests
* review changes
* review changes
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
2020-07-19 06:16:57 -04:00
dauTT
13b5a8d670
Merge PR #6771 : x/bank/simulation/operations.go: add unit tests
2020-07-18 19:47:22 -04:00
Alexander Bezobchuk
b9f533d51f
Merge PR #6778 : fix TestGetCmdQueryCommunityPool
2020-07-18 19:12:51 -04:00
Cory
8dcae706db
Merge PR #6777 : update NewABCIMessageLog to take uint32, update UnsafePackAny comment
2020-07-18 13:56:41 -04:00
dauTT
5a5a402518
Merge PR #6775 : x/auth/simulation/genesis.go: add unit tests
2020-07-18 13:46:56 -04:00
dauTT
f59ea26941
Merge PR #6774 : x/auth/simulation/params.go: add unit tests
2020-07-18 13:23:37 -04:00
dauTT
d5bd38fa3d
Merge PR #6773 : x/bank/simulation/params.go: add unit tests
2020-07-18 13:06:21 -04:00
dauTT
9262319caf
Merge PR #6772 : x/bank/simulation/genesis.go: add unit tests
2020-07-18 12:53:39 -04:00
dauTT
4b07cb6cc4
Merge PR #6768 : x/distribution/simulation/params.go: add unit tests
2020-07-18 12:47:22 -04:00
dauTT
0033f24650
Merge PR #6770 : x/capability/simulation/genesis.go: add unit tests
2020-07-18 12:40:08 -04:00
dauTT
07a6bd4321
Merge PR #6769 : x/distribution/simulation/genesis.go: add unit tests
2020-07-18 12:34:15 -04:00
dauTT
6b5733918b
Merge PR #6767 : x/distribution/simulation/proposals.go: add unit tests
2020-07-18 12:19:00 -04:00
Alexander Bezobchuk
e59781eca7
Merge PR #6765 : x/auth: Finish CLI Refactor
2020-07-17 16:20:45 -04:00
Adam Bozanich
f33749263f
Merge PR #6761 : telemetry: use UTC() in wrappers
2020-07-17 15:33:50 -04:00
Cory
32de79d0aa
refactor auths broadcast cmd in alignment with #6216 ( #6713 )
...
* refactor auths broadcast cmd in alignment with #6216
* add TxResponse proto definition, and related refactoring
* re-run make proto-gen, updating staking.pb.go
* cleanup TxResponse tests to handle nil return values
* properly handle nil Tx value in TxResponse's implementation of UnpackInterfaces
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-07-17 17:17:21 +00:00
Alexander Bezobchuk
5c86ecd1f8
Fix measure since ( #6759 )
...
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-07-17 15:34:37 +00:00
atheeshp
c37f683cc1
x/staking: cli migration to use gRPC query client ( #6728 )
...
* migrated to use gRPC query client
* removed codecs usage
* review change
* added read command flags
* added pagination flags
* fixed limit issue
* added helper function for default pagination flags
* review changes
* review change
* review changes
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-17 15:23:42 +00:00
Jonathan Gimeno
cdcb51a922
Merge PR #6750 : Revert to allow to set DefaultNodeHome as a param in genutil CLI cmds
2020-07-17 10:20:31 -04:00
Cory
d3056a9d64
Reset stale job to only mark PRs as stale ( #6757 )
...
* reset stalebot to only mark PRs as stale
* Update .github/workflows/stale.yml
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-07-17 14:06:56 +00:00
daoleno
f208b9b9fe
Update cn document ( #6753 )
...
* Formatting documents
* Fixing typos
* Update the intro document to the latest version
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-07-17 10:53:39 +00:00
colin axner
10783f27d0
remove unnecessary func ( #6746 )
2020-07-16 14:31:06 +00:00
dauTT
ebc3ad6843
x/evidence/simulation/genesis.go: add unit tests ( #6740 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-16 09:42:06 +00:00
atheeshp
28269908d9
x/gov: gRPC query Service ( #6491 )
...
* WIP: adding gRPC for gov
* removed passing new store
* fixed error
* added register query service in module
* order of imports changed
* order of imports changed
* Fix proto file
* added get all proposals grpc
* added more tests
* added doc in tests
* added grpc for votes
* Added grpc for Deposits
* updated protos
* added grpc for proposal, vote, deposit, tally
* WIP: adding params grpc
* added params in gRPC
* updated error messages
* fixed error check
* added more tests
* updated tests
* added yaml types
* review changes and lint issues
* updated tests
* code cleanup
* removed cosmos.gov prefixes
* added more checks
* added more test checks
* added filtered pagination
* removed test check
* added tests for filtered pagination
* Fix Proposals
* lint
* fixed error in tests
* lint issues
* Add nil check for params
* Added unpacker
* removed casttypes
* review changes
* use suite in grpc query tests
* migrated tests to use suite
* fix non-determinism
* tests migrated to table driven tests
* fixed doc typo
* revert change
* Merge branch 'master' of github.com:cosmos/cosmos-sdk into atheesh/5921-grpc-x-gov
* review changes
* review changes
* review changes
* review change
* review changes
* docs updated
* review change
* review changes
* review changes
* review changes
* Update x/gov/keeper/keeper_test.go
Co-authored-by: sahith-narahari <sahithnarahari@gmail.com>
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-16 09:16:23 +00:00
dauTT
ab162a6d38
x/gov/simulation/proposals.go: add unit tests ( #6737 )
...
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-16 08:56:18 +00:00
dauTT
ffff6a21cd
x/gov/simulation/genesis.go: add unit tests ( #6739 )
...
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-16 08:45:45 +00:00
Marko
de08dc4288
bump versiion of ci linter fix ( #6743 )
2020-07-16 08:38:29 +00:00
dependabot-preview[bot]
ac6e26ce7d
build(deps): [security] bump lodash from 4.17.15 to 4.17.19 in /docs ( #6742 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19. **This update includes a security fix.**
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-16 04:19:33 -04:00
Marko
e35fa15214
bump version of ci linter ( #6741 )
2020-07-16 09:51:10 +02:00
Emmanuel T Odeke
1d711f537c
x/auth/signing/direct: increase test coverage to 100% from 83.3% ( #6731 )
...
Ensure that all known routes for GetSignBytes are explored for
DirectHandler.
2020-07-16 03:48:36 -04:00
colin axner
a65bcdd7e5
add custom relative and absolute timeouts to ibc-transfer ( #6724 )
...
* add custom relative and absolute timeouts
* fix misspell
* Update x/ibc-transfer/client/cli/tx.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-07-15 13:32:09 +00:00