Alexander Bezobchuk
f0ff0e87f3
Merge PR #4620 : Close Staking Iterators
2019-06-25 09:22:17 -04: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
helldealer
941effc14d
Merge PR #4553 : Fix undelegate losing tokens issue
2019-06-15 10:26: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
frog power 4000
d1f17ff903
Merge PR #4520 : add some noalias's also fix alias directory in mint
2019-06-10 11:57:38 +02:00
frog power 4000
1a2a54029c
Merge PR #4502 : InvariantRouter -> InvariantRegistry
2019-06-06 16:32:38 -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
Alexander Bezobchuk
d204afbdae
Merge PR #4461 : Port advisory patch to master
2019-05-31 11:14:40 -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
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
44f972584d
Merge PR #4333 : Remove Shares from Client Responses
2019-05-15 10:44:47 -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
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
2581fffaa5
Merge PR #4126 : Add module-wide named loggers
...
Closes : #4124
2019-04-15 23:58:06 -04: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
Frank Yang
bc8d2d4414
R4R: Rename validator.GetJailed() to validator.IsJailed() #3245 ( #4017 )
...
Closes : #3245
2019-04-02 15:43:22 +02: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
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
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
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
Alexander Bezobchuk
b9be1166f7
Merge PR #3673 : Message & Codec Registration Consistency
2019-02-25 16:16:52 +01: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
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
frog power 4000
d66db6a772
Merge PR #3621 : module inter-dependency cleanup
2019-02-13 15:01:50 -08:00
frog power 4000
7f74b33e21
Merge PR #3357 : Staking spec upgrades / some renaming
2019-02-09 00:57:33 +01:00
Sunny Aggarwal
da0426a2dd
Merge PR #2601 : Bech32 Empty Addresses
2019-02-09 00:54:40 +01:00
Christopher Goes
6ee9c97a5e
Merge PR #3561 : Don't store denominations in staking
2019-02-08 13:28:53 -08: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
Christopher Goes
38068a59ea
Merge PR #3507 : Results from x/staking & x/slashing peer review
2019-02-07 17:41:23 -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
Joon
f15ad04a57
Merge PR #2605 : Paramstore Subkey
2019-02-04 18:13:04 -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
frog power 4000
dc75eb4eb8
Merge PR #3372 : Limit unbonding delegation / redelegations
2019-01-24 23:44:31 +01:00
Jack Zampolin
af60c75dd3
Merge PR #3352 : Reenable simulation tests
2019-01-24 22:01:32 +01: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
frog power 4000
8f7a222308
Merge PR #3314 : Staking misc rename
2019-01-17 18:53:22 +01:00
Christopher Goes
2942f83ff5
Merge PR #3099 : F1 fee distribution
2019-01-16 22:38:05 +01:00
frog power 4000
133934ae37
Merge PR #3243 : allow multiple simultaneous redelegations/ubds between same delegator/validator(s) addresses
...
* 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
* remove ErrConflictingRedelegation
* @cwgoes comments are resolved
* Update x/staking/keeper/slash.go
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* address @alexanderbez comments
2019-01-16 05:35:18 -05:00
Alexander Bezobchuk
a984a22373
Merge PR #2694 : Vesting Account(s) Implementation
2019-01-14 17:11:24 +01:00
frog power 4000
78a21353da
Rename stake/ to staking/ ( #3280 )
2019-01-11 12:08:01 -08:00