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
Federico Kunze
352678438c
Merge PR #4255 : Supply Module
2019-06-28 16:11:27 -04:00
Alexander Bezobchuk
3a39e9d558
Merge PR #4637 : Update Search Txs by Events APIs
2019-06-28 09:32:47 -04:00
Marko
b2f8c58ec4
Merge PR #4608 : More linters - Gosec, staticcheck
2019-06-26 13:30:36 -07:00
Aayushi Jain
c898dac6a9
Merge PR #4625 : Implement logger on all module keepers
2019-06-26 12:41:14 -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
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
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
frog power 4000
8c89023e9f
Merge PR #4524 : Staking ValidatorPowerRank to use "Potential Consensus Power"
2019-06-12 17:57:47 +02:00
Alexander Bezobchuk
dc84c99dee
Revert "Generalize auth/types.StdSignature ( #4507 )" ( #4512 )
...
This reverts commit a32d5a46d7
.
2019-06-08 11:04:52 +01:00
Alessio Treglia
a32d5a46d7
Generalize auth/types.StdSignature ( #4507 )
...
New Signature interface available in the top level types package.
auth.StdSignature implements such interface. User defined auth
module can now define their own custom signature types.
Work carried out in the context of the following issues:
- #4488
- #4487
2019-06-07 14:21:35 +01:00
colin axner
c777fb9108
Merge PR #4505 : Support height queries in REST client
2019-06-07 09:02:07 -04:00
frog power 4000
1a2a54029c
Merge PR #4502 : InvariantRouter -> InvariantRegistry
2019-06-06 16:32:38 -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
Federico Kunze
9c65e47329
Merge PR #4485 : rename expected pkg to exported
...
* rename expected pkg to exported
* rename pkg
2019-06-05 13:42:25 -04:00
Federico Kunze
d322e23425
Merge PR #4417 : cleanup staking references from types pkg
...
* cleanup staking references from types pkg
* check interface on runtime
* fixes
* rename validator set from slashing keeper
* final cleanup
* fix test
* fix querier
* fix tests
* rename interfaces
* update bond status
* fixes
* expected pkg
* ensure expected keepers match used funcs
* cha cha cha
2019-06-04 15:06:58 -07:00
Federico Kunze
fe695b8f7b
Merge PR #4460 : Gov Keys and Iterators
...
* refactor gov keys
* iterators and renamings
* invert queue key order
* changelog
* fix tests
* update alias.go
* Apply suggestions from code review
Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* rename keys
* rename functions
* Apply suggestions from code review
Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* address Aleks' comments
* fix test
* address Karoly's comments
2019-06-04 11:38:11 -07: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
colin axner
9c049321a1
Merge PR #4466 : Lazy commission validation
2019-06-03 17:14:21 -04:00
Alexander Bezobchuk
2414413e0b
Merge PR #4448 : Implement Gov EndBlocker Failed Handler Test
2019-05-30 14:31:35 -04:00
Joon
91e75cb74a
Merge PR #4403 : Paramchange proposal skips omitempty fields
2019-05-27 20:47:12 -04:00
Christopher Goes
dd89c32951
Community pool spend proposal ( #4329 )
...
Implement the "CommunityPoolSpendProposal" as described in Cosmos Hub proposal 7.
Also a useful test of Git flow for merging features passed in governance proposals.
2019-05-21 11:02:10 +01:00
Sunny Aggarwal
cca3c3cbf2
Merge PR #4374 : Don't Burn Deposits for Rejected Governance Proposals Unless Vetoed
2019-05-20 10:13:50 -04:00
frog power 4000
d9ac7d7c33
Merge PR #4349 : Autogen alias files
2019-05-20 09:13:32 -04: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
frog power 4000
3fe5869148
Merge PR #4159 : Module/Genesis Generalization
...
* first commit
* gaia cleanup
* ...
* staking multihooks
* missing module function return args
* bank module name constant
* working, module interface for x/
* got this thing compiling
* make test compiles and passes
* remove expanded simulation invariants
* genesis issue
* continued
* continued
* register crisis routes thought mm
* begin blocker to mm
* end blocker to mm
* empty routes not initialized
* move gaia initChainer sanity check to baseapp
* remove codecs from module manager
* reorging genesis stuff
* module manager passed by reference/bugfixes from working last commit
int
int
* move invariant checks from gaia to crisis
* typo
* basic refactors cmd/gaia/init
* working
* MultiStakingHooks from types to x/staking/types
int
* default module manager order of operations from input modules
* working
* typo
* add AppModuleBasic
* moduleBasicManager / non-test code compiles
* working attempting to get tests passing
* make test passes
* sim random genesis fix
* export bug
* ...
* genutil module
* genutil working
* refactored - happy with non-testing code in cmd/
* ...
* lint fixes
* comment improvement
* cli test fix
* compile housing
* working through compile errors
* working gettin' compilin'
* non-test code compiles
* move testnet to its own module
* reworking tests
int
* bez staging PR 1 comments
* concise module function-of names
* moved all tests from genesis_test.go to other genutil tests
* genaccounts package, add genutil and genaccounts to app.go
* docs for genutil genaccounts
* genaccounts iterate fn
* non-test code with genaccounts/ now compiles
* working test compiling
* debugging tests
* resolved all make test compile errors
* test debuggin
* resolved all unit tests, introduced param module
* cli-test compile fixes
* staking initialization bug
* code comment improvements, changelog entries
* BasicGaiaApp -> ModuleBasics
* highlevel explanation in types/module.go
* @alexanderbez comment revisions
* @fedekunze PR comments
* @alexanderbez PR comments (x2)
* @cwgoes comments (minor updates)
* @fedekunze suggestions
* panic on init with multiple validator updates from different modules
* initchain panic makes validate genesis fail
int
* AppModuleGenesis seperation
int
* test
* remove init panic logic in validate genesis replaced with TODO
* set maxprocs to match system's GOMAXPROCS
* Update circleci
* Cap maxprocs in CI to 4
* @alexanderbez recent comments addressed
* less blocks in twouble sims
int
* runsim error output flag
* -e on import_export as well
* error out
int
* Try to fix failures
* runsim
2019-05-16 11:25:32 -04:00
Alexander Bezobchuk
85ffce5f58
Merge PR #4306 : Allow generate-only to fully operate offline
2019-05-08 16:06:05 -04:00
Alessio Treglia
06f7b2198a
Replace vet with golangci lint govet ( #4277 )
...
Drop go vet in favor of golangci-lint govet check.
Fix golangci-lint warnings.
Upgrade golangci-lint.
2019-05-06 17:50:05 +01:00
Frank Yang
1cfc868d86
Support query txs' TotalCount in GET /txs ( #4214 )
...
Closes : #3942
2019-05-04 12:09:02 +01:00
Alexander Bezobchuk
29ed730aff
Merge PR #4244 : Param Proposal Simulation Messages; Minting Params Fix
2019-05-02 16:50:01 -04: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
Alessio Treglia
2581fffaa5
Merge PR #4126 : Add module-wide named loggers
...
Closes : #4124
2019-04-15 23:58:06 -04:00
Alexander Bezobchuk
585b68ec70
Merge PR #4100 : Return correct error on invalid messages
2019-04-15 12:25:04 -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
Federico Kunze
2cd2289a11
add category tags ( #4049 )
...
Closes : #3774
2019-04-09 13:55:01 +01:00
frog power 4000
cec3065a36
Revert "Return errors instead of panic ( #3782 )" ( #4054 )
...
This reverts commit 985aae5575
.
2019-04-05 16:20:58 -04:00
Marin Basic
985aae5575
Return errors instead of panic ( #3782 )
...
This is related to issue #3741 where fetching data from
invalid store, package panic.
Modify subspace.go to return errors instead of panic.
Also update other packages that import subspace and
handle errors.
2019-04-04 08:10:56 +01: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
Alexander Bezobchuk
f635b1cd14
Fix Proposal Stringer ( #3986 )
...
Fix the `Stringer` interface implementation for the `Proposal` type:
- Add missing description.
- Fix indentation.
2019-03-27 21:08:20 +00:00
Jack Zampolin
f9c290f42e
Merge PR #3957 : Remove requirement that deposit period and voting period linked
2019-03-22 13:47:04 -07: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
frog power 4000
f0d1efa43c
Merge PR #3819 : Simulation Refactor
2019-03-14 19:13:15 +01:00
Frank Yang
7e53da86ee
Merge PR #3884 : steak to stake
2019-03-14 10:32:46 -04:00
Alexander Bezobchuk
e236607368
Merge PR #3801 : BaseApp Security Improvements
2019-03-07 21:52:19 -08:00
Alessio Treglia
fbd79d0cad
Merge PR #3818 : Introduce sdk.NewCoins
2019-03-07 16:55:08 -08:00
Jack Zampolin
805e7fbfc2
Merge PR #3806 : Fix nil returned in Unmarshal functions
...
* Fix nils returned in unmarshal functions
* Address comments
2019-03-06 12:38:18 +01:00
Samuel E. Moelius
05529f9c13
Merge PR #3794 : Write changes to store.
2019-03-04 13:27:01 +01:00
Jae Kwon
10bd98e58e
Merge PR #3717 : Allow the undelegation of more coins than were delegated; More validity checks.
2019-02-27 22:09:26 +01:00
Christopher Goes
e2baa3806a
Merge PR #3758 : Remove governance_penalty
2019-02-27 08:44:05 -08: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
frog power 4000
c0eec30840
Merge PR #3654 : x/mint now uses total supply instead of bonded supply
2019-02-15 16:55:21 +01:00
Alessio Treglia
1aa6c197ff
Merge PR #3580 : Code cleanup of client types
2019-02-14 08:53:36 -08:00
frog power 4000
d66db6a772
Merge PR #3621 : module inter-dependency cleanup
2019-02-13 15:01:50 -08:00
Christopher Goes
02e9dcb3a7
Merge PR #3567 : x/gov peer review
2019-02-09 03:33:06 +01:00
Sunny Aggarwal
da0426a2dd
Merge PR #2601 : Bech32 Empty Addresses
2019-02-09 00:54:40 +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
b5fdb83830
Merge PR #3517 : Increasing test coverage in keys/client package
2019-02-08 12:45:23 -08:00
Sunny Aggarwal
cff985ffc5
Merge PR #3546 : Min Self Delegation
2019-02-08 12:44:19 -08: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
b63b6254c8
Merge PR #3522 : get rid of double negatives: IsNotNegative -> IsAnyNegative
2019-02-06 14:45:15 -08:00
frog power 4000
52f2ec71a9
Merge PR #3400 : power reduction for Tendermint
...
* add uncompiled power functionality
* fix some compile errors
* Power -> TendermintPower
* tests rename GetTendermintPower
* test fix
* working
* fix delegation tests
* fix slash tests
* staking/keeper tests passing
* docs reversion
* debuggin workin
* x/staking test pass
* fix gov tests
* fix x/slashing tests
* working distribution test fixes
* fix distribution tests
* lint
* fix lcd tests
* fix gov test
* lint
* CLI fixes, rm stakingTypes
* typos
* working cli fixes
* cli test fix
* cli tests fixed
* testnet creation modification
* typo
* pending
* Sanitize Dec.Roundint64 (#3475 )
* merge fixes
* @cwgoes comments
* fix tests
* change power reduction to 10^-6
* option to turn off minting for LCD tests
2019-02-05 21:30:48 -08:00
Juan Leni
1766a73a4c
Merge PR #3502 : Fixing bug in genesis Equal
2019-02-06 02:52:18 +01:00
Jack Zampolin
5e35354269
Merge PR #3451 : Make tags and responses legible
2019-02-04 18:20:56 -08:00
Joon
f15ad04a57
Merge PR #2605 : Paramstore Subkey
2019-02-04 18:13:04 -08:00
Alessio Treglia
a2b73c8ab4
Merge PR #3460 : Implement fee distribution RESTful endpoints
2019-02-04 16:45:18 -08:00
Sunny Aggarwal
254c39a9e2
Merge PR #3496 : Gov validator power sdk.Int
2019-02-05 01:31:08 +01: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
fd71351541
Merge PR #3446 : Register x/gov Message Types on init
...
* register x/gov message types on message codec on init
* add TestMsgDepositGetSignBytes
2019-01-30 19:22:20 +01:00
Sunny Aggarwal
172a4510c7
Add length caps for governance proposal titles and descriptions ( #3434 )
2019-01-29 14:23:25 -08:00
Alexander Bezobchuk
90797f5e09
Gaia Lite Generate Only Support (w/o Keybase) ( #3396 )
2019-01-29 11:22:47 -08:00
Alessio Treglia
f16cc31919
Merge PR #3403 : Implement parameter-controlled bank/send switch-off
2019-01-29 04:06:48 +01:00
HaoyangLiu
afb04b117e
Merge PR #3387 : Add missing iterator close
2019-01-25 12:13:17 +01:00
Alexander Bezobchuk
a27ef7f7d1
Merge PR #3347 : Ensure Canonical Message Signature Bytes
2019-01-23 09:46:41 +01:00
Jack Zampolin
9f50c9f5b6
R4R: Ensure all CLI queries respect output flags ( #3320 )
2019-01-22 09:28:39 -08:00
frog power 4000
7f789d2ed3
Merge PR #3281 : Staking Spec Upgrade
...
* remove kv seperation for marshalling
* pending
* cleanup
* cleanup x2
* pending
* working
* minor refactors
* entry structs defined
* uncompiled mechanism written
* add many compile fixes
* code compiles
* fix test compile errors
* test cover passes
* ...
* multiple entries fix
* ...
* more design fix
* working
* fix test cover bug
* Update PENDING.md
* update comment around queue completion for redelegations/ubds
* basic spec updates
* spec folder cleanup
* cleanup docs folder cont.
* ...
* find-replace and folder rename
* supplimentary find/replace
* pending
* supplimentary
* pending
* few undos, stakingd -> staked
* to staking -> to stake
* undos
* most staking -> most stake
* ...
* undos
* simplestake->simplestaking
* ...
* pending update
* capital letter replacements
* ...
* working
* staking doc updates from rigel/delegation-index branch
* spec-spec
* spec-spec
* LooseTokens -> NotBondedTokens
* staking state.md updates
* updates to hook and endblock spec
* Update docs/gaia/gaiacli.md
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* Update docs/gaia/validators/validator-setup.md
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* Update docs/gaia/validators/validator-setup.md
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* comment undo
* remove ErrConflictingRedelegation
* @cwgoes comments are resolved
* further updates to endblock and state
* msg json update
* working transaction updates
* working
* complete transaction rewrite
* PENDING.md
* typo
* add todo
* address @jackzampolin @cwgoes comments
* couple leftover comments, rename
* Update x/staking/types/pool.go
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* cwgoes additions
* cwgoes suggestions x2
2019-01-21 19:52:03 -05: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
Alessio Treglia
26cb0a125a
Multi-signature workflow support ( #3264 )
...
- New keys add --multisig flag to store multisig keys
locally.
- New multisign command to generate multisig
signatures.
- New sign --multisig flag to enable multisig mode.
- Add multisig transactions support in ante handler.
- gaiad add-genesis-account can now take both account
addresses and key names.
Closes : #3198
2019-01-16 09:30:57 -08:00
cong
916ea85630
Merge PR #2730 : add tx search pagination related CLI/REST API parameter
2019-01-15 16:34:48 +01:00
frog power 4000
78a21353da
Rename stake/ to staking/ ( #3280 )
2019-01-11 12:08:01 -08:00
Sunny Aggarwal
31f61889ff
Merge PR #3269 : Rename tallyresult to finaltallyresult
2019-01-10 16:02:55 +01:00
Jack Zampolin
b6ee053b1a
Fix Governance state import ( #3223 )
2019-01-07 14:24:04 -08:00
frog power 4000
a98a5a056a
Merge PR #2958 : Validator Power Dec-> Int
...
* Validator Power Dec-> Int, working
* non-test code compiles
* working, many test compile fixes
* all test compile errors resolved
* ...
* slashing test fixes minor
* test cover passes
* invariant rounding issue
* comment update
* PENDING and doc updates
* @cwgoes comments
* RemoveDelShares trimmings to the final delegation share
* fixes
* ...
* fix the oopsie
* @alexanderbez comments
* merge fixes
* address @cwgoes comments
2019-01-02 15:29:47 -05:00
Alexander Bezobchuk
b0662aa4f6
Implement Proposal Proposer client interfaces ( #3184 )
2018-12-21 09:30:46 -08:00
Alexander Bezobchuk
217a2925dc
Auth Module Param Store ( #2998 )
2018-12-20 11:09:43 -08:00
Alexander Bezobchuk
5a13e75367
Tags Cleanup & Docs ( #3137 )
2018-12-19 19:28:38 -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
Jae Kwon
6666540dbb
Revert "Remove GovernancePenalty"
...
This reverts commit 86a214f10c
.
2018-12-17 10:56:45 -08:00
Jae Kwon
86a214f10c
Remove GovernancePenalty
2018-12-17 02:17:19 -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
Jack Zampolin
2f9b062cf3
Merge PR #3015 : Add Governance genesis checks
...
* missing genesis verification in gaia, also add distribution verification
* PENDING.md
* Fix error message
2018-12-11 20:05:49 +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
Sunny Aggarwal
945803d586
Governance Quorum ( #3053 )
2018-12-10 02:50:20 -08:00
frog power 4000
49da96bc09
Merge PR #3010 : Add Missing genesis checks in Gaia
2018-12-07 01:22:24 +01: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
Christopher Goes
b2b026b5e0
Merge PR #2930 : Simulation spring cleaning
...
* Update PENDING.md
* Add simple period for expensive invariants
* Remove individual module simulations
* Simulate a few more blocks
* Add README explaining reason for shell scripts
* Deduplicate scripts, log exact replication command on failure
* Refactor invariants to take sdk.Context instead of baseapp.BaseApp
* Reference all issues in PENDING.md entry
* Remove no longer used simulation.RandSetup
* Bug fixes
* Address @rigelrozanski comments
* Fix typo
2018-11-29 16:17:10 +01:00
Hendrik Hofstadt
ca43225851
Merge PR #2943 : Fix tag usage in handlers and EndBlocker
...
* Fix tag usage in handlers and EndBlocker
* Prepend action tag in baseApp
* Fix LCD
* Remove unnecessary conversion
* Fix invalid consensus pubkey in CLI tests
* Fix tag usage in cli_test
* Shorten bechify in test
* Update docs and PENDING
2018-11-29 15:34:57 +01:00
Jae Kwon
d1e76221d8
Jae/simulator improvements ( #2900 )
...
* Make simulator operations predetermined
* Use new dbm.ReverseIterator API
* Simulation speed improvements
* Pin exact revisions, not branches
* Rename 'MountStoresIAVL' to 'MountStores'
* Zero Power Block fees to community pool
2018-11-27 00:14:22 -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
Alexander Bezobchuk
41fc538ac7
Add Safety Measures to Coin/Coins ( #2797 )
2018-11-20 01:22:35 -08:00
Jack Zampolin
f525717054
Standardize CLI Exports from Modules ( #2840 )
...
* Move query and tx commands to modules
* Move GetAccountDecoder to prevent import cycle and replace calls to it with one call in WithAccountDecoder
* Add moduleClients interface and implement in all applicable modules
* Use module clients in cli initialization
2018-11-19 09:02:34 -08:00
Sunny Aggarwal
8d6b0929fb
Codespaces as Strings ( #2821 )
2018-11-16 09:12:24 -08:00
gamarin2
addcfbf5cb
Documentation Structure Change and Cleanup ( #2808 )
...
* Update docs/sdk/clients.md
* organize ADR directory like tendermint
* docs: move spec-proposals into spec/
* remove lotion, moved to website repo
* move getting-started to cosmos-hub, and voyager to website
* docs: move lite/ into clients/lite/
* move introduction/ content to website repo
* move resources/ content to website repo
* mv sdk/clients.md to clients/clients.md
* mv validators to cosmos-hub/validators
* move deprecated sdk/ content to _attic
* sdk/modules.md is duplicate with modules/README.md
* consolidate remianing sdk/ files into a single sdk.md
* move examples/ to docs/examples/
* mv docs/cosmos-hub to docs/gaia
* Add keys/accounts section to localnet docs
2018-11-14 11:44:17 -08:00
Christopher Goes
2bff5c2838
Merge PR #2748 : Fix governance simulation, more import/export work
2018-11-14 19:20:50 +01:00
Sunny Aggarwal
d1614ebb7e
R4R: Query Gov Params ( #2576 )
...
* gov query params
2018-11-13 15:45:37 -08:00
Christopher Goes
d2a53539dd
Merge branch 'develop' into cwgoes/fix-gov-sim-more-import-export
2018-11-13 14:23:15 +01:00
Alessio Treglia
70826495b8
Merge PR #2752 : Don't hardcode bondable denom
2018-11-12 19:54:18 +01:00
Christopher Goes
2b3226854c
Correctly set return code
2018-11-12 17:25:13 +01:00
Christopher Goes
94f45311a0
Fix state export/import, add to CI ( #2690 )
...
* Update slashing import/export
* More slashing.WriteGenesis
* Add test import/export to CI
* Store equality comparison.
* Fix validator bond intra-tx counter
* Set timeslices for unbonding validators
* WriteGenesis => ExportGenesis
* Delete validators from unbonding queue when re-bonded
* Hook for validator deletion, fix staking genesis tests
2018-11-08 16:28:28 -08:00
Jae Kwon
2a3d1f1e87
Fix coins.IsLT() impl ( #2686 )
...
* Fix coins.IsLT() impl
* Fix coin.IsLT() impl
* Coins.IsLT -> Coins.IsAllLT etc
2018-11-07 00:14:48 -08:00
Sunny Aggarwal
1d3a04a61c
Switch gov proposal-queues to use iterators ( #2638 )
...
* switched gov proposals queue to use iterators
* update gov spec
* update proposal.Equal
* Amino api change
* switched proposalID to uint64
* renamed Gov Procedures to Params
* s/ActiveProposalQueueProposalKey/KeyActiveProposalQueueProposal/g
* numLatestProposals -> Limit
* fixed staking invariant breakage because of gov deposits
* Send deposits to DepositedCoinsAccAddr or BurnedDepositCoinsAccAddr
2018-11-06 23:33:18 -08:00
Christopher Goes
256ec0f07b
Simulation improvements (logging fix, random genesis parameters) ( #2617 )
...
* Print out initial update on every block
* Randomize simulation parameters
* Randomize initial liveness weightings
* Randomize genesis parameters
* fixed power store invariant
* IterateValidatorsBonded -> IterateBondedValidatorsByPower
* WriteValidators uses IterateLastValidators rather than IterateBondedValidatorsByPower
* fixed democoin interface
Closes #2556
Closes #2396
Via #2671 :
closes #2669
closes #2670
closes #2620
Offshoot issues:
#2618
#2619
#2620
#2661
2018-11-04 20:44:43 -08:00
Alexander Bezobchuk
50926fffff
Update to TM v0.26.0 - Part I ( #2679 )
...
* Update to TM v0.26.0
2018-11-04 18:28:38 -08:00
Dev Ojha
8e328c8706
Merge PR #2665 : simulation: Remove header from Invariant
...
This got introduced recently, but wasn't actually needed, hence the reversion
2018-11-02 13:35:21 +01:00
Elvin
1686ba072b
Merge PR #2643 : AppendTag function usage error. append elements do not work
2018-11-01 10:26:44 +01:00
Rigel
d71f38bdac
Merge PR #2597 : Add distribution accum invariants
2018-10-26 13:42:53 +02:00
Christopher Goes
234262160e
'make format'
2018-10-24 15:37:06 +02:00
HaoyangLiu
9ee9e28439
Merge PR #2462 : Add swagger-ui for gov, stake and slashing
2018-10-24 15:19:48 +02:00
Sunny Aggarwal
d666658ca9
Merge PR #2553 : Renamed msg.Name() and msg.Type() to msg.Type() and msg.Route()
2018-10-23 21:23:55 +02:00
Christopher Goes
33c8238392
Merge branch 'develop' into cwgoes/check-supply-in-simulation
2018-10-23 17:54:58 +02:00
Jae Kwon
1cc74320df
Replicate Rigel's changes but w/ modifications as discussed + some name changes
2018-10-22 01:46:47 -07:00
Alessio Treglia
6014089fa1
Rename AccountMapper to AccountKeeper
...
Closes : #2540
2018-10-20 23:22:48 -07:00
Federico Kunze
ad355d6c69
Merge PR #2444 : Standardize REST error responses
2018-10-19 18:55:20 +02:00
Federico Kunze
e5b664f154
fixed naming for proposal id and time
2018-10-17 14:26:25 +02:00
Federico Kunze
8e1d0fbac0
Add option to indent response
2018-10-15 10:41:37 +02:00
Federico Kunze
63f8669c4a
Merge branch 'develop' of https://github.com/cosmos/cosmos-sdk into fedekunze/2478-gov-deposits-rest
...
Pull
2018-10-15 10:31:30 +02:00
Federico Kunze
b1109180ca
add header
2018-10-12 19:12:57 -07:00
Federico Kunze
f8486aeca5
Add deposits endpoint and tests
2018-10-12 19:05:22 -07:00
mossid
42c7a09075
Merge branch 'develop' into joon/paramstore-refactor-base
2018-10-12 00:09:07 +09:00
Alessio Treglia
0f4a03b44e
Alessio/server refactor ( #2472 )
...
* Add arg to PrintUnsignedStdTx() to actually operate in offline mode
* WIP simplifying server module
* Expose ExternalIP()
* Move {GenTx,Init}Cmd into gaia's new init package
2018-10-10 15:45:41 -07:00
mossid
5c92a546c6
rename store subspace, add WithTypeTable
2018-10-11 05:01:30 +09:00
mossid
4bf14c5650
apply request finalize, fix lint
2018-10-07 01:12:01 +09:00
mossid
7a68b376bd
apply requests in progress
2018-10-07 01:12:01 +09:00
mossid
7d49675600
apply requests in progress
2018-10-07 01:12:01 +09:00