Alexander Bezobchuk
1f04826b07
Merge PR #4932 : Fix gov query vote cmd
2019-08-20 12:57:27 -04:00
Marko
3a4f1fc4d4
Merge PR #4881 : Linting Galore
2019-08-19 12:06:27 -04:00
colin axner
3eac2707b2
Merge PR #4908 : Various goreport fixes
2019-08-15 09:54:10 -04:00
Federico Kunze
e4c8bd72b7
Merge PR #4665 : Refactor x/gov Module Structure (prep for module spec)
2019-08-08 15:51:18 -04:00
Aayushi Jain
1a7f31f7c8
Merge PR #4678 : Clean YAML output
2019-07-05 19:25:56 -04:00
colin axner
8d8fd9df1a
generalize query response with height ( #4573 )
...
Addition to #4536 , no longer specific to account queries.
Allows for validator endpoints to return height in the response.
Closes : #4609
2019-07-01 17:48:13 +01:00
Alexander Bezobchuk
3a39e9d558
Merge PR #4637 : Update Search Txs by Events APIs
2019-06-28 09:32:47 -04:00
Alexander Bezobchuk
67f6b02118
Merge PR #4541 : Events Tracking / Tendermint v0.32.0 Update
...
* Update Tendermint to v0.32.0-dev0
* Initial refactor of tags
* Update event types and add unit tests
* Refactor context
* Update module manager
* Update result godoc
* Implement ToABCIEvents
* Update BaseApp
* Minor cleanup
* Fix typo
* Update x/bank message handler
* Update x/bank keeper
* Update x/bank
* Update x/bank events docs
* Update x/crisis module events
* Reset context with events on each message exec
* Update x/distribution events and docs
* Update BaseApp to not set empty events manually
* Implement simple event manager
* Update module manager
* Update modules to use event manager
* Update x/gov module to use events
* Update events docs
* Update gov queries and crisis app module
* Update bank keeper
* Add events to minting begin blocker
* Update modules to use types/events.go
* Cleanup x/mint
* Update x/staking events
* Update x/staking events
* Update events to have sender part of message.sender
* Fix build
* Fix module unit tests
* Add pending log entry
* Update deps
* Update x/crisis/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/bank/internal/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/distribution/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/mint/internal/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/slashing/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/staking/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/gov/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/gov/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/mint/abci.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/mint/abci.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/slashing/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/staking/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/slashing/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/staking/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/staking/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/staking/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Upgrade TM to v0.32.0-dev1
* Update events as strings
* Update Tendermint to v0.32.0-dev2
* Fix BaseApp unit tests
* Fix unit tests
* Bump tendermint version to v0.32.0
* typos
2019-06-26 18:03:25 +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
Alessio Treglia
73700df8c3
Merge PR #4555 : Move client/{tx,rest,utils} into x/auth/client
2019-06-15 14:34:11 +02:00
colin axner
95f3d32250
Merge PR #4536 : Return account queries with height
2019-06-13 15:54:17 +02:00
colin axner
c777fb9108
Merge PR #4505 : Support height queries in REST client
2019-06-07 09:02:07 -04:00
Alexander Bezobchuk
3180e68c7b
Merge PR #4499 : Remove Client Codec Redundancy
2019-06-06 11:43:15 -04:00
frog power 4000
5f9c3fdf88
Merge PR #4451 : Client and Module Modularization
2019-06-05 19:26:16 -04:00
colin axner
6e2f5f3102
R4R: Support "unknown commands" for subcommands ( #4465 )
...
Fixes #4284
Now prints:
gaiacli query distr comission --trust-node cosmos1234
ERROR: unknown command "comission" for "distr"
Did you mean this?
commission
Adds custom argument validation for subcommands with subcommands. Doesn't affect "query" or "tx" subcommands since they reside in gaia repo. All flags except help are disabled for these commands.
2019-06-04 18:07:12 +01:00
Alexander Bezobchuk
cfe31c4090
Merge PR #4372 : Use Build's Client/Server Name
2019-05-18 19:06:08 -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
85ffce5f58
Merge PR #4306 : Allow generate-only to fully operate offline
2019-05-08 16:06:05 -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
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
Federico Kunze
8550d87319
unified sender tag ( #4057 )
...
Closes : #3775
2019-04-10 18:03:44 +01:00
Federico Kunze
eb51a6f84b
remove duplicated account check and test ( #4068 )
2019-04-10 13:10:44 +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
Alexander Bezobchuk
e39debd359
Merge PR #3674 : Remove password/keybase from REST Client
2019-02-19 10:15:39 -08:00
Alessio Treglia
1aa6c197ff
Merge PR #3580 : Code cleanup of client types
2019-02-14 08:53:36 -08:00
Christopher Goes
02e9dcb3a7
Merge PR #3567 : x/gov peer review
2019-02-09 03:33:06 +01:00
Alessio Treglia
e7e3c32204
Merge PR #3553 : Code cleanup, take #1
...
* add a bunch of tests, add DONTCOVER text tag
- Also fix flaky test (closes : #3559 ). Don't test values
returned by queries since there's no way to query a
specific height via REST.
* GetTempDir -> NewTestCaseDir
2019-02-08 22:45:41 +01:00
Juan Leni
ba63eb1801
Merge PR #3557 : Removing pkg/errors when not necessary
2019-02-08 11:37:46 -08:00
Jack Zampolin
408484e6d4
Merge PR #3503 : CLI flags to args
2019-02-06 16:15:37 -08:00
Alessio Treglia
a2b73c8ab4
Merge PR #3460 : Implement fee distribution RESTful endpoints
2019-02-04 16:45:18 -08:00
Alessio Treglia
c04c69648e
client/utils/ reorganization ( #3487 )
2019-02-04 07:48:26 -08:00
Alexander Bezobchuk
097a640412
Allow Simulation and Gen Only in REST Client ( #3467 )
2019-02-01 17:04:13 -08:00
Alexander Bezobchuk
90797f5e09
Gaia Lite Generate Only Support (w/o Keybase) ( #3396 )
2019-01-29 11:22:47 -08:00
Jack Zampolin
9f50c9f5b6
R4R: Ensure all CLI queries respect output flags ( #3320 )
2019-01-22 09:28:39 -08:00
Hendrik Hofstadt
d72e52b8f6
Remove redundant action tags in x/gov txs ( #3328 )
2019-01-21 10:30:04 -08:00
frog power 4000
8f7a222308
Merge PR #3314 : Staking misc rename
2019-01-17 18:53:22 +01:00
cong
916ea85630
Merge PR #2730 : add tx search pagination related CLI/REST API parameter
2019-01-15 16:34:48 +01:00
Alexander Bezobchuk
b0662aa4f6
Implement Proposal Proposer client interfaces ( #3184 )
2018-12-21 09:30:46 -08:00
Federico Kunze
f02f7aa5a0
Add fees and memo to REST, updated CLI to receive coins as fees ( #3069 )
2018-12-19 16:26:33 -08:00
Jack Zampolin
14ebc65daf
Merge PR #3119 : Move all store keys into constants
...
* Move all store keys into constants
* Fix lint issue
* Add Pending.md
* QuerierKey -> QuerierRoute
2018-12-19 20:58:30 +01:00
Alessio Treglia
500fa2b694
Make coins denoms case insensitive ( #3092 )
2018-12-18 11:14:11 -08:00
Alexander Bezobchuk
ff6c2f2bad
Gov Get Vote(s)/Deposit(s) Updates ( #3091 )
2018-12-14 11:13:43 -08:00
Artur Albov
0c6d53dc07
Merge PR #2959 : Add TxEncoder to client TxBuilder
2018-12-12 22:29:42 +01:00
Federico Kunze
4ecbf0dd5f
Merge PR #2997 : Split POST delegations endpoint
2018-12-11 15:02:26 +01:00
Alessio Treglia
24a1670cf0
Run make format
2018-12-10 14:27:25 +00:00
Jack Zampolin
886bd35670
Address gov cli ux issues and add additional input validation for better errors ( #2938 )
...
* Fix governance cli ux issues and add additional transaction validation
2018-12-03 12:48:51 -08:00
John McDowall
f09fa33cfd
Merge PR #2802 : Correct the usage of misspelling of English word 'depositor'.
...
Throughout the codebase the misspelling 'depositer' of the English word
'depositor' has been used. This commit applies a global search and
replace to correct the misspelling.
2018-11-22 00:53:33 +01:00
Alessio Treglia
3e68e44063
Merge PR #2874 : gaiad gentx subcommands refactoring
...
* gaiad gentx subcommands refactoring
- Replace STDIN/STDOUT redirection in `gaiad gentx` with subcommands
command line options to redirect streams to file since viper does
not handle redirection well.
- Use `BuildCreateValidatorMsg` to build a `MsgCreateValidator` rather
than redirecting to `gaiacli tx stake create-validator`.
- `PrintUnsignedStdTx` now takes an `io.Writer` object.
- Mark `--pubkey`, `--amount` and `--moniker` as required flags
instead of validating them manually.
- Use stake.NewDescription() to make a new Description - ref #2835
* Refresh PENDING.md
2018-11-22 00:44:13 +01:00
Federico Kunze
d227e2a29e
Merge PR #2869 : Gov tally endpoint
...
* Added tally endpoint
* Update querier.go
* rename queryable
* Address @alexanderbez comments
2018-11-21 10:54:51 +01:00