Marko
4ffabb65a5
lint add deadcode unused ( #4606 )
...
Added deadcode and unused linters to the repo, it
helped find some unused code.
Ref #4589
2019-06-21 17:18:01 +02:00
Hans Schoenburg
c3bef9a211
remove ICS categories from swagger UI docs Fixes #4357 ( #4429 )
2019-06-20 14:17:58 +02:00
Alessio Treglia
c530c1cbb7
Remove auth's AccountDecoder type ( #4588 )
...
AccountDecoder is now entirely redundant.
client package now does no longer depend on x/auth.
Context: #4488
2019-06-19 16:20:27 +02:00
Alexander Bezobchuk
3180e68c7b
Merge PR #4499 : Remove Client Codec Redundancy
2019-06-06 11:43:15 -04:00
Karoly Albert Szabo
3962b3ca23
Update swagger file with tested GET routes ( #4470 )
...
A route had to be commented as it's returning 500 instead of 200 with
empty body -> will make the tests fail:
- /slashing/validators/{validatorPubKey}/signing_info
Related to cosmos/gaia#19
2019-06-04 18:20:26 +01:00
Kwun Yeung
b44392b01a
Merge PR #4445 : update LCD submit delegation doc to match v0.34
2019-05-30 14:26:08 -04:00
Karoly Albert Szabo
c39fa755cb
Merge PR #4413 : Revert swagger removal
2019-05-28 09:46:26 -04:00
frog power 4000
73e5ef7c13
reduce module interdependancy, /client refactor ( #4415 )
...
* abstract staking BuildCreateValidatorMsg, genutil defines its own flags
* client/ refactor
* staking move keys from keeper to types
2019-05-28 09:44:04 +01:00
Alexander Bezobchuk
4b872d2eb4
Merge PR #4377 : Remove statik/Swagger UI
2019-05-20 11:19:53 -04:00
Alessio Treglia
71d71f2206
Remove gaia ( #4347 )
...
Gaia is removed from cosmos-sdk repository.
Few changes were required to make sure no packages depend on gaia subpackages.
CI config is amended accordingly.
Unnecessary targets are removed from Makefile.
Simulations run through a lightweight version of gaia renamed to simapp.
Closes : #4104
2019-05-18 10:42:24 +02:00
Alexander Bezobchuk
44f972584d
Merge PR #4333 : Remove Shares from Client Responses
2019-05-15 10:44:47 -04:00
Alexander Bezobchuk
99df748dda
Merge PR #4285 : Update REST Client to Support Custom R/W Timeouts
2019-05-07 13:04:48 -04:00
Frank Yang
1cfc868d86
Support query txs' TotalCount in GET /txs ( #4214 )
...
Closes : #3942
2019-05-04 12:09:02 +01:00
Alexander Bezobchuk
67f1e12eec
Merge PR #4253 : Change User Supplied Param Change Value to json.RawMessage
2019-05-02 14:21:35 -04:00
Alessio Treglia
4d6480aa46
Move lcd tests into gaia ( #4245 )
...
Objective is to remove lcd -> gaia package dep.
Code cleanup.
2019-05-01 17:58:20 +01:00
Federico Kunze
e650a4f17e
fix param_change swagger docs ( #4240 )
...
Update /gov/proposals/param_change POST endpoint docs.
2019-05-01 00:06:07 +01:00
Alexander Bezobchuk
5ca93ac574
Merge PR #4206 : Param Change Proposal
...
* Add params error types
* Update param module keeper to take a codespace
* Update imports
* Implement SetRaw and SetRawWithSubkey
* Implement ParamChange and update aliases
* Add types codec
* Implement ParameterChangeProposal
* Implement TestParameterChangeProposal
* Fix linting errors
* Update tags
* Implement content
* Updata params aliases
* Finish params handler and proposal types
* Move deposit and vote logic to types package
* Move proposal type to types package
* Move errors to types package
* Update proposal
* Move gov messages to types package
* Minor updates to naming
* Move keys to types package
* Move codec to types package
* Move proposal types to types package
* Update aliases
* Add governance alias types
* Implement governance router
* Update gov aliases
* Update gov keeper
* Update private functions needed for the keeper
* Update godocs
* Update the gov message handler
* Update Gaia app
* Make updates to auth
* Update the message codec in the keeper
* Update gov end blocker
* Update types tests
* Minor tweaks
* Add legacy genesis logic
* Update gov aliases
* Move gov keys to types package
* Revertt to using gov/types in params
* Implement params handler test
* Update governance tests
* Fix endblocker tests
* Fix governance querier tests
* Add seal support to gov router
* Update simulationCreateMsgSubmitProposal
* Disable software upgrade proposals
* Move params keys to types package
* Implement param module proposal client logic
* Update gov client logic
* Update gaia app client hooks
* Fix linting errors
* Fix ValidateBasic
* Remove legacy files
* Update paramchange to use strings
* Update paramchange cli cmd
* Update ValidateBasic and errors
* Use PostCommands when adding child cmds
* Fix codec logic
* Update params client and handler
* Update IsValidProposalType
* Update SubmitProposal to test exec
* Implement TestGaiaCLISubmitParamChangeProposal
* Implement TestSubmitParamChangeProposal
* Update swagger.yaml
* Update gaiacli.md
* Update gov spec docs
* Fix linting errors
* Fix unit tests
* Add pending log entries
* Update docs
* Update docs
* Update client/lcd/swagger-ui/swagger.yaml
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update docs/cosmos-hub/gaiacli.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update cmd/gaia/cli_test/test_helpers.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update client/lcd/test_helpers.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update docs/cosmos-hub/gaiacli.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update docs/cosmos-hub/gaiacli.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update docs/cosmos-hub/gaiacli.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update x/gov/types/proposal.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update docs/cosmos-hub/gaiacli.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update docs/cosmos-hub/gaiacli.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Address PR comments
* Update docs/cosmos-hub/gaiacli.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update gov docs to include quorum notes
* Add logs to handleParameterChangeProposal
* Update docs/spec/governance/02_state.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Support and use new StatusFailed when proposal passes but fails exec
* Add docs/notes warning on param validity
* Update docs
* Update docs/spec/governance/02_state.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update docs/spec/governance/02_state.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Minor doc update
* Update x/gov/client/cli/tx.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Fix usage of fromAddr
* Rige code style suggestion
* Update x/params/types/proposal.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Fix CI lint errors
* Update NewModuleClient godoc
* Add godoc to rtr.Seal() call
* Rename files
* Rename NewProposalHandler
2019-04-30 12:31:38 -04:00
Alexander Bezobchuk
050f6a61ba
Merge PR #4198 : Release v0.34.3
2019-04-26 12:13:23 -04:00
Alexander Bezobchuk
0e54369850
Merge PR #4177 : Update Staking Validators Rest Query
...
* Support pagination and status query params for /staking/validators
* Rename BondStatusToString to String
2019-04-24 11:48:39 -04:00
Alessio Treglia
769370801d
Merge PR #4101 : Return per-validator rewards when querying delegator rewards
2019-04-16 09:43:08 -04:00
Aleksandr Bezobchuk
046932b084
Merge branch 'develop' into release/v0.34.0
2019-04-15 10:10:52 -04:00
Alessio Treglia
3c88ddc2f5
Merge PR #4083 : Replace gaiad --assert-invariants-blockly with --inv-check-period
...
* Remove old broken flag
* Support --inv-check-period which asserts invariants every nth period
2019-04-10 19:33:50 -04:00
Marin Basic
b50b25d0a9
Replace all REST query empty result HTTP Status codes to 200 ( #4065 )
...
All query params that are empty now returns success
(http.StatusOK) instead of mixed http status codes
(http.StatusNoContent/http.StatusBadRequest/
http.StatusInternalServerError)
Closes : #2007
2019-04-10 18:07:21 +01:00
Federico Kunze
8550d87319
unified sender tag ( #4057 )
...
Closes : #3775
2019-04-10 18:03:44 +01:00
Alessio Treglia
85021d4ca9
No packages must depend on cmd/gaia/ ( #4048 )
...
Preparation work for moving gaia out of the SDK.
2019-04-04 15:36:39 +01:00
Alexander Bezobchuk
0e55b6eada
Merge PR #4028 : Hex Encode Data in Tx Responses
2019-04-03 07:49:34 -07:00
Karoly Albert Szabo
ecd2bfa16f
Merge PR #4014 : Update Swagger Config
2019-04-02 09:12:24 -04:00
Alexander Bezobchuk
b95ade93bd
Merge PR #4011 : Mint/Inflation Querier, LCD and CLI
...
* A few godoc updates
* More minor tweaks and reformatting
* Implement initial minting querier
* Implement stringer interface for minting params
* Minor cleanup
* Add minting CLI commands
* Implement inflation query command
* Implement annual provisions query and CLI command
* Update x/mint/client/module_client.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update x/mint/client/module_client.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update x/mint/client/module_client.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update x/mint/querier.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Add minting REST client routes/handlers
* Fix build issues
* Implement querier unit tests
* Update gaiacli docs
* Implement LCD tests
* Update Swagger docs
* Add pending log entry
* add examples
Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
* revert adding examples
Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
2019-04-01 10:28:36 -07:00
Alexander Bezobchuk
92f653b35c
Merge PR #4001 : Upgrade Tendermint to v0.31.1
2019-03-29 13:13:45 -04:00
frog power 4000
b85f5284a2
Merge PR #3971 : disable non-deterministic lcd test
2019-03-28 22:44:00 -04:00
frog power 4000
df4394185e
Merge PR #3656 : Broken-Invar Tx - aka. Crisis module
...
* beginning thinking on issue
* ...
* working
* working
* working fee pool distribution
* spek outline
* spec update
* gas refund calculations
* simulation saved to ~/.gaiad/simulations/
* lean simulation output
int
* cleanup bank simulation messages
* operation messges
int
* lint
* move simulation to its own module
* move simulation log code to log.go
* logger overhaul
int
* distribution comments
* fix compiling
* cleanup modifications to x/distribution/keeper/allocation.go
int
int
int
* gov bug
* result.IsOK() minimization
* importExport typo bug
* pending
* address @alexanderbez comments
* simple @cwgoes comments addressed
* event logging unified approach
* distr module name constant
* implementing
* compiles
* gaia integration
* proper constant fee removal
* crisis genesis
* go.sum update
* ...
* debugging
* fix sum errors
* missing err checks
* working implementing CLI
* remove query command
* crisis expected keepers in other modules
* crisis testing infrastructure
* working
* tests complete
* modify handler to still panic if not enough pool coins, docs working
* spec tags
* docs complete
* CL
* assert invariants on a blockly basis gaiad functionality
* gaiad CL
* transaction details in runtime invariance panic
* Apply suggestions from code review
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* sender tags
* @mossid suggestions
int
* @cwgoes comments final
* Apply suggestions from code review
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* bug seems fixed (#3998 )
* delete unused line in zero height export bug
2019-03-28 19:27:47 -04:00
Karoly Albert Szabo
5bb6090e38
Add route for querying signing_info for all validators ( #3952 )
...
Also remove duplicate pagination:
- move function to extract query params into types/rest
- adjust pagination values locally until available in tendermint for validators
Code cleanup:
- helper function in test
- fix pagination description in swagger.yaml
- uint instead of int when possible
Closes : #3226
Closes : #3991
2019-03-28 18:43:33 +00:00
Jack Zampolin
38b7c0705c
Implement client functionality for the community pool ( #3939 )
...
Fixes : #3937
2019-03-28 01:05:36 +00:00
Alexander Bezobchuk
2b43e25d55
Merge PR #3954 : Tx Broadcasting Sync by Default
2019-03-25 20:54:23 -04:00
Alexander Bezobchuk
59765cecb1
Merge PR #3857 : Remove Shares Concept from Unbond/Redelegate UX
...
* Remove shares concept from unbonding and redelegation
* Remove redundant staking REST type declerations
* Rename staking REST request types
* Fix slashing tests
* Fix staking tests
* Fix integration tests
* Add safety checks for when validator tokens are zero
* Attempt to fix simulation
* Add pending log entry
* Update docs
* Implement and use SharesFromTokens
* Rename ShareTokens and ShareTokensTruncated
* Rename Delegation to Amount in DelegateRequest
* Implement and use SharesFromTokensTruncated
* Update MsgDelegate to use Amount instead of Value
* Use constructors in staking sim messages
* Implement and use ValidateUnbondAmount
2019-03-25 17:13:02 -04:00
frog power 4000
9b27901b2a
Merge PR #3958 : Fix lcd-testing 303030 bug continued
...
* 303030 bug part 2
* further rearrange
2019-03-21 15:43:02 -04:00
Alessio Treglia
8421008042
Remove REST server's secure mode altogether
2019-03-19 18:20:53 +01:00
Alessio Treglia
cdf2b7a7c5
gometalinter -> golangci-lint migration ( #3933 )
...
{,scripts/}Makefile:
- Remove gometalinter, install golangci-lint.
- Remove distinction between tools and devtools.
Just tools is enough.
- test_lint -> lint
Migrating away from underscore separated names.
- Remove unnecessary targets.
- Drop tendermint/lint. Incompatbile with golangci-lint
and no longer necessary anyway.
- Fix misleading message in go-mod-cache.
- New ci-target to avoid download tools twice.
- Run tests with -mod=readonly.
Port tools/gometalinter.json to .golangci.yml
Update CircleCI config accordingly.
Closes : #3896
2019-03-19 17:52:43 +01:00
Joon
465bb02d6a
Merge PR #3779 : Split Proposal Interface
2019-03-15 17:47:47 +01:00
Frank Yang
7e53da86ee
Merge PR #3884 : steak to stake
2019-03-14 10:32:46 -04:00
Jae Kwon
a24dee0155
Merge PR #3808 : Make cli tests use build files
...
* Make cli tests use build files
* Update PENDING.md
Add PR number.
2019-03-07 11:51:14 -08:00
Christopher Goes
4c50380181
Merge PR #3750 : Outstanding per-validator rewards; correctly handle same-BeginBlock redelegation-double-slash
2019-03-06 19:54:12 +01:00
Alexander Bezobchuk
47a44fb580
Merge PR #3748 : Multisig Display UX Improvements
2019-03-01 13:29:33 -08:00
Alexander Bezobchuk
6ace1fada2
Merge PR #3696 : Cleanup Tx Broadcasting and Encoding
2019-02-26 12:34:27 +01:00
Alexander Bezobchuk
b9be1166f7
Merge PR #3673 : Message & Codec Registration Consistency
2019-02-25 16:16:52 +01:00
frog power 4000
b823203839
Merge PR: Fix lcd test unexpected slashing in TestBonding
2019-02-22 15:08:33 +01:00
frog power 4000
a814e5ce66
Merge PR #3679 : Consistent Operators
...
* Minus->Sub Plus->Add Div->Quo
* pending
* Update PENDING.md
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* fix
* typo
2019-02-21 12:35:55 -05:00
frog power 4000
ab9de3a7f1
Merge PR #3680 : Convenience ToDec()
...
* NewDecFromInt -> ToDec
* pending
* Update PENDING.md
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* test typo
* typo
2019-02-21 03:05:31 -05:00
Alexander Bezobchuk
e39debd359
Merge PR #3674 : Remove password/keybase from REST Client
2019-02-19 10:15:39 -08:00
Jack Zampolin
5ccad4723f
Merge PR #3642 : Tx Query return values
2019-02-15 17:00:40 +01:00