Alexander Bezobchuk
29ed730aff
Merge PR #4244 : Param Proposal Simulation Messages; Minting Params Fix
2019-05-02 16:50:01 -04:00
Alessio Treglia
38f93128eb
Remove baseapp dependency on the version package ( #4250 )
...
The version package is meant to be a convenience utility
that provides SDK consumers with a ready-to-use version
command that produces app's versioning information from
flags passed at compile time.
It will not make sense anymore for the baseapp package
to depend on the version package once gaia will have been
migrated away from the SDK main repository as we neither
want to make assumptions nor set expectations on downstream
apps buildsystems. Thus BaseApp now provides SetAppVersion()
and AppVersion() to to allow SDK consumers to set BaseApp's
version information string once the struct is initialised.
2019-05-02 20:37:44 +01:00
Aaron Craelius
114de631a5
Allow custom key types and address formats ( #4232 )
...
Add additional parameter to NewAnteHandler for custom SignatureVerificationGasConsumer (the existing one is now called DefaultSigVerificationGasConsumer).
Add addressVerifier field to sdk.Config which allows for custom address verification (to override the current fixed 20 byte address format).
DefaultSigVerificationGasConsumer now uses type switching as opposed to string comparison.
Other zones like Ethermint can now concretely specify which key types they accept.
Closes : #3685
2019-05-02 20:36:42 +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
ec4a1e8f2a
Merge PR #4207 : Add rewards and commission tags in txs
2019-04-26 19:11:45 -04:00
Alexander Bezobchuk
df6f2d6e25
Merge PR #4140 : Fix Failed Simulation Seeds
2019-04-22 10:57:58 -04:00
Alessio Treglia
21e0d3cc6b
Fix develop's build ( #4108 )
...
Fix build failure introduced with 722d122
2019-04-13 10:56:45 +01:00
Alexander Bezobchuk
722d122da7
Merge PR #4079 : Implement Invariant Benchmarks
2019-04-12 18:52:16 -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
frog power 4000
02a0e393c5
Run missing invariants during simulations ( #4080 )
2019-04-10 02:34:38 +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
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
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
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
120e08f12d
Merge PR #3851 : Enable Transfers
...
Remove forked bank router from Gaia
2019-04-01 11:38:31 -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
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
Alessio Treglia
fbd79d0cad
Merge PR #3818 : Introduce sdk.NewCoins
2019-03-07 16:55:08 -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
bf7cbbbdf8
Merge PR #3807 : Custom MsgMultiSend Handler (x/bank fork)
2019-03-06 16:41:51 +01:00
Alessio Treglia
3e82a8bbb8
Merge PR #3792 : Use DBBackend set at compile time
...
* use DBBackend set at compile time
Closes : #3719
* Refresh changelog
* Tweak Makefile
2019-03-04 21:31:55 +01:00
Samuel E. Moelius
e1ad7384da
Merge PR #3796 : Set Quorum field in a manner consistent with DefaultGenesisState.
2019-03-04 13:25:42 +01:00
frog power 4000
52bf9ef9fd
Revert "Merge PR #3762 : Allow Validator w/ No Self-Delegation to Unjail (Transfers Disabled)"
...
This reverts commit c2aecb8b0e
.
2019-03-01 19:04:37 -05:00
Alexander Bezobchuk
c2aecb8b0e
Merge PR #3762 : Allow Validator w/ No Self-Delegation to Unjail (Transfers Disabled)
2019-03-01 13:19:27 -08:00
Tony Stark
9f383c0031
Added custom querier in Gaia App
2019-03-01 01:12:12 +05:30
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
Alexander Bezobchuk
b9be1166f7
Merge PR #3673 : Message & Codec Registration Consistency
2019-02-25 16:16:52 +01:00
frog power 4000
d66db6a772
Merge PR #3621 : module inter-dependency cleanup
2019-02-13 15:01:50 -08:00
Alessio Treglia
cb07f13672
gaia/genesis.go: rename bondDenom to defaultBondDenom to avoid confusion
2019-02-09 12:52:45 -08:00
Zaki Manian
e1996048f8
Merge PR #3574 : Fixes for non-default staking token
2019-02-09 12:22:36 -08: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
Joon
685bfca1d4
Merge PR #3526 : BaseApp Peer Review
2019-02-07 17:52:24 -08:00
Christopher Goes
38068a59ea
Merge PR #3507 : Results from x/staking & x/slashing peer review
2019-02-07 17:41:23 -08:00
Christopher Goes
fc851671ea
Merge PR #3527 : Multiply initial token amounts by 1e6
2019-02-06 16:15:01 -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
Sunny Aggarwal
18eee0a3a8
Merge PR #3428 : SendMsg and MultiSendMsg seperation
2019-02-04 15:58:02 -08:00
Alexander Bezobchuk
082295172e
Merge PR #3447 : Consume Gas Proportional to Tx Size
2019-02-04 15:35:12 -08:00
Jack Zampolin
c766993c83
Merge PR #3454 : Add --jail-whitelist to gaiad export
2019-02-04 08:42:48 -08:00
Christopher Goes
9320dbb2da
Merge PR #3428 : Simulate from a genesis file
2019-01-29 23:53:42 +01:00
Alexander Bezobchuk
1a656e7023
Merge PR #3425 : Add Vesting Account Genesis Validation
2019-01-29 19:11:33 +01:00
Alessio Treglia
f16cc31919
Merge PR #3403 : Implement parameter-controlled bank/send switch-off
2019-01-29 04:06:48 +01:00
Alessio Treglia
f494a92f92
Implement GenesisState.Sanitize() ( #3397 )
2019-01-28 09:54:56 -08:00
Jack Zampolin
af60c75dd3
Merge PR #3352 : Reenable simulation tests
2019-01-24 22:01:32 +01:00
Christopher Goes
b5e245fee3
Merge PR #3333 : F1 storage efficiency improvements
2019-01-23 12:37:03 +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
Christopher Goes
f65ae49356
Merge PR #3319 : Distribution Queriers & CLI query commands
2019-01-18 20:38:40 +01:00