Jonathan Gimeno
626f9b62c5
add pagination ( #6163 )
...
* add pagination
* make test pass with validators
* add pagination option
* unbonding delegations test added
* test unbondedvalidators pagination
* clean test
* remove comment
* remove comment
* add page and limit to unbonding delegations
* add flag limit and page for delegations-to command
* refactor hardcoded string values
* udpate page and limit for validator
* update changelog
* add pagination option
* add defaults
* Update CHANGELOG.md
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-06-06 17:32:15 +00:00
colin axner
71374d0eca
add contextual info to sigverify err msg ( #6355 )
...
* update sigverify error message
* whoops, use get sequence
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-06 08:05:30 +00:00
Aaron Craelius
43947ca2ef
Add RegisterQueryService to AppModule ( #6336 )
...
* Add RegisterQueryService to AppModule
* Update CHANGELOG.md
* Update CHANGELOG.md
* Wire up BaseApp, fix tests
* Add mock test
* add missing file
* Update types/module/module.go
* Update CHANGELOG.md
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-06 07:59:57 +00:00
Aaron Craelius
7eeb086d3a
ADR 023 Protobuf Naming and Versioning ( #6083 )
...
* First work on ADR 023
* WIP on ADR 023
* Fill out descriptions
* Review test
* Updates
* Update docs/architecture/adr-023-protobuf-naming.md
Co-Authored-By: Marko <marbar3778@yahoo.com>
* Add ICS name suggestion
* cosmos.libs -> base, mention alias
* fix diff
* Update docs/architecture/adr-023-protobuf-naming.md
* Update docs/architecture/adr-023-protobuf-naming.md
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* Update version suffixing
* Describe RPC req/res type names
* Retain Msg prefix
Co-authored-by: Marko <marbar3778@yahoo.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-06-05 19:46:56 +00:00
Aaron Craelius
72925fa9ee
Add basic x/bank gRPC query service ( #6343 )
...
* Add basic x/bank gRPC query server
* proto lint
* Add pb.go file
* cleanup
* add separate grpc query tests
* Add request validation
* Use gRPC status errors
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-06-05 18:10:04 +00:00
dependabot-preview[bot]
6139c0466e
build(deps): [security] bump websocket-extensions in /docs ( #6352 )
...
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node ) from 0.1.3 to 0.1.4. **This update includes a security fix.**
- [Release notes](https://github.com/faye/websocket-extensions-node/releases )
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md )
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-05 13:16:53 -04:00
colin axner
246f06d1a8
reformat PR Template ( #6260 )
...
* adjust pr template
* moves #closes to above description
* move closes into description
* rm extra space
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Marko <marbar3778@yahoo.com>
2020-06-05 16:52:20 +00:00
Mikhail Kornilov
ced080af95
Baseapp recovery middleware ( #6053 )
...
* baseapp: custom panic handling withing app.runTx method
* baseapp: recovery middleware chain unit test added
* CHANGELOG.md update
* ADR-22 link added; godocs update
* CHANGELOG.md: ADR-022 url fix
* CoreDocs added for custom panic recovery middleware
2020-06-05 16:48:18 +00:00
Aaron Craelius
1e6953ccdf
Fix proto3 JSON ( #6345 )
...
* Fix jsonpb
* linting
* cleanup
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-06-05 14:20:41 +00:00
Alessio Treglia
e248693ac8
x/auth/client: remove duplicate flags ( #6348 )
2020-06-05 16:14:22 +02:00
Federico Kunze
1a5f2b7859
x/ibc-transfer: custom absolute packet timeout ( #6248 )
...
* x/ibc-transfer: custom timeout
* remove destHeight field
* cleanup
* fix test
* replace CLI arg for flag
* update CLI
* viper get flag
* address comments from review
* update cmd example:
* update spec
* address comments from review
2020-06-04 19:30:56 +00:00
Aaron Craelius
c1355d0b45
Integrate gRPC queries into BaseApp ( #6335 )
...
* Rename GRPCRouter to GRPCQueryRouter, add to BaseApp
* Rename field
* add comment
* Update baseapp/abci.go
* Update baseapp/abci.go
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* Address review feedback
* Improve code reuse
* Fix errors
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-06-04 18:48:06 +00:00
colin axner
b1f483fe24
move packet executed call to ibc handler ( #6312 )
...
* move packet executed to within ibc handler
* add spec updates
* godoc and nil check to lenght
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-06-04 11:24:21 +00:00
colin axner
50d748bffb
remove duplicate event emission ( #6328 )
...
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-06-04 10:59:13 +00:00
Aaron Craelius
81d647e505
Move codec.RegisterCrypto and codec.Cdc to new packages ( #6330 )
...
* Move codec.Cdc to legacy_global.Cdc
* Update CHANGELOG.md
* Updates
* nit
* Fix imports
* Updates
* Use cosmos multisig instead of tendermint multisig everywhere
* Fix tests
* Rename legacy_global -> legacy
* Add doc.go
* Linting, move all RegisterCrypto calls to crypto/codec
* Update crypto/codec/amino.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-06-04 10:38:24 +00:00
dependabot-preview[bot]
dcbf152ae5
build(deps): bump google.golang.org/grpc from 1.28.1 to 1.29.1 ( #6339 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.28.1 to 1.29.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.28.1...v1.29.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-04 06:28:29 -04:00
Aaron Craelius
fed0c2317d
Change GetQueryCmd to take client.Context ( #6326 )
...
* Change GetQueryCmd to take a client.Context
* Update CHANGELOG
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-06-03 20:15:11 +00:00
Aaron Craelius
2e11c81668
Make sdk.Msg implement proto.Message ( #6327 )
...
* Make sdk.Msg implement proto.Message
* Cleaning up
* Cleaning up
* Update CHANGELOG.md
* Lint fixes
* Lint fixes
* fix tests
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-06-03 19:52:05 +00:00
Ethan Frey
cd272d525a
Merge PR #6323 : Use simple merkle proof for commit info
2020-06-03 14:50:22 -04:00
Alexander Bezobchuk
d17f5771c7
Revise Point Release Process ( #6333 )
...
* Update point release process
* Update CONTRIBUTING.md
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-06-03 15:16:40 +00:00
Marko
8d12c948b2
Merge PR #6332 : add changelog entry
2020-06-03 10:19:08 -04:00
Aaron Craelius
e94b6736ed
Merge PR #6325 : Add GRPCRouter
2020-06-03 09:33:51 -04:00
Federico Kunze
1f5626b800
baseapp: fix sender events accumulation ( #6307 )
...
* add default case on ibc AnteHandler
* reset ante handler EventManager
* use event manager from runTx instead the one set by the ante handler
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-06-02 04:26:13 +00:00
SaReN
39f53ac22f
client: rename CliContext to Context ( #6290 )
...
* Refactor CliContext as Context
* Fix lint issues
* Fix goimports
* Fix gov tests
* Resolved ci-lint issues
* Add changelog
* Rename cliCtx to clientCtx
* Fix mocks and routes
* Add changelog
* Update changelog
* Apply suggestions from code review
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
* merge client/rpc/ro{ot,utes}.go
* Update docs
* client/rpc: remove redundant client/rpc.RegisterRPCRoutes
* regenerate mocks
* Update ADRs
Co-authored-by: Alessio Treglia <alessio@tendermint.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-06-01 12:46:03 +00:00
colin axner
654b2fdd10
x/ibc: packet commitment deletion after ack verification ( #6292 )
...
* add deletion of packet commitments to AcknowledgePacket and remove CleanupPacket
* update tests
* add replay test for unordered channels
* add cleanup back, update tests
* remove nolint
* add timeoutonclose handling and fix
* add check for deleted packets
* Update x/ibc/04-channel/keeper/keeper.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* add ackexecuted and update tests
* add timeoutexecuted back and update test
* move events to executed funcs
* update handler
* update godoc
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-05-30 21:18:43 -04:00
dependabot-preview[bot]
47d0fed2b0
build(deps): bump github.com/stretchr/testify from 1.5.1 to 1.6.0 ( #6303 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.5.1...v1.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-05-29 14:05:17 +00:00
vincent
74329c619f
Fix typo ( #6295 )
...
* fix typo
* add changelog
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.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-05-29 13:58:44 +00:00
dependabot-preview[bot]
43404321ee
build(deps): bump vuepress-theme-cosmos from 1.0.165 to 1.0.166 in /docs ( #6304 )
...
Bumps [vuepress-theme-cosmos](https://github.com/cosmos/vuepress-theme-cosmos ) from 1.0.165 to 1.0.166.
- [Release notes](https://github.com/cosmos/vuepress-theme-cosmos/releases )
- [Commits](https://github.com/cosmos/vuepress-theme-cosmos/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-05-29 13:52:31 +00:00
Marko
1daf5dadf5
ci: split unit tests across 4 machines ( #6297 )
...
Try reduce the overall build time by splitting test coverage
across 4 instances.
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-05-29 15:25:27 +02:00
ahmedaly113
f3962eb29b
fix #6287 sending multiple transactions from an account make nonce sequence stuck ( #6291 )
...
* fix #6287 sending multiple transactions from an account make nonce sequence stuck
* add change log
* fix ante unit test after #6287 fix
* Update x/auth/ante/sigverify.go
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Alessio Treglia <quadrispro@ubuntu.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-05-28 21:07:12 +00:00
Alexander Bezobchuk
f8bad078b7
Bump Tendermint version ( #6300 )
2020-05-28 14:46:28 +00:00
dependabot-preview[bot]
4927f80dfc
build(deps): bump vuepress-theme-cosmos from 1.0.164 to 1.0.165 in /docs ( #6296 )
...
Bumps [vuepress-theme-cosmos](https://github.com/cosmos/vuepress-theme-cosmos ) from 1.0.164 to 1.0.165.
- [Release notes](https://github.com/cosmos/vuepress-theme-cosmos/releases )
- [Commits](https://github.com/cosmos/vuepress-theme-cosmos/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-28 09:38:34 -04:00
vincent
71770b5a78
Merge PR #6283 : Save account for multi sending
2020-05-27 23:00:01 -04:00
Marko
da7d27eef4
readme: centering tags ( #6288 )
2020-05-27 15:04:13 -04:00
Alexander Bezobchuk
7144ace6b3
Revert "Merge PR #6285 : Registered upgrade module tx commands" ( #6286 )
...
This reverts commit 053b38cca2
.
2020-05-27 15:39:59 +00:00
Riccardo Montagnin
053b38cca2
Merge PR #6285 : Registered upgrade module tx commands
2020-05-27 09:51:00 -04:00
dauTT
7cd0caba7a
Merge PR #6278 : Add msg type sim operations
2020-05-26 12:52:23 -04:00
Marko
21a9cb9b28
ci: automate release post tag push ( #6230 )
2020-05-25 20:02:08 +02:00
dependabot-preview[bot]
b8cac82992
build(deps): bump github.com/otiai10/copy from 1.1.1 to 1.2.0 ( #6279 )
...
* build(deps): bump github.com/otiai10/copy from 1.1.1 to 1.2.0
Bumps [github.com/otiai10/copy](https://github.com/otiai10/copy ) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/otiai10/copy/releases )
- [Commits](https://github.com/otiai10/copy/compare/v1.1.1...v1.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* run go mod tidy
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-05-25 10:18:49 +02:00
dauTT
97fecb1aa2
Merge PR #6276 : Fix error msg
2020-05-23 15:29:51 -04:00
colin axner
6973c56457
x/ibc: fix internal errors messages ( #6268 )
...
* update errors in ibc client and localhost
* update code 1 errors
* fix misisng import
* add import
* fix compile and lint issues
* fix lint
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-05-22 17:17:52 -04:00
Federico Kunze
bf3fa30671
ibc/07-tendermint: fix CLI ( #6271 )
2020-05-22 14:48:44 -04:00
Alessio Treglia
37882fbf4a
x/auth: remove unused passphrase arguments ( #6270 )
...
The new keyring does not handle passphrases anymore.
2020-05-22 13:34:15 +00:00
Segue
ecbb5acb3d
fix ICS-20 event bug ( #6269 )
2020-05-22 08:11:46 -04:00
Aaron Craelius
850419fffd
Tx CLI proto module interface ( #5989 )
...
* WIP
* WIP
* WIP on removing x/auth dependency from client/tx
* Revert unneeded changes
* Simplify cli tx UX
* Wire up bank tx REST routes
* Fix assignment issue
* Wire up bank NewSendTxCmd
* fix lint
* revert file
* revert file
* fix simcli
* Refactor AccountRetriever
* Fix build
* Fix build
* Fix build
* Fix integration tests
* Fix tests
* Docs, linting
* Linting
* WIP on all modules
* Implement other module new tx cmd's
* Fix cmd's
* Refactor existing GetTxCmd
* Fix cmd
* Removing deprecated code
* Update ADR 020 & CHANGELOG
* Lint
* Lint
* Lint
* Lint
* Lint
* Lint
* Lint
* Fix client/tx tests
* Fix mocks
* Fix tests
* Lint fixes
* REST tx migration
* Wire up REST
* Linting
* Update CHANGELOG, docs
* Fix tests
* lint
* Address review feedback
* Update CHANGELOG.md
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* Update CHANGELOG.md
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* group vars
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-05-21 21:29:34 +00:00
Alexander Bezobchuk
970e009653
cl++ ( #6265 )
2020-05-21 14:29:55 +00:00
Federico Kunze
5b14975732
update SECURITY.md ( #6263 )
2020-05-21 11:12:51 +02:00
Marko
a201967fd1
multisig: add type and bitarray ( #6241 )
...
* add multisig and bitarray
* remove random message
* add changelog entry
* bring back the concrete type
* move changelog entry
* move bitarray to crypto/types
* fix build
* remove commented code
Co-authored-by: Aaron Craelius <aaron@regen.network>
2020-05-20 20:10:49 +00:00
SaReN
bf8809ef98
Update x/auth to use Any ( #6165 )
...
* Migrate keeper codec to use marshaler
* Migrate AccountI to types
* Did go imports
* Fix tests for x/auth
* Cleanup std/codec
* Sort imports
* Fix legacy codec
* Add godoc for RegisterInterfaces
* Add RegisterInterfaces to std
* Fix typo
* Fixed merge changes
* Eliminate vesting import in auth
* Fix lint issues
* Fix tests
* Addressed comments
* Rename interfaces in RegisterInterfaces
* Removed codec.proto from std
* Minor code cleanup
Co-authored-by: Aaron Craelius <aaron@regen.network>
2020-05-20 19:21:00 +00:00
Aaron Craelius
9a38883e9c
Merge PR #6258 : Fix test breakage and run proto-gen
2020-05-20 13:23:38 -04:00