Federico Kunze
7d6033ea58
Merge PR #5938 : x/genutil: fix InitializeNodeValidatorFiles
2020-04-06 12:33:15 -04:00
SaReN
7f78e61b93
Merge PR #5915 : Tx Client Migration: x/staking
2020-04-03 16:06:37 -04:00
Alexander Bezobchuk
22422c6de1
Merge PR #5927 : Fix parseQueryResponse
2020-04-03 10:59:46 -04:00
Alexander Bezobchuk
e0c1774e20
Merge PR #5916 : Migrate x/crisis tx command
2020-04-02 15:07:47 -04:00
Jonathan Gimeno
cc2a79ce12
x/staking: fix REST calls panic on some method call ( #5906 )
...
Improve message validation to prevent REST handlers
from panicking.
2020-04-02 15:23:45 +02:00
Alessio Treglia
ca19fbc5f8
types/rest: add convenience functions for error checking ( #5900 )
2020-04-01 09:50:22 +02:00
Alessio Treglia
35e15521dc
x/auth: use validateMaxMemoCharacters() for memo fields ( #5898 )
...
Add test cases.
2020-03-31 16:18:02 +02:00
Federico Kunze
6a6fd1c7ac
patch auth register cdc ( #5892 )
...
* readd RegisterAccountTypeCodec
* fix
* remove seal
* update BaseAccount and StdSig to use amino codec
* remove comments
* rename
* changelog
* rename
2020-03-30 22:09:28 +00:00
Sahith Reddy Narahari
f4dd7f5a52
Did minor code cleanup
2020-03-27 22:55:56 +05:30
Sahith Reddy Narahari
32699c5985
Added proto compatible x/slashing clients
2020-03-27 21:21:53 +05:30
Aleksandr Bezobchuk
78fd300127
Fix bank tests
2020-03-26 13:50:34 -04:00
Aleksandr Bezobchuk
6135912e53
JSON Proto changes
2020-03-26 12:46:10 -04:00
Aleksandr Bezobchuk
7310a0cca9
Fix build
2020-03-25 15:21:20 -04:00
Alexander Bezobchuk
37885b8d38
Merge branch 'master' into bez/tx-client-proto-i
2020-03-25 14:25:58 -04:00
Aleksandr Bezobchuk
3e0cf99e81
Finish remaining x/bank REST handlers
2020-03-25 14:23:34 -04:00
Aleksandr Bezobchuk
0e83e328d0
Prep QueryBalancesRequestHandlerFn for proto
2020-03-25 13:22:29 -04:00
Aleksandr Bezobchuk
7e67d84c0e
Lint
2020-03-25 12:30:10 -04:00
Aleksandr Bezobchuk
d21020e0f8
Update x/bank CLI query commands
2020-03-25 12:27:03 -04:00
Federico Kunze
9cce836c08
crypto/keys: move keybase and keyring to crypto/keyring/ dir ( #5866 )
...
* crypto/keys: move keybase and keyring to crypto/keyring/ dir
* Update client/keys/root.go
* Update crypto/keyring/errors.go
* Update crypto/keyring/keybase.go
* Update crypto/keyring/options.go
* format
* changelog
* fix build
* format
* lint
2020-03-25 15:20:36 +00:00
Aleksandr Bezobchuk
c4a4047ed2
Implement NewSendTxCmd
2020-03-25 10:55:28 -04:00
Aleksandr Bezobchuk
486fa5b4b0
Fix constructors
2020-03-24 18:55:53 -04:00
Denis Fadeev
43627d0d1c
Update docs website ( #5827 )
...
* query-lifecycle and started modules-interfaces
* query-lifecycle first draft done
* module interfaces first draft
* rest and intro skeletons
* rest and intro done
* small edits and links
* comments
* revisions
* cli.md comments
* comments
* minor edits
* better flow for query lifecycle
* add transactions into core
* hans comments
* add transactions into core
* checkout master-docs files
* deleted some
* remove modules readme
* cli.md comments
* comments
* module-interfaces comments
* Merge PR #4857 : Add Context concept doc
* working
* working
* finish messages and queries
* handler
* querier
* last comments!
* punctuation
* querier2
* consolidate intro
* querier
* workiiiing
* refactor for new module interface
* karoly review
* working on baseapp doc
* baseapp work
* reorg
* almost there
* finish first draft
* remove old files
* finish intro
* workinnn
* initial commit after rebase
* query-lifecycle and started modules-interfaces
* query-lifecycle first draft done
* module interfaces first draft
* rest and intro skeletons
* rest and intro done
* small edits and links
* comments
* revisions
* cli.md comments
* comments
* minor edits
* better flow for query lifecycle
* checkout master-docs files
* deleted some
* remove modules readme
* cli.md comments
* comments
* module-interfaces comments
* keeper
* genesis
* finish
* Apply suggestions from code review
Co-Authored-By: Hans Schoenburg <hschoenburg@users.noreply.github.com>
* hans review
* Update docs/core/baseapp.md
Co-Authored-By: Hans Schoenburg <hschoenburg@users.noreply.github.com>
* working
* last comment
* workin
* Apply suggestions from code review
* encoding and node
* almost finish store
* finish docs
* fixes
* fede comments + permalinks
* hans review
* add more permalinks
* update docs theme version (#5239 )
* R4R: Docs Cleanup (#5246 )
* start
* work
* work
* work
* remove table of content
* links intro
* fix links
* remove junk
* cleanup
* cleanup
* work
* finish cleanup
* addback readmes
* remove nft
* fix links
* remove dup
* remove dup
* remove dup
* remove dup
* remove dup
* fix links
* add subscribe events
* refine rest
* index page
* sidebar
* theme version
* theme version
* testing netlify
* theme version
* tooltip example
* version
* testing code embedding
* reverting back
* theme version
* version
* version
* version
* readme and version
* cleanup
* redo app anatomy
* modules readme, theme version
* theme version
* fix modules list
* theme version
* new snippets
* modules readme
* update docs readme
* modify synopsis
* version
* fix yaml
* version
* version
* version
* version
* version
* version
* version
* version
* version
* version
* add hide banner
* version
* version
* version
* small fixes
* modules readme, version
* remove hotkeys dep, version
* version
* version
* version
* version
* version
* version
* version
* slight notice
* fix links and hide
* permalinks
* small clean
* version
* resolve conflicts, add google analytics
* fix merge remants
* version
* changelog 1/2
* Changelog: docs UI
* version
* remove merge conflicts
* Code: Update link for Contributing to the docs to docs_readme
* HTML/CSS: Update layout of homepage footer to match new layout in Figma
* version
* final modifs
* modules, version
* modules readme
* link to module list from homepage
* version
* building modules link
* version
* version
* fonts
* version
* version
* fix link
* fix package.json
* links in explore sdk section
* core concepts
* version
* change delimeters for frontmatter
* frontmatter in comments
* version
* temp add tiny-cookie
* fixed link issues
* fixed styling issues, copy
* hide frontmatter
* hide frontmatter
* layout fixes, padded ascii diagram
* fira sans font for code
* scrollbar color
* move synopsis from frontmatter
* move synopsis from frontmatter
* code styling in synopsis fix
* tutorial link
* active headers
* 404 fix
* homepage links fix
* fix link in footer
* misc fixes
* version
* prerequisite links on mobile
* version
* version
* Fix footer links
* version
* Fix permalink popup
* Update version
* package-lock.json
* Update Questions section in the footer
* Config for Algolia Docsearch
* Update version
* Update to the latest version of the theme
* Use docs-staging as a branch for staging website
* Update version
* Add google analytics
* Remove {hide} from Pre-Requisite Readings
* Replace Riot with Discord
Co-Authored-By: billy rennekamp <billy.rennekamp@gmail.com>
* Fix yaml syntax error in docs
* Fix formatting in keyring.md
Co-authored-by: Gloria Zhao <gzhao408@berkeley.edu>
Co-authored-by: gamarin <gautier@tendermint.com>
Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
Co-authored-by: Hans Schoenburg <hschoenburg@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: billy rennekamp <billy.rennekamp@gmail.com>
2020-03-24 16:20:30 +00:00
Jonathan Gimeno
49102b1d98
Remove dependency of types/module package on x/simulation ( #5835 )
...
Closes : #5724
2020-03-23 12:55:44 +01:00
Marko
d657513741
lint: various linting fixs ( #5825 )
...
* lint: various linting fixs
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
* more linting
* more linting fixes
* more errchecking
* comment out errcheck for now
* undo error check
* address some comments
* remore require error
* change delete to batch delete
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-03-20 19:24:18 +00:00
Alessio Treglia
1d0967c32a
run go mod tidy && make format ( #5847 )
2020-03-20 17:14:14 +00:00
Federico Kunze
2cf816d457
minor test change
2020-03-19 22:48:20 -03:00
Federico Kunze
51d9045152
authclient: fix tests
2020-03-19 22:46:35 -03:00
Federico Kunze
38f4b084c1
authclient: update godoc for gas adjusted
2020-03-19 22:42:34 -03:00
Federico Kunze
3d2746434f
authclient: update txBuilder to return sdk.SimulationResponse
2020-03-19 22:40:07 -03:00
Jonathan Gimeno
8c7bb89549
Implementing --offline flag ( #5810 )
...
Closes : #5448
2020-03-19 02:49:33 +01:00
Alessio Treglia
3db39cda3c
Fix various linter warnings ( #5824 )
2020-03-18 12:59:08 +00:00
Aleksandr Bezobchuk
91115fd6ab
Merge branch 'master' into bez/proto-client-init
2020-03-17 17:56:21 -04:00
Gavin
e0280bf2d5
Update 07_params.md
2020-03-17 11:30:24 -04:00
Aleksandr Bezobchuk
25f036f248
Update params doc with restrictions
2020-03-16 19:02:55 -04:00
Aleksandr Bezobchuk
f60cd5a2b5
Merge branch 'master' into bez/proto-client-init
2020-03-14 12:34:34 -04:00
Jonathan Gimeno
2e42f9cb74
Favor marshal unmashal binare bare ( #5799 )
...
* change abci file to use BinaryBare
* change all calls to EncodeLengthPrefixed to BinaryBare in distribution keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in mint keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in auth keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in distribution keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in staking keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in staking keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in gov keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in slashing keeper store.
* update decoder test
* migrate decoder
* migrate gov simulation decoder
* migrate baseapp_test
* refactor QuerySubspace
* refactor coedc std codec
* migrate keybase
* migrate iavl store
* migrate root multi
* migrate ante basic
* migrate tx type to bare
* migrate auth client
* update auth types
* update decoder
* migrate supply decoder
* migrate stake encoding
* migrate staking simulation
* migrate genutil
* migrate simapp test helpers
* migrate docs
* upgrade changelog
* Update CHANGELOG.md
Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-03-13 19:58:43 +00:00
Aleksandr Bezobchuk
62dbd4a9be
Merge branch 'master' into bez/proto-client-init
2020-03-13 14:00:47 -04:00
Aleksandr Bezobchuk
0b76411469
Update StdTx
2020-03-13 09:36:29 -04:00
Aleksandr Bezobchuk
b38d3ae69a
Update ADR and types
2020-03-12 15:35:22 -04:00
Aleksandr Bezobchuk
5513927778
Fix TestStdSignatureMarshalYAML
2020-03-12 13:52:55 -04:00
Aleksandr Bezobchuk
34f9fc439a
Implement canonical signing
2020-03-12 13:32:03 -04:00
Aleksandr Bezobchuk
3a94f42e11
Implement app-level tx
2020-03-12 10:53:27 -04:00
Jonathan Gimeno
644b85254f
Merge branch 'master' into jonathan/5783-standarize-representation-governance
2020-03-12 14:30:06 +01:00
Jonathan Gimeno
ee0e0aeaff
undo change
2020-03-12 14:27:19 +01:00
Alessio Treglia
f8897308d6
fix error's raw log messages ugly encoding
...
Closes : #5785
2020-03-12 01:36:16 +01:00
Jonathan Gimeno
1c7ec9e339
update params cli msg
2020-03-11 18:07:49 +01:00
Jonathan Gimeno
382e5021b2
update cli documentation distribution
2020-03-11 18:06:39 +01:00
Jonathan Gimeno
36554e73e2
refactor cli tx for distribution param change request
2020-03-11 18:03:47 +01:00
Jonathan Gimeno
34e22fbcb8
refactor parsing to use unified version
2020-03-11 17:45:02 +01:00
Aleksandr Bezobchuk
f218e4c42d
Fix x/genutil ExportGenesis
2020-03-10 09:41:37 -04: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
Alexander Bezobchuk
88d01a9869
Remove redundant staking APIs ( #5755 )
2020-03-06 13:40:50 +00: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
Jonathan Gimeno
b813e8965f
Merge branch 'master' into jonathan/5569-create-module-account-on-init-genesis
2020-03-05 17:15:35 +01: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
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
ccb0062560
update changelog
2020-03-05 12:18:04 +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
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
Aleksandr Bezobchuk
cd2febac28
Fix proto
2020-03-03 14:36:02 -05:00
Jonathan Gimeno
87012c7cc8
Merge branch 'jonathan/5646-remove-internal-crisis' of github.com:cosmos/cosmos-sdk into jonathan/5646-remove-internal-crisis
2020-03-03 20:07:47 +01:00
Jonathan Gimeno
f3607833c1
update proto file
2020-03-03 20:06:55 +01:00
Alexander Bezobchuk
b6e36b8aca
Merge branch 'master' into bez/5444-gov-proto-enc
2020-03-03 13:19:44 -05:00
Alexander Bezobchuk
c50dd15413
Merge branch 'master' into jonathan/5646-remove-internal-crisis
2020-03-03 13:04:33 -05:00
Jonathan Gimeno
3517ebad4c
remove internal package folder
2020-03-03 17:45:02 +01:00
Jonathan Gimeno
78791f3c4e
clean part of the code
2020-03-03 17:21:17 +01:00
Jonathan Gimeno
c97a1b66ca
migrate TestJailedValidatorDelegations to simapp
2020-03-03 17:13:49 +01:00
Aleksandr Bezobchuk
00180faa15
Proto lint & gen
2020-03-03 09:59:05 -05:00
Aleksandr Bezobchuk
eedc6f6190
Fulfill MsgSubmitProposalI interface
2020-03-03 09:40:11 -05:00
Jonathan Gimeno
210d78b54d
refactor TestCannotUnjailUnlessMeetMinSelfDelegation to use simapp
2020-03-03 11:43:18 +01:00
Jonathan Gimeno
1da6f3c86e
refactor TestCannotUnjailUnlessJailed to use simapp
2020-03-03 11:28:22 +01:00
Jonathan Gimeno
24d25fa207
refactor abci test to use simapp
2020-03-03 11:25:32 +01:00
Jonathan Gimeno
2b95d5317e
refactor signing info test
2020-03-03 11:20:18 +01:00
Jonathan Gimeno
c2cc84950b
refactor TestGetSetValidatorSigningInfo test
2020-03-03 11:16:31 +01:00
Jonathan Gimeno
416f0147f7
refactor querier test
2020-03-03 11:14:22 +01:00
Jonathan Gimeno
0a5f64b64f
clean some code
2020-03-03 11:05:20 +01:00
Jonathan Gimeno
863dc1484e
make test pass
2020-03-03 10:51:06 +01:00
Aleksandr Bezobchuk
05cef02b4d
Add MsgSubmitProposal back to codec
2020-03-02 17:24:10 -05:00
Aleksandr Bezobchuk
1a25cdae6f
Update tests
2020-03-02 17:21:00 -05:00
Jonathan Gimeno
2706854eff
refactor TestHandleAlreadyJailed to simapp
2020-03-02 22:54:38 +01:00
Aleksandr Bezobchuk
5f0c53da17
update tests
2020-03-02 16:46:28 -05:00
Aleksandr Bezobchuk
833368cc74
reintroduce old MsgSubmitProposal type
2020-03-02 16:29:10 -05:00
Aleksandr Bezobchuk
fe7b02231e
Update handler
2020-03-02 16:06:35 -05:00
Aleksandr Bezobchuk
fb42f8b2a0
types updates
2020-03-02 15:50:20 -05:00
Jonathan Gimeno
a016524468
migrate TestHandleNewValidator to new simapp
2020-03-02 21:19:46 +01:00
Aleksandr Bezobchuk
81830807e7
Merge branch 'master' into bez/5444-gov-proto-enc
2020-03-02 15:07:51 -05:00
Aleksandr Bezobchuk
7562c2765a
Update gov types
2020-03-02 14:13:42 -05:00
Aleksandr Bezobchuk
a89eb77841
Add equal option to upgrade proto types
2020-03-02 14:10:27 -05:00
Jonathan Gimeno
eba38af83d
end of gov refactoring
2020-03-02 19:56:29 +01:00
Jonathan Gimeno
e266c40ce1
refactor vote test
2020-03-02 19:50:39 +01:00
Jonathan Gimeno
894b2e5897
refactor old tally test
2020-03-02 19:46:39 +01:00
Jonathan Gimeno
275b78f1c3
add TestTallyJailedValidator to simapp
2020-03-02 19:25:05 +01:00
Jonathan Gimeno
7d3430673e
add tally test TestTallyDelgatorMultipleInherit
2020-03-02 19:17:31 +01:00
Alexander Bezobchuk
c0384a1b91
Merge branch 'master' into bez/5444-gov-proto-enc
2020-03-02 13:08:26 -05:00
Jonathan Gimeno
8d4d10d27f
refactor TestTallyDelgatorMultipleOverride to use simapp
2020-03-02 18:52:45 +01:00
Aleksandr Bezobchuk
31dc2729fc
Merge branch 'master' into bez/5444-gov-proto-enc
2020-03-02 12:50:32 -05:00
Aleksandr Bezobchuk
e2b72141bf
Update keeper
2020-03-02 12:49:32 -05:00
Jonathan Gimeno
73e1e3a354
refactor TestTallyDelgatorInherit to use simapp
2020-03-02 18:49:14 +01:00
Aleksandr Bezobchuk
725e2dc2b4
Update gov codec interface
2020-03-02 12:44:55 -05:00
Jonathan Gimeno
9f251885f1
migreate TestTallyDelgatorOverride to simapp
2020-03-02 18:08:40 +01:00
Jonathan Gimeno
46a70d58fa
migrate TestTallyOnlyValidatorsNonVoter to simapp
2020-03-02 18:01:10 +01:00
Jonathan Gimeno
759181c2cc
migrate TestTallyOnlyValidatorsAbstainFails into simapp
2020-03-02 17:59:24 +01:00
Jonathan Gimeno
b83755fc1d
migrate TestTallyOnlyValidatorsAbstainPasses to simapp
2020-03-02 17:57:39 +01:00
Jonathan Gimeno
c3b18dfb2f
migrate TestTallyOnlyValidatorsVetoed test
2020-03-02 17:55:31 +01:00
Aleksandr Bezobchuk
081e62cb2d
Update codec
2020-03-02 11:54:43 -05:00
Jonathan Gimeno
84b7fe5bfa
migrate TestTallyOnlyValidators51Yes to use simapp
2020-03-02 16:53:06 +01:00
Jonathan Gimeno
1cf4a7e330
migrate TestTallyOnlyValidators51No to use simapp
2020-03-02 16:50:39 +01:00
Jonathan Gimeno
88e3a22fc4
migrate TestTallyOnlyValidatorsAllYes to simapp
2020-03-02 16:47:06 +01:00
Jonathan Gimeno
e24734f72e
migrate TestTallyNoQuorum to use simapp
2020-03-02 16:41:41 +01:00
Jonathan Gimeno
8c0d32c8a8
migrate TestTallyNoOneVotes to use simapp
2020-03-02 16:38:24 +01:00
Jonathan Gimeno
80bfd0d2dc
migrate TestQueries to new test simapp
2020-03-02 16:22:36 +01:00
Jonathan Gimeno
2c231e2fa0
TestGetProposalsFiltered migrate to simapp
2020-03-02 16:10:19 +01:00
Jonathan Gimeno
00396145d5
migrate TestActivateVotingPeriod to simapp
2020-03-02 16:07:23 +01:00
Jonathan Gimeno
eedd2b2341
migrate part of proposal to simapp
2020-03-02 16:04:49 +01:00
Jonathan Gimeno
2afd22f37e
migrate TestProposalQueues to use simapp
2020-03-02 15:59:55 +01:00
Jonathan Gimeno
0c938123d9
migrate TestIncrementProposalNumber to simap
2020-03-02 15:56:26 +01:00
Jonathan Gimeno
3fa47df519
migrate test TestDeposits from gov to simapp
2020-03-02 15:52:43 +01:00
Aleksandr Bezobchuk
8f131e2e0c
Fix and updates gov proto types
2020-03-02 09:14:17 -05:00
Alessio Treglia
d7fd5b6a42
Replace defer with testing.T.Cleanup() ( #5732 )
2020-03-02 00:16:23 +00:00
Alessio Treglia
2ae25caa74
linter fixes ( #5733 )
...
* make .golangcy.yml work with Goland's Golint plugin
Explicitly disable all linters. Whitelist of enabled
plugins is already provided.
This would enable Goland users to user Golint plugin.
* fix deadcode warnings
* fix gocritic error
unslice: could simplify pkBytes[:] to pkBytes
2020-03-01 15:38:57 +00:00
Alexander Bezobchuk
9aa2088c23
Update x/staking/keeper/keeper.go
2020-02-28 09:59:06 -08:00
Jonathan Gimeno
2c32ff3ee4
Merge branch 'master' into jonathan/4875-staking-test-use-simapp
2020-02-28 10:58:16 +01:00
Anil Kumar Kammari
0b7449129a
Merge PR #5500 : Regen network/multistore upgrades
2020-02-27 22:26:04 -08:00
Jonathan Gimeno
60293dd2e6
Merge branch 'master' into jonathan/4875-staking-test-use-simapp
2020-02-27 17:51:14 +01:00
Jonathan Gimeno
d279066285
remove duplicated func
2020-02-27 16:47:59 +01:00
Alessio Treglia
5a2e59ebb2
Exclude proto files from format ( #5706 )
...
* Don't change proto files on make format
The format target does not need to depend on tools.
Thus remove dependency.
* Run make format
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-02-27 07:53:22 -03:00
Aaron Craelius
81735debe5
Fix proposal marshaling, make Proposal extend ProposalBase
2020-02-26 20:47:45 -05:00
Aaron Craelius
333066efa8
Fix distribution proto package
2020-02-26 20:16:48 -05:00
Aaron Craelius
feb8b0d4c3
Protogen fix
2020-02-26 20:15:32 -05:00
Aaron Craelius
2cf8a5e955
WIP on proposal proto
2020-02-26 20:15:00 -05:00
Aaron Craelius
830ada0fa4
WIP on StdProposal
2020-02-26 20:15:00 -05:00
Aaron Craelius
2e0033afcf
Update x/gov/types/codec.go
...
Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>
2020-02-26 20:15:00 -05:00
Aaron Craelius
38d44e839e
WIP on fixing tests
2020-02-26 20:15:00 -05:00
Aaron Craelius
d563248bbb
mv codec.proto -> types.proto
2020-02-26 20:15:00 -05:00
Aaron Craelius
3919645e8b
Rename GovCodec to gov.Codec
2020-02-26 20:15:00 -05:00
Aaron Craelius
e8155d67d0
Simple refactoring of gov to use protobuf for store encoding (for everything besides proposal)
2020-02-26 20:15:00 -05:00
Aaron Craelius
56104c2961
Merge PR #5703 : Fix typo in distribution proto package name
2020-02-26 10:58:27 -05:00
Jonathan Gimeno
4de26fd67a
fix lint errors 2
2020-02-26 16:35:04 +01:00
Alexander Bezobchuk
8cab43c812
Merge PR #5702 : Add Param Querying to x/auth
2020-02-26 10:33:56 -05:00
Jonathan Gimeno
14469ccc74
fix lint errors
2020-02-26 16:29:48 +01:00
Jonathan Gimeno
c94a98f459
fix based on PR comments
2020-02-26 16:05:12 +01:00
Jonathan Gimeno
1d18f8839c
remove create test public keys
2020-02-26 15:57:41 +01:00
Jonathan Gimeno
64c2971c6f
remove test_common
2020-02-26 15:51:45 +01:00
Jonathan Gimeno
bbbbc61276
end refactor handler_test
2020-02-26 15:48:51 +01:00
Jonathan Gimeno
015fd43f51
refactor TestMultipleUnbondingDelegationAtUniqueTimes and TestUnbondingWhenExcessValidators
2020-02-26 15:44:15 +01:00
Jonathan Gimeno
9381500fbc
refactor TestMultipleRedelegationAtUniqueTimes and TestMultipleUnbondingDelegationAtSameTime
2020-02-26 15:39:56 +01:00
Jonathan Gimeno
4e16a0861c
refactor TestTransitiveRedelegation and TestMultipleRedelegationAtSameTime
2020-02-26 15:35:29 +01:00
Jonathan Gimeno
c58ec7f7b7
refactor TestUnbondingFromUnbondingValidator and TestRedelegationPeriod
2020-02-26 15:31:16 +01:00
Jonathan Gimeno
eb26b478b4
refactor TestUnbondingPeriod and TestValidatorQueue
2020-02-26 15:26:50 +01:00
Jonathan Gimeno
0fcf1e20d6
refactor TestJailValidator
2020-02-26 15:21:42 +01:00
Jonathan Gimeno
0e3b95857b
refactor TestMultipleMsgDelegate
2020-02-26 15:19:39 +01:00
Jonathan Gimeno
d251f6436e
refator TestMultipleMsgCreateValidator
2020-02-26 15:17:31 +01:00
Jonathan Gimeno
46d62ebfa9
refactor TestIncrementsMsgUnbond
2020-02-26 15:13:08 +01:00
Jonathan Gimeno
a07ed83dd2
refactor TestEditValidatorIncreaseMinSelfDelegationBeyondCurrentBond
2020-02-26 15:08:43 +01:00
Jonathan Gimeno
8ecd5b8954
refactor next
2020-02-26 15:06:52 +01:00
Jonathan Gimeno
3f319c2578
refactor TestIncrementsMsgDelegate
2020-02-26 15:04:40 +01:00
Jonathan Gimeno
ee21805282
refactor TestLegacyValidatorDelegations to use simapp
2020-02-26 14:52:34 +01:00
Jonathan Gimeno
c314b93789
temporary commit
2020-02-26 13:28:18 +01:00
Jonathan Gimeno
030f612b6c
refactor TestInvalidPubKeyTypeMsgCreateValidator
2020-02-26 12:23:55 +01:00
Jonathan Gimeno
59ecf11a12
refactor TestDuplicatesMsgCreateValidator
2020-02-26 11:36:37 +01:00
Jonathan Gimeno
315572bcd2
refactor TestValidatorByPowerIndex
2020-02-26 11:33:25 +01:00
Jonathan Gimeno
399ea763ee
refactor old genesis_test to use simapp
2020-02-26 10:47:39 +01:00
Alexander Bezobchuk
ec39bb3b42
Merge PR #5696 : Fix x/auth proto json tags
2020-02-25 15:22:28 -05:00
Jonathan Gimeno
194b97b1c1
git remove unused vars
2020-02-25 17:33:18 +01:00
Jonathan Gimeno
13f2138989
Merge branch 'master' into jonathan/4875-staking-test-use-simapp
2020-02-25 15:48:13 +01:00
Jonathan Gimeno
a44bebc11c
rename commont test
2020-02-25 15:31:22 +01:00
Jonathan Gimeno
b931c491ae
rename
2020-02-25 15:29:53 +01:00
Jonathan Gimeno
632e65f575
move methods
2020-02-25 15:27:51 +01:00
Jonathan Gimeno
8f779b12b8
clean code
2020-02-25 15:11:52 +01:00
Jonathan Gimeno
9ae53260bf
end refactoring validator_test
2020-02-25 14:07:01 +01:00
Jonathan Gimeno
b4ab8e5e07
refactor TestFullValidatorSetPowerChange test
2020-02-25 13:54:55 +01:00
Jonathan Gimeno
96216c3dac
make test TestValidatorBondHeight pass
2020-02-25 13:51:48 +01:00
Jonathan Gimeno
99554926e8
refctor TestGetValidatorsEdgeCases to use simapp
2020-02-25 13:45:29 +01:00
Jonathan Gimeno
c7d68c59a9
refactor TestGetValidatorSortingMixed test to simap
2020-02-25 13:38:27 +01:00
Jonathan Gimeno
460619fa29
refactro TestGetValidatorSortingUnmixed to simapp
2020-02-25 13:27:05 +01:00
Jonathan Gimeno
9fa658c3f9
TestValidatorBasics
2020-02-25 13:23:22 +01:00
Jonathan Gimeno
ed401119e4
refactor TestSlashToZeroPowerRemoved
2020-02-25 13:18:49 +01:00
Jonathan Gimeno
385c5c556b
refactor TestUpdateBondedValidatorsDecreaseCliff to simapp
2020-02-25 11:59:15 +01:00
Jonathan Gimeno
25681ad3ad
refacor TestUpdateValidatorByPowerIndex to use simapp
2020-02-25 11:54:43 +01:00
Jonathan Gimeno
66abd1f19f
refactor first test validation to simapp
2020-02-25 11:43:51 +01:00
Jonathan Gimeno
0cddd4fff6
end refactoring slash_test
2020-02-25 10:32:53 +01:00
Jonathan Gimeno
15eaa129ee
refactor TestSlashWithRedelegation
2020-02-25 10:24:58 +01:00
Jonathan Gimeno
a6767d31fe
migrated two tests from slash_test to use simapp
2020-02-25 10:13:13 +01:00
Jonathan Gimeno
b36cdac3e3
test TestSlashAtNegativeHeight migrated to simapp
2020-02-24 19:01:55 +01:00
Jonathan Gimeno
7ee50eacf2
refactor TestSlashAtFutureHeight test
2020-02-24 18:43:51 +01:00
Jonathan Gimeno
3ea53f5682
refactor TestSlashRedelegation to use simapp
2020-02-24 18:41:01 +01:00
Jonathan Gimeno
a34575a8bb
fix TestSlashUnbondingDelegation test to use simapp
2020-02-24 18:30:30 +01:00
Aaron Craelius
df65016694
Merge PR #5659 : Migrate upgrade module to protobuf
2020-02-24 18:14:19 +01:00
Jonathan Gimeno
fe1012dc29
migrate revocation of old slash test
2020-02-24 17:34:22 +01:00
Marko
f7486b9395
Merge PR #5634 : Protobuf - Migrate x/evidence
2020-02-24 17:05:21 +01:00
Jonathan Gimeno
3910ec25f6
refactor and remove unused code
2020-02-24 16:14:16 +01:00
Jonathan Gimeno
17ee1f510a
finish refactor delegation test
2020-02-24 15:37:03 +01:00
Jonathan Gimeno
a1fcb07d0f
refactor TestRedelegateFromUnbondingValidator to use simapp
2020-02-24 15:28:25 +01:00
Jonathan Gimeno
5bf1fa0048
refactor delegation test
2020-02-24 15:11:37 +01:00
Jonathan Gimeno
ae44324d5a
refacotr TestRedelegationMaxEntries to use simapp
2020-02-24 15:06:12 +01:00
Jonathan Gimeno
27e20236a3
refactor TestRedelegateToSameValidator to use simapp
2020-02-24 13:16:32 +01:00
Jonathan Gimeno
e33844fa56
refactor TestRedelegation to use simapp
2020-02-24 13:11:18 +01:00
Jonathan Gimeno
9a5aae9f0e
refactor TestGetRedelegationsFromSrcValidator to use simapp
2020-02-24 12:50:02 +01:00
Jonathan Gimeno
62dbd8bcee
TestUnbondingAllDelegationFromValidator to use simapp
2020-02-24 12:46:14 +01:00
Jonathan Gimeno
6ce12184d4
refactor TestUndelegateFromUnbondedValidator to use simapp
2020-02-24 12:37:32 +01:00
Jonathan Gimeno
bbc2b33f7d
update TestUndelegate from unbonding validator and fix bug
2020-02-24 12:24:25 +01:00
Jonathan Gimeno
8378be277c
refactor TestUndelegateSelfDelegationBelowMinSelfDelegation to use simapp
2020-02-21 21:18:24 +01:00
Jonathan Gimeno
8cf9219a53
refactor test unbondingdelegationsmax entries
2020-02-21 21:05:56 +01:00
Jonathan Gimeno
e5b67801a3
refactor to use accounts
2020-02-21 20:51:11 +01:00
Jonathan Gimeno
ee7ccc3704
make TestDelegation pass with generated accounts
2020-02-21 19:34:07 +01:00
Jonathan Gimeno
89785765e0
comment before creating new way to generate accounts
2020-02-21 19:19:57 +01:00
Jonathan Gimeno
01aaf8446d
refactor creation of simapp
2020-02-21 18:54:10 +01:00
Jonathan Gimeno
e155b1083d
refactor creation of the simapp
2020-02-21 18:49:54 +01:00
Jonathan Gimeno
594e0a6bfa
avoid usage of historicals
2020-02-21 18:38:28 +01:00
Jonathan Gimeno
27ff208fb8
make all test pass temporary
2020-02-21 18:34:03 +01:00
Jonathan Gimeno
9eaa5b0e1a
refactor delegation test TestUnbondDelegation to use simapp
2020-02-21 12:24:41 +01:00
Alexander Bezobchuk
238928ed50
Merge PR #5688 : Proto Option Updates
2020-02-21 11:31:16 +01:00
Jonathan Gimeno
fdba5b5904
finish keeper refactor for querier in staking using simapp
2020-02-20 18:10:37 +01:00
Jonathan Gimeno
32a27afbd5
make TestQueryRedelegations pass with simapp
2020-02-20 17:58:17 +01:00
Jonathan Gimeno
06c144805d
rename function
2020-02-20 17:30:45 +01:00
Jonathan Gimeno
29987a095b
make TestQueryDelegations pass with simapp :D
2020-02-20 17:30:13 +01:00
Alexander Bezobchuk
9b47079171
Merge PR #5682 : Change pubkey to bytes
2020-02-20 17:15:22 +01:00
Jonathan Gimeno
0d24d2b2cb
fix test query validators
2020-02-20 16:09:25 +01:00
Marko
ebbfaf2a47
Merge PR #5681 : proto: migrate bank to hybridcodec
2020-02-20 15:24:26 +01:00
Anil Kumar Kammari
883c1a2bc1
Merge PR #5627 : Regen Network/Slashing protobuf
2020-02-20 01:04:13 +01:00
Jonathan Gimeno
434f539bff
Merge PR #5649 : Update x/params to follow module standards
2020-02-19 12:52:20 +01:00
Federico Kunze
4aa078b5f3
x/ibc ICS24 ( #5588 )
...
* x/ibc ICS24
* changelog
* move regex to /types
* address @alexanderbez comments
Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-02-19 10:56:22 +01:00
Jonathan Gimeno
cdcbecb2f4
rename and temp commit
2020-02-19 10:53:43 +01:00
Xuefeng Zhu
69c5b46413
Get Uin64 directly instead of Int64 ( #5672 )
2020-02-19 10:05:27 +01:00
Jonathan Gimeno
7f8d0e6047
commit end of day refactoring
2020-02-18 19:10:53 +01:00
Alexander Bezobchuk
1736692f3b
Merge PR #5668 : Fix GetAccountWithHeight
2020-02-18 16:53:11 +01:00
Jonathan Gimeno
c84c5922e4
temporal commit on querier test, it passes
2020-02-18 16:44:23 +01:00
Alexander Bezobchuk
a63de303b8
Merge PR #5665 : Bump Module ABCI Error Codes
2020-02-18 14:43:00 +01:00
Jonathan Gimeno
6025132720
refactor historical info test
2020-02-18 14:03:06 +01:00
Jonathan Gimeno
918949cf23
refactor TestHistoricalInfo to use simapp
2020-02-18 14:00:59 +01:00
Alexander Bezobchuk
794a496892
Merge PR #5533 : Protobuf: x/auth & x/supply
2020-02-18 13:50:13 +01:00
Jonathan Gimeno
f912618b8a
use simapp into keeper
2020-02-18 13:42:53 +01:00
Alessio Treglia
c77bb7b038
Squash various linter warnings ( #5652 )
...
Closes : #5651
2020-02-16 20:06:45 +01:00
Alexander Bezobchuk
05c21a534a
Merge Pr #5642 : Remove x/mock
2020-02-14 10:30:51 -05:00
Marko
e44f914893
dep: bump tendermint version to 0.33.1 ( #5645 )
...
* dep: bump tendermint version to 0.33.1
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
* minor touch up
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-02-14 09:04:05 -05:00
Marko
48d39e344e
Merge PR #5619 : proto: migrate params to hybrid codec
2020-02-12 11:34:09 -05:00
Marko
56c5868975
Merge PR #5610 : proto: migrate x/distr to use hybrid codec
2020-02-11 09:58:37 -05:00
Chad Barraford
e2d4b9de44
Merge PR #5497 : ensure non-nil gentxs
2020-02-10 15:32:16 -05:00
Alessio Treglia
6cbf634ad5
Merge PR #5620 : Fix nil pointer deref in distribution tax/rewward validation helpers
2020-02-07 13:09:18 -05:00
Gavin
dd2d1c2573
Merge PR #5626 : Update README.md
2020-02-07 11:15:55 -05:00
Alexander Bezobchuk
cd9b2d450b
Merge PR #5622 : Track proposal handler events on success
2020-02-06 16:19:26 -05:00