Commit Graph

6274 Commits

Author SHA1 Message Date
Alexander Bezobchuk 43d7d5dc09
Merge PR #5789: Changelog v0.37.8 2020-03-11 10:32:59 -04:00
Aleksandr Bezobchuk 43c0d0061a
Update changelog 2020-03-11 10:08:15 -04:00
Alexander Bezobchuk 7b338c84dc
Merge PR #5780: Rename misspelled filename for ADR-014 2020-03-10 17:06:42 -04:00
Sunny Aggarwal 8ef4a3dad0
Rename adt-014-proportional-slashing.md to adr-014-proportional-slashing.md 2020-03-10 15:27:53 -04:00
Alessio Treglia 2de4775a25
types/rest: add unit tests (#5779)
* types/rest: add unit tests

Drop unused functions:
- ParseQueryParamBool()
- ParseInt64OrReturnBadRequest()

* Fix test

* Disable parallelism

* Reintroduce @fedekunze ParseQueryParamBool

* Don't count Name() calls to fix flaky tests
2020-03-10 18:53:25 +00:00
Alexander Bezobchuk c0a8b2582a
Merge PR #5775: Fix x/genutil ExportGenesis 2020-03-10 10:40:58 -04:00
Aleksandr Bezobchuk ca93d575a9
Add changelog entries 2020-03-10 09:43:57 -04:00
Aleksandr Bezobchuk f218e4c42d
Fix x/genutil ExportGenesis 2020-03-10 09:41:37 -04:00
Alexander Bezobchuk 9d49fe9c5e
Merge PR #5757: ADR 020 - Protocol Buffer Transaction Encoding 2020-03-09 13:15:01 -04:00
Aleksandr Bezobchuk 5473295060
Merge branch 'bez/adr-020-proto-client-encoding' of github.com:cosmos/cosmos-sdk into bez/adr-020-proto-client-encoding 2020-03-09 09:49:37 -04:00
Aleksandr Bezobchuk 9a78fc3b19
Address review 2020-03-09 09:49:30 -04:00
Alexander Bezobchuk af4c2211b0
Merge branch 'master' into bez/adr-020-proto-client-encoding 2020-03-06 12:30:43 -05:00
Aleksandr Bezobchuk c56915d5a5
Add remaining sections 2020-03-06 12:29:44 -05:00
Aleksandr Bezobchuk aaa2bcc793
Add section on signing 2020-03-06 11:28:24 -05:00
Aleksandr Bezobchuk 812ed54239
Update transactions section 2020-03-06 10:54:29 -05:00
Alexander Bezobchuk 1b51a043e2
Fix x/auth GET commands (#5756)
Fix x/auth GET commands.

Fix QueryParamsCmd.
2020-03-06 15:16:30 +00:00
Aleksandr Bezobchuk b064e1841c
Update context 2020-03-06 10:16:29 -05:00
Aleksandr Bezobchuk 3753d969af
ADR 020 skeleton 2020-03-06 10:05:01 -05:00
Alexander Bezobchuk 88d01a9869
Remove redundant staking APIs (#5755) 2020-03-06 13:40:50 +00:00
Federico Kunze c5b2abd814
store: cleanup (#5753)
* store: cleanup

* minor change

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-03-06 12:28:19 +00:00
Alexander Bezobchuk 05c5900a03
Merge PR #5749: Create module Account for mint module on InitGenesis 2020-03-06 07:02:22 -05:00
Alexander Bezobchuk 7031ecbbf3
Merge branch 'master' into jonathan/5569-create-module-account-on-init-genesis 2020-03-05 23:32:26 -05:00
Aleksandr Bezobchuk 2d5711ff14
Edit changelog entry 2020-03-05 23:31:30 -05:00
Jonathan Gimeno 5c4ace2548 Merge branch 'jonathan/5569-create-module-account-on-init-genesis' of github.com:cosmos/cosmos-sdk into jonathan/5569-create-module-account-on-init-genesis 2020-03-05 22:11:35 +01:00
Jonathan Gimeno e45be08eb1 create module account on init for FeeCollectorName and tests for other module accounts 2020-03-05 22:11:05 +01:00
Alexander Bezobchuk 116b6cfc1d
Merge PR #5752: Attempt to fix flaky tests 2020-03-05 13:06:41 -05:00
Alessio Treglia e4209bd1f1
Attempt to fix flaky tests 2020-03-05 16:37:27 +00:00
Jonathan Gimeno b813e8965f
Merge branch 'master' into jonathan/5569-create-module-account-on-init-genesis 2020-03-05 17:15:35 +01:00
mergify[bot] 6c1e3e53e3
[ADR: 013] Observability (#5188)
* [ADR: 013] Metrics

- Inital ADR for metrics with in the SDK
- extending metrics to be module specific as well

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>

* add some metrics

* update adr-013 to Observability

* Update docs/architecture/README.MD

Co-Authored-By: Jack Zampolin <jack.zampolin@gmail.com>

* change wording

* minor wording change

* add more things

* undo module work

* Fix formatting and added more info

* Address comments

* Address comments

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
Co-authored-by: Timothy Chen <tnachen@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-03-05 16:02:17 +00:00
mergify[bot] bc863c9212
Update module spec (#5751) 2020-03-05 15:40:25 +00:00
Jonathan Gimeno ba099998f6 Clarify what happens with GetModuleAccount method. 2020-03-05 16:36:36 +01:00
Jonathan Gimeno 60031bbc9b re-public methods 2020-03-05 16:19:36 +01:00
Jonathan Gimeno 643b109826 change assert by require 2020-03-05 16:15:53 +01:00
Alexander Bezobchuk ecc00bf9f6
Merge PR #5750: Move Simapp Codec to Std 2020-03-05 09:59:11 -05:00
Aleksandr Bezobchuk 69ba71c28d
Add pkg doc 2020-03-05 09:44:11 -05:00
Federico Kunze e0b5413861
Merge branch 'master' into jonathan/5569-create-module-account-on-init-genesis 2020-03-05 11:41:06 -03:00
Aleksandr Bezobchuk 4dac1abebf
Update imports 2020-03-05 09:40:43 -05:00
Aleksandr Bezobchuk 3f2f4b984e
Move pkg to std/ 2020-03-05 09:32:43 -05:00
mergify[bot] 9acd722db2
x/distribution: simapp for testing (#5725)
* migrate first distribution test to use simapp

* refactor test TestAllocateTokensTruncation

* migrate allocation test for distribution

* migrate TestCalculateRewardsBasic to simapp in distribution

* migrate TestCalculateRewardsAfterSlash to simapp in distribution

* migrate TestCalculateRewardsAfterManySlashes to use simapp

* migrate TestCalculateRewardsMultiDelegator to use ssimapp

* migrate TestWithdrawDelegationRewardsBasic to simapp

* migrate TestCalculateRewardsAfterManySlashesInSameBlock to simapp

* migrate TestCalculateRewardsMultiDelegatorMultiSlash

* migrate old delegation test

* migrate keeper test to simapp

* refactor all distribution to use simapp

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-03-05 14:00:45 +00:00
Jonathan Gimeno 0fc3950899 Merge branch 'jonathan/5569-create-module-account-on-init-genesis' of github.com:cosmos/cosmos-sdk into jonathan/5569-create-module-account-on-init-genesis 2020-03-05 13:34:03 +01:00
Jonathan Gimeno ccb0062560 update changelog 2020-03-05 12:18:04 +01:00
Jonathan Gimeno 626cc1973d update changelog 2020-03-05 12:17:18 +01:00
Jonathan Gimeno 0a93f01eb3
Merge branch 'master' into jonathan/5569-create-module-account-on-init-genesis 2020-03-05 11:58:30 +01:00
Jonathan Gimeno 29abc244eb make private methods that does not need to be exported 2020-03-05 11:56:39 +01:00
Jonathan Gimeno e01c99d019 now it creates the module account on InitChain 2020-03-05 11:45:51 +01:00
Alessio Treglia da5c6ced1d
types: add test cases (#5747)
Upgrade gomock dependency.
2020-03-04 17:49:59 +00:00
Alexander Bezobchuk b9ab834732
Merge PR #5737: x/gov - Proto Migration 2020-03-04 11:20:20 -05:00
Alexander Bezobchuk 0cbe4e5532
Update x/upgrade/types/types.proto
Co-Authored-By: Anil Kumar Kammari <anil@vitwit.com>
2020-03-04 09:27:50 -05:00
Aleksandr Bezobchuk 430739c2b8
Remove named return 2020-03-03 20:29:34 -05:00
Aleksandr Bezobchuk 94103b92d5
Merge branch 'master' into bez/5444-gov-proto-enc 2020-03-03 15:37:04 -05:00