Marie
7f59723d88
Make JSONMarshaler methods require proto.Message ( #7054 )
...
* Make JSONMarshaler require proto.Message
* Use &msg with MarshalJSON
* Use *LegacyAmino in queriers instead of JSONMarshaler
* Revert ABCIMessageLogs String() and coins tests
* Use LegacyAmino in client/debug and fix subspace tests
* Use LegacyAmino in all legacy queriers and adapt simulation
* Make AminoCodec implement Marshaler and some godoc fixes
* Test fixes
* Remove unrelevant comment
* Use TxConfig.TxJSONEncoder
* Use encoding/json in genutil cli migrate/validate genesis cmds
* Address simulation related comments
* Use JSONMarshaler in cli tests
* Use proto.Message as respType in cli tests
* Use tmjson for tm GenesisDoc
* Update types/module/simulation.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update types/module/module_test.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Add godoc comments
* Remove unused InsertKeyJSON
* Fix tests
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-08-26 09:39:38 +00:00
atheeshp
78194e1cdd
gRPC gateway init ( #7019 )
...
* WIP: grpc server setup
* add register grpc routes
* updated go mod
* updated grpc for all modules
* added pb file for grpc gateway
* udpated gw file
* added a test for grpc route
* fixed conflicts
* added grpc server
* grpc tests added
* cleanup
* Fix gateway forward issue
* Add godoc
* updated tests
* fix lint
* fix tests
* fix tests
* fix tests
* fixed test
* Add grpc headers
* Fix error handling
* Fix tests - hacky
* Fix lint
* remove debug logs
* Fix review comments
* move grpc tests into a separate file
* Fix protobuf version
* Update x/capability/module.go
* Fix godoc
* Fix review suggestions
* Fix codec
* Add query params test for gateway request
* Fix gofmt
Co-authored-by: anilCSE <anil@vitwit.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-08-25 15:44:13 +00:00
Aditya
97df8b605c
Verify Client on Connection Handshake ( #7057 )
...
* verify client state
* add client state to msgs and retrieve in handler
* fix connection msgs
* fixed handshake tests
* fix tests
* fix sim tests
* revert pb edit
* add ValidateClient tests
* Apply suggestions from code review
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* fix tests
* fixed msgs test
* use ibctesting for client state consts
* Apply suggestions from code review
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* address rest of comments
* rename to ValidateSelfClient and update spec
* lint
* Update x/ibc/02-client/keeper/keeper_test.go
* Update x/ibc/02-client/keeper/keeper_test.go
* complete rest of review
* improve cov
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
2020-08-20 22:05:41 +00:00
Cory
f02b0b5745
Protobuf audit: base package, module packages, tx/Msg's ( #7059 )
...
* proto audits auth, bank, crisis, distribution
* audit module proto files
* audit base proto package
* make protogen
* golint
* fix gov genesis test
* Update proto/cosmos/bank/v1beta1/tx.proto
Co-authored-by: Aaron Craelius <aaron@regen.network>
* update coin metadata protos & documentation
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
2020-08-19 07:36:41 +00:00
Alexander Bezobchuk
7d2062b674
x/bank: gRPC Params Route ( #7070 )
...
* update x/bank proto gRPC query service
* fix path
* update keeper
* add godoc
* add test
* lint++
2020-08-17 13:55:04 +00:00
SaReN
77124da21a
Add cli test for query Account ( #6973 )
...
Closes : #7007
Ref: #6571
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-08-17 13:47:31 +01:00
Neeraj Murarka
2079576cbe
Replaced hardcoded 'cosmos' and 'cosmosvaloper' help references ( #7056 )
...
* Replaced hardcoded 'cosmos' and 'cosmosvaloper' help references
* Ran make format target
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-08-17 09:04:50 +00:00
Marko
8de96d16f9
tendermint: update to rc3 ( #6892 )
...
* modify light imports
* change abci.header to tmproto.header
* use rc
* rc
* fix import
* Merge PR #6893 : fix key imports
* fix rc2
* tendermint: update 3 (#6899 )
* tendermint: update 4 (#6919 )
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* tendermint: update 5 (#6923 )
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* bump to latest master
* tendermint: update (#6972 )
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
Co-authored-by: Cory Levinson <cjlevinson@gmail.com>
* Update x/ibc/07-tendermint/types/test_utils.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* address comment
* go mod
* bring back things
* fix test
* update tm proto files
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
Co-authored-by: Cory Levinson <cjlevinson@gmail.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
2020-08-14 13:58:53 -04:00
atheeshp
f87624e9de
Add Grpc gateway annotations ( #6918 )
...
* grpc for bank module
* edit module.go
* added annotations for x/auth query proto
* generated gw file
* added grpc gateway for x/staking query proto
* added annotations for evidence
* added annotations for gov query proto
* added annotations
* added annotations for slashing module
* updated annotations
* added annotations for staking module
* added annotations for upgrade query
* annotations added for x/ibc/channel query proto
* added annotations for ibc/connection query proto
* updated annotations
* updated annotations
* annotation changes
* ommitted ibc module
* updated go.mod
* fixed lint issue
* review changes
* review changes
* review changes
* review changes
* go sum changes
* updated annotations
* annotation changes
* Fix proto lint issues
* review changes
* review changes
* review changes
* discussion changes
* review changes
* grpc for bank module
* edit module.go
* added annotations for x/auth query proto
* generated gw file
* added grpc gateway for x/staking query proto
* added annotations for evidence
* added annotations for gov query proto
* added annotations
* added annotations for slashing module
* updated annotations
* added annotations for staking module
* added annotations for upgrade query
* annotations added for x/ibc/channel query proto
* added annotations for ibc/connection query proto
* updated annotations
* updated annotations
* annotation changes
* ommitted ibc module
* updated go.mod
* fixed lint issue
* review changes
* review changes
* review changes
* review changes
* go sum changes
* updated annotations
* annotation changes
* Fix proto lint issues
* review changes
* review changes
* review changes
* discussion changes
* review changes
* fixed conflicts
* review changes
* updated gw files
* lint
* lint
* lint
* added missing annotations
* review changes
* review changes
* review changes
* review changes
Co-authored-by: SaReN <sahithnarahari@gmail.com>
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
2020-08-14 10:05:35 +00:00
Amaury Martiny
5559af8b97
Proto Auditing: Replace ID with Id ( #7032 )
...
* Proto Auditing: Replace ID with Id
* make proto-gen
* Update docs
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-08-14 08:55:54 +00:00
Jonathan Gimeno
4c762db64e
upgrade proposal needs tx flags. ( #6981 )
...
* upgrade proposal needs tx flags
* use AddTxFlagToCmd to every proposal command
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-08-13 15:46:12 +00:00
Aaron Craelius
816c5a37bd
Enable proto JSON generally and remove HybridCodec ( #6859 )
...
* Remove HybridCodec
* WIP on fixing proto JSON issues
* WIP on fixing proto JSON issues
* WIP on fixing proto JSON issues
* WIP on fixing proto JSON issues
* WIP on fixing proto JSON issues
* Test fixes
* Delete hybrid_codec.go
* Fixes
* Fixes
* Fixes
* Test fixes
* Test fixes
* Test fixes
* Lint
* Sim fixes
* Sim fixes
* Revert
* Remove vesting account JSON tests
* Update CHANGELOG.md
* Lint
* Sim fixes
* Sim fixes
* Docs
* Migrate more amino usages
* Remove custom VoteOption String() and json marshaling
* Fix tests
* Add comments, update CHANGELOG.md
Co-authored-by: Jonathan Gimeno <jgimeno@gmail.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-08-13 13:20:02 +00:00
Amaury Martiny
134e1dcecd
Protobuf Audit: Genesis states ( #6978 )
...
* Remove some casttypes
* Add more comments
* Finish remaining modules
* Fix lint
* Revert customname
* Revert evidence
* Review nits
* Consistent doc for genesis state
* Make proto-gen
* Update docs for capability
* Remove useless customtype
* Update proto/cosmos/auth/v1beta1/genesis.proto
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
* Add godoc
* Update proto/cosmos/evidence/v1beta1/genesis.proto
Co-authored-by: Marie <marie.gauthier63@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
Co-authored-by: Marie <marie.gauthier63@gmail.com>
2020-08-12 15:48:22 +00:00
Aaron Craelius
20c5ee3624
Enable proto JSON for genesis ( #7000 )
...
* Enable proto JSON for genesis
* Test fixes
* Cleanup
* Cleanup
* Cleanup
* Update CHANGELOG.md
* Protogen
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: SaReN <sahithnarahari@gmail.com>
2020-08-11 14:22:30 +00:00
Cory
61a97ef347
Audit / Refactor proto packages layout ( #6905 )
...
* create base proto package, move ValAddresses to staking
* move tx, crypto, query proto packages into base; mark module level packages as beta
* new cosmos/base/abci.proto file, refactor some message names
* add comments to TxResponse
* refactor RegisterInterface calls to new proto package names
* fix bug in merge commit
* move missing module proto packages to beta, move cosmos.kv to cosmos.base.kv
* add tx.proto files, holding proto messages for module Msgs
* rm old generated pb.go files
* cosmos/base/base.proto -> cosmos/base/coin.proto
* mark genutil proto package as beta
* Fix conflicts
* Restructure proto files
* Re put signing
* Fix test
* Update slashing genesis
* Ignore confio proto files
* Fix interface register
* Make proto-gen
* Fix lint
* Put tx service into tx.v1beta1
* Use v1beta1 in interface registry
* Remove to cosmos.base.store
* Remove extra confio in buf
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-08-11 11:49:45 +00:00
Alexander Bezobchuk
0f44d1af23
store: Remove Amino ( #6984 )
...
* Update kv pair to proto
* updates
* fix LastCommitID
* lint++
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-08-11 10:09:16 +00:00
Aaron Craelius
7de8ef75b3
Require proto.Message in client.Context.PrintOutput ( #6999 )
...
* Enable proto JSON json for cli tx & query
* WIP on tests
* Test fixes, cleanup
* Cleanup
* Address review comments
* Update client/context.go
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
* Fixes
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
2020-08-11 03:19:49 -04:00
dauTT
20c80cfd44
Rename *codec.Codec to *codec.LegacyAmino ( #6991 )
...
* Rename *codec.Codec to *codec.LegacyAmino
* Implement requested changes
Co-authored-by: Aaron Craelius <aaron@regen.network>
2020-08-10 19:41:21 +00:00
Amaury Martiny
6e3c268a72
Protobuf audit: Queries ( #6967 )
...
* Add required fields for queries, p1
* Add comments
* Remove required
* More modules
* 2 to go
* Finish all modules
* Fix typo
* Fix test
* Make proto-gen
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-08-10 08:12:59 +00:00
atheeshp
3322e269a1
Add pagination response for commands ( #6825 )
...
* migrated auth cli to use grpc query client
* unpacker added for account command
* fxed tests
* added grpc register in module.go
* fixed grpc failing issue
* page resonse added for console
* added reference
* paginations res added for commands
* Fix auth cli tests
Co-authored-by: SaReN <sahithnarahari@gmail.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-08-07 10:20:22 +00:00
SaReN
95cf3c95a6
Remove old tx code from rest ( #6939 )
...
* Cleanup rest txs
* Remove nolint
* Update x/ibc to use WriteGeneratedTxResponse
* Update marshaler usages
* Fix PostProcessResponse test
* Update PostProcessResponse
2020-08-05 18:08:13 +00:00
Marko
617b822efa
types: add kv type ( #6897 )
...
* add kv type
* add changelog entry
* fix build
* replace sdkkv with kv
* revert change
* fix some tests
* proto-gen
* fix tests
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-30 14:53:02 +00:00
SaReN
72ebafeeca
Update auth cli commands ( #6717 )
...
* add utils
* update sign cmd
* update multisign cmd
* update sign batch cmd
* update genutil cmd
* add wrap tx builder
* update gentx cli
* update validate sigs cmd
* fix lint
* add flag reader to cli
* update marshaler for batchscan
* add register query server
* update to master
* remove depricated methods
* fix keyring issue
* update wraptx
* Fix batch scan
* fix register interfaces issue
* update printOutput
* Update Validate Sigs test
* WIP on signature JSON
* Cleanup
* Cleanup
* Test fixes
* Test fixes
* Fixes
* WIP on tests
* Fix gov tests
* fix lint
* fix MultiSign tests
* fix tests
* refactor tests
* Cleanup
* Address review comments
* Update encode
* Test fix
* Rename SignData func
* Fix lint
* Fix lint
* Revert ReadTxCommandFlags
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
2020-07-29 22:33:42 +00:00
SaReN
804b80a82c
Migrate gov, ibc-transfer genesis state to proto ( #6866 )
...
* Migrate gov genesis state
* Migrate ibc-transfer genesis state
* format genesis proto
2020-07-28 19:57:09 +00:00
SaReN
919e906866
Minor Code Cleanup - gRPC queries ( #6862 )
...
* add missing RegisterQueryService
* Update generated proto files
* Update grpc tests for auth,bank
* Make format
* fix godoc
* Address suggestions
* Update godoc
2020-07-28 12:53:35 +00:00
Marie
f59df68a97
Migrate x/genutil to use TxConfig ( #6734 )
...
* Update genutil collect and gentx to use TxGenerator
* Remove print statement
* Use Tx in genutil DeliverGenTxs
* Use Tx in genutil genesis_state
* Use Tx in ValidateGenesis
* Use amino txJSONDecoder and txBinaryEncoder in genutil InitGenesis
* Use TxConfig in place of TxGenerator
* Add gentx tests
* Remove commented line
* Test fixes
* Apply suggestions from code review
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* Fixes
* Fixes
* Fixes
* Fixes
* Remove unneeded test case (doesn't apply to proto marshaling)
* linting
* Refactor to use new TxEncodingConfig interface in genutil module
* Replace golang/protobuf with gogo/protobuf package
* Use TxEncodingConfig in InitTestnet
* Remove old amino.go file
* Use TxJSONDecoder in genutil ValidateGenesis
* Add parameter to ValidateGenesis to resolve the tx JSON decoder issue
* Address review feedback
Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-25 08:10:04 +00:00
Anil Kumar Kammari
3bafd8255a
Remove hybrid codec usage ( #6843 )
...
* remove hybrid codec for slashing, staking and upgrade
* Remove hybridcodec from params and mint
* revert staking
* Fix gov
* Fix ibc and evidence
* Fix ibc-transfer
* Fix staking
* remove evidence json marshaling
* Fix tests
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: Aaron Craelius <aaronc@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-07-25 08:03:58 +00:00
Aaron Craelius
80f7ff62f7
Start removing HybridCodec (init + auth, bank, distribution) ( #6838 )
...
* Start to remove HybridCodec
* Rename
* Fixes
* Test fixes
* Cleanup
2020-07-24 19:04:29 +00:00
Anil Kumar Kammari
e906c012a0
add page flag for CLI queries ( #6824 )
...
* add page flag for CLI queries
* fix review suggestions
* Fix `page` flag default value
* fix offset calc
* Apply suggestions from code review
Co-authored-by: Aaron Craelius <aaron@regen.network>
* fix review suggestions
* refactor
* fix returning error
Co-authored-by: SaReN <sahithnarahari@gmail.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-24 08:17:11 +00:00
Aaron Craelius
1538e65478
Fix module interface registration ( #6834 )
2020-07-23 22:45:34 -04:00
Marko
e6a56226a8
context: remove verifier & trust node ( #6805 )
...
* remove verifier
* more removal of trustnode flag
* add todo
* fix lint
* remove file
* remove viper and add link to issue
* remve mention of trustnode
2020-07-23 06:44:18 +00: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
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
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
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
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
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
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
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
dauTT
6f928e1c4d
x/gov/simulation/operations.go: add unit tests ( #6723 )
...
* Rename SimulateSubmitProposal to SimulateMsgSubmitProposal to keep naming convention the same as in other similar cases
* x/gov/simulation/operations.go: add unit tests
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-07-15 05:44:53 -04:00
SaReN
b9f86dd7fe
Update simapp helpers to use Tx generator ( #6655 )
...
* update helpers to use tx generator
* update modules to use tx generator
* add todo
* update ibc to use txG
* fix lint
* Eliminate panics from Gentx
* update module ops
* fix lgtm alert
* update ibc with txG
* Remove todo
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* move simapp/helpers to test_helpers
* revert simapp/helpers to test_helpers
* revert renaming
* address suggestion
Co-authored-by: Aaron Craelius <aaron@regen.network>
* fix tests
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-14 17:33:31 +00:00
Alexander Bezobchuk
5d50e13425
cleanup x/bank and x/crisis ( #6697 )
2020-07-13 06:55:58 +00:00