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
Nicolas Pinto
f0b690ba6e
Merge PR #4366 : Random Fuzzer fix: avoids VotingPeriod=0
2019-05-17 19:46:43 -04:00
frog power 4000
cef788042b
Merge PR #4365 : Simulator bugfix for multisim 7601778
2019-05-17 19:45:36 -04:00
Nicolas Pinto
fd9f322b8c
Merge PR #4363 : invalid 0stake deposit amount in sim
...
This fixes the "panic: Governance deposit amount must be a valid sdk.Coins amount, is 0stake" that can happen in the simulator if `DepositParams/MinDeposit` samples the integer `0`.
2019-05-17 16:51:55 -04:00
Alessio Treglia
ca4363ffb7
Merge PR #4351 : remove x/ dependency on cmd/gaia
...
* remove x/ dependency on cmd/gaia
This is an alternative patch to what is proposed in #4348
* Add pending entry
* Ditto for CollectGenTxsCmd
* Update pending
* Update tests
* Update pending
2019-05-16 21:34:54 -04:00
frog power 4000
5b7690e5e9
Merge PR #4346 : report card minor fixes
...
* report card minor fixes
* fix
2019-05-16 21:32:20 -04: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
Alessio Treglia
262c752863
Fix AppendTags usage error ( #4336 )
...
Fix AppendTags usage error
Thanks: @mjackson001 for the bug report and patch (original PR: #4274 )
Closes : #4273
2019-05-14 16:13:18 +01:00
Frank Yang
7558f76079
Merge PR #4321 : Improve offline flag doc
2019-05-13 10:51:48 -04:00
Alexander Bezobchuk
925070ae38
Merge PR #4292 : Fix Signing Infos Endpoint
2019-05-09 13:38:15 -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
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
67f1e12eec
Merge PR #4253 : Change User Supplied Param Change Value to json.RawMessage
2019-05-02 14:21:35 -04:00
Alexander Bezobchuk
5653c768bb
Merge PR #4234 : Allow tx send (generate-only) to actually work offline
2019-04-30 12:47:26 -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
Juan Leni
1306a25e42
Adding support for Ledger Cosmos App v1.5 ( #4227 )
...
This PR adds support for the latest version of the Cosmos App (v.1.5).
The app is not been released yet by Ledger but the PR is backwards compatible.
We can later remove backwards compatibility and enforce v1.5 only.
When creating a new account, `gaiacli` now shows the account/index and address in the device and requires user confirmation.
Related PRs:
https://github.com/cosmos/ledger-cosmos-go/pull/3
https://github.com/cosmos/ledger-cosmos-go/pull/4
https://github.com/cosmos/ledger-cosmos-go/pull/5
https://github.com/cosmos/ledger-cosmos-go/pull/6
Changes in the app can be found here:
https://github.com/LedgerHQ/ledger-app-cosmos/pull/5
2019-04-30 09:58:21 +01:00
Alexander Bezobchuk
ec4a1e8f2a
Merge PR #4207 : Add rewards and commission tags in txs
2019-04-26 19:11:45 -04:00
Jack Zampolin
ea75ae5d47
Merge master into develop
2019-04-26 13:56:02 -04:00
Aleksandr Bezobchuk
e7ca82d808
Merge branch 'develop' into release/v0.34.2
2019-04-25 21:40:33 -04:00
Alexander Bezobchuk
13bd5b62cf
Release v0.34.2
...
* Merge PR #4163 : Fix v0.33.x export script to port gov data correctly
* Remove TOC
* Add missing changelog entry for v0.34.1
* Merge PR #4182 : Cherry pick #4083 into v0.34.2
* Merge PR #4181 : Cherry pick 4135 v0.34.2
* Merge PR #4183 : Cherry pick 4181 into v0.34.2
* Support pagination and status query params for /staking/validators
* Rename BondStatusToString to String
* Cherry pick 4181
* Remove pending log
* Fix CODEOWNERS
2019-04-25 17:30:23 -04:00
xwartz
95e3d7d05e
Merge PR #4189 : Fix ErrNoInputs message typo
2019-04-25 09:16:38 -04:00
Alexander Bezobchuk
94bc55ef4f
Merge PR #4183 : Cherry pick 4181 into v0.34.2
...
* Support pagination and status query params for /staking/validators
* Rename BondStatusToString to String
* Cherry pick 4181
* Remove pending log
2019-04-24 12:03:55 -04:00
Alexander Bezobchuk
c0e6b38394
Merge PR #4182 : Cherry pick #4083 into v0.34.2
2019-04-24 11:51:49 -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
Alexander Bezobchuk
df6f2d6e25
Merge PR #4140 : Fix Failed Simulation Seeds
2019-04-22 10:57:58 -04:00
Alessio Treglia
93e8f467fe
Turn --from into a positional argument in gaiacli tx send ( #4146 )
...
Closes : #4142
2019-04-18 19:48:52 +01:00
Alessio Treglia
769370801d
Merge PR #4101 : Return per-validator rewards when querying delegator rewards
2019-04-16 09:43:08 -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
Aleksandr Bezobchuk
046932b084
Merge branch 'develop' into release/v0.34.0
2019-04-15 10:10:52 -04: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
38e3fdfcea
Merge PR #4094 : Account for Rounding Errors in Distribution Calculations
2019-04-10 18:53:42 -04:00
Alexander Bezobchuk
94b7d8f467
Fix queryDelegatorTotalRewards ( #4078 )
...
Return [] instead of null by making the initial
value an empty slice literal opposed to nil.
Closes : #3705
2019-04-10 18:08:50 +01: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
1bd579dcdb
Fix tiny typo ( #4085 )
2019-04-10 13:11:02 +01:00
Federico Kunze
eb51a6f84b
remove duplicated account check and test ( #4068 )
2019-04-10 13:10:44 +01:00
frog power 4000
02a0e393c5
Run missing invariants during simulations ( #4080 )
2019-04-10 02:34:38 +01:00
Federico Kunze
2cd2289a11
add category tags ( #4049 )
...
Closes : #3774
2019-04-09 13:55:01 +01:00
wangjj9219
65338f6642
There's no check for chain-id in TxBuilder.SignStdTx #3945 ( #3946 )
...
Close : #3945
2019-04-09 13:46:13 +01:00
Federico Kunze
c0a607ce74
fix and cleanup action tags ( #4045 )
...
Closes : #3966 #3793
2019-04-08 23:51:02 +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
Alexander Bezobchuk
3361871198
Merge PR #4047 : Fix queryDelegationRewards
2019-04-04 13:53:22 -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
e2928d5b70
Merge PR ##4007: Add Block Time in Txs Responses
2019-04-02 21:09:37 -04:00
Frank Yang
bc8d2d4414
R4R: Rename validator.GetJailed() to validator.IsJailed() #3245 ( #4017 )
...
Closes : #3245
2019-04-02 15:43:22 +02: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
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
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
Alexander Bezobchuk
ea46da7126
Merge PR #3970 : Fix Tx Sign Offline Mode
...
- Add shorthand flags `-a` and `-s` for the account and sequence numbers respectively
- Mark the account and sequence numbers required during "offline" mode
- Always do an RPC query for account and sequence number during "online" mode
- If clients wish to provide such values, they must use `--offline`. This makes the whole flow/UX easier to reason about.
closes : #3893
2019-03-26 10:36:10 -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
Jack Zampolin
f9c290f42e
Merge PR #3957 : Remove requirement that deposit period and voting period linked
2019-03-22 13:47:04 -07:00
Frank Yang
424adf1461
Merge PR #3953 : Codespace should be lowercase
2019-03-20 16:45:02 -07:00
Alexander Bezobchuk
386116f9e2
Merge PR: #3918 Allow Unrated Decreases to Validator Commission Rates
...
* Allow arbitrary decreases to validator commission rates
* Implement TestCommissionValidate
* Implement TestCommissionValidateNewRate
* Add comments to unit tests
2019-03-19 22:04:25 -04: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
frog power 4000
ea9aecdff4
Merge PR #3894 : Minting mechanism explanatory docs
...
* minting spec concepts
* cl
* Update docs/spec/mint/01_concepts.md
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* typo address @alexanderbez
* Apply suggestions from code review
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* commit for CI to restart
2019-03-18 11:11:31 -04: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
b316c477c1
Merge PR #3836 : Fix WithdrawValidatorCommission
2019-03-12 16:10:20 +01: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
Alexander Bezobchuk
d7fc4e98ab
Improve iterate validators dist. invariant ( #3818 )
2019-03-06 21:03:15 -05: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
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
Alexander Bezobchuk
51c03aa6fe
Merge PR #3803 : Validator Creation Updates
2019-03-05 17:55:46 +01:00
Samuel E. Moelius
c7f6a3e8c6
Merge PR #3797 : Have MsgCreateValidator.UnmarshalJSON return an error rather than panic.
2019-03-04 13:28:18 +01:00
Samuel E. Moelius
05529f9c13
Merge PR #3794 : Write changes to store.
2019-03-04 13:27:01 +01:00
Samuel E. Moelius
ad91605d77
Merge PR #3795 : Make Redelgate log message consistent with others.
2019-03-04 13:26:12 +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
47a44fb580
Merge PR #3748 : Multisig Display UX Improvements
2019-03-01 13:29:33 -08: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
Jack Zampolin
7ac01bd76a
Merge PR #3767 : Added querier for auth module
2019-03-01 12:40:39 -08:00
Jack Zampolin
bdf55d9610
Merge PR #3778 : Fix improper distr msg tag
2019-03-01 11:15:53 -08:00
Tony Stark
b5fa8dbf49
Merge branch 'develop' of https://github.com/cosmos/cosmos-sdk into develop
2019-03-02 00:08:56 +05:30
Alexander Bezobchuk
5d8b94979d
Merge PR #3763 : Disable ED25519 Account Keys
2019-03-01 09:12:28 -08:00
Tony Stark
7c3251fa26
Added a condition in querier
2019-03-01 08:49:18 +05:30
Sunny Aggarwal
172e2657ba
Merge PR #3765 : testing sequence increment if not enough balance for send
2019-02-28 12:50:41 -08:00
Tony Stark
2899ff9ce4
Added tests for querier
2019-03-01 01:11:14 +05:30
Tony Stark
b42410ea80
Added custom querier
2019-03-01 01:10:32 +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
Jae Kwon
7e08b62f4e
Merge PR #3726 : Cap(clip) reward to remaining coins in AllocateTokens
2019-02-27 21:38:57 +01:00
Christopher Goes
e2baa3806a
Merge PR #3758 : Remove governance_penalty
2019-02-27 08:44:05 -08:00
Christopher Goes
7cddda7b05
Merge PR #3728 : Alternative negative coins fix (floor multiplication)
2019-02-26 10:23:11 -08:00
Alexander Bezobchuk
6ace1fada2
Merge PR #3696 : Cleanup Tx Broadcasting and Encoding
2019-02-26 12:34:27 +01:00
Alexander Bezobchuk
feb98bcd05
Merge PR #3698 : Prompt User Confirmation Prior to Signing & Broadcasting
...
* Prompt user confirmation prior to sign & broadcasting
* Update confirmation message
* Update and fix existing CLI integration tests
* Implement CLI integration test for tx confirmation
* Fix order of input into tx send
2019-02-26 12:34:01 +01:00
Alexander Bezobchuk
b9be1166f7
Merge PR #3673 : Message & Codec Registration Consistency
2019-02-25 16:16:52 +01:00
Alexander Bezobchuk
c96d8f3e81
Merge PR #3713 : Use from instead of name CLI flag for the tx sign cmd
...
* Use from instead of name CLI flag for the tx sign cmd
* Use cliCtx.GetFromName() instead of direct from value
2019-02-22 17:15:36 +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
Alexander Bezobchuk
992dc8b2dc
Merge PR #3691 : Minor Error Message Cleanup
...
* cleanup error messages
* Add pending log entry
* Rename Message to Error in ErrorResponse
2019-02-21 03:49:57 -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
Alexander Bezobchuk
26c13b28cd
Merge PR #3607 : Reconcile DecCoin/s API with Coin/s API
2019-02-15 16:33:23 +01:00
Alessio Treglia
1aa6c197ff
Merge PR #3580 : Code cleanup of client types
2019-02-14 08:53:36 -08:00
Aleksandr Bezobchuk
afd90f88c1
add JSON struct tags to vesting accounts
2019-02-14 10:02:46 -05:00
frog power 4000
d66db6a772
Merge PR #3621 : module inter-dependency cleanup
2019-02-13 15:01:50 -08:00
Alexander Bezobchuk
9c23fe68ee
Merge PR #3604 : Improve REST Error Messages & Allow Unicode
2019-02-11 15:12:43 -08:00
Zaki Manian
16bcf95f8f
Other Bond Denom fixes
2019-02-09 12:40:38 -08:00
Zaki Manian
e1996048f8
Merge PR #3574 : Fixes for non-default staking token
2019-02-09 12:22:36 -08:00
Christopher Goes
02e9dcb3a7
Merge PR #3567 : x/gov peer review
2019-02-09 03:33:06 +01: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
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
Jack Zampolin
2c9a5bc308
Merge PR #3554 : x/auth and x/bank review results
2019-02-08 22:35:19 +01:00
Christopher Goes
6ee9c97a5e
Merge PR #3561 : Don't store denominations in staking
2019-02-08 13:28:53 -08:00
Ducem Barr
9348750eb4
Merge PR #3523 : Add tx/encode endpoint and CLI command
2019-02-08 13:17:25 -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
Juan Leni
ba63eb1801
Merge PR #3557 : Removing pkg/errors when not necessary
2019-02-08 11:37:46 -08:00
Alexander Bezobchuk
7bc837aa06
Merge PR #3555 : Reintroduce Fees OR Semantics
2019-02-07 18:14:54 -08:00
Christopher Goes
38068a59ea
Merge PR #3507 : Results from x/staking & x/slashing peer review
2019-02-07 17:41:23 -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
Alessio Treglia
9a57ce0214
Merge PR #3514 : don't lock keybase on lcd startup
2019-02-06 11:23:49 -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
Alexander Bezobchuk
9f30bfdbd9
Merge PR #3505 : add json tags to auth params and fix tags in slashing
2019-02-05 16:36:10 -08: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
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
Zaki Manian
3780b84290
Merge PR #3486 : Checking Vesting Coins with AmountOf
2019-02-04 13:10:06 -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
Joon
08e62fb157
Store Refactor 1 ( #2985 )
2019-02-01 17:03:09 -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
Alexander Bezobchuk
3864d5b1bd
Query all Delegator Distribution Rewards ( #3433 )
2019-01-29 16:06:38 -08:00
Christopher Goes
9320dbb2da
Merge PR #3428 : Simulate from a genesis file
2019-01-29 23:53:42 +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
Jack Zampolin
6de39e19f3
Merge PR #3419 : Fix query distr slashes
2019-01-29 01:59:20 +01:00
Jack Zampolin
5476c4e664
Merge branch 'develop' into jack/gaiacli-config-node
2019-01-28 13:05:31 -08:00
Alexander Bezobchuk
9e21ca25ce
Remove Pubkey field from BaseAccount#String ( #3407 )
2019-01-28 11:50:27 -08:00
Jack Zampolin
818fd16481
Fixes #3393
2019-01-28 11:37:05 -08:00
HaoyangLiu
afb04b117e
Merge PR #3387 : Add missing iterator close
2019-01-25 12:13:17 +01:00
frog power 4000
6b02e08160
Merge PR #3394 : Update staking string types
2019-01-25 12:12:04 +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
Jack Zampolin
0043912548
Merge PR #3338 : Remove unused code and examples
2019-01-24 11:18:45 +01:00
Alessio Treglia
e01794130a
Merge PR #3358 : Bech32-ify address in error message return by ante handler
...
Closes : #3356
2019-01-23 14:26:21 +01:00
Christopher Goes
b5e245fee3
Merge PR #3333 : F1 storage efficiency improvements
2019-01-23 12:37:03 +01:00
Alexander Bezobchuk
a27ef7f7d1
Merge PR #3347 : Ensure Canonical Message Signature Bytes
2019-01-23 09:46:41 +01:00
Jack Zampolin
fae7852b61
Merge PR #3346 : Change name of gaiacli query distr to dist
2019-01-22 20:25:12 +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
Christopher Goes
f65ae49356
Merge PR #3319 : Distribution Queriers & CLI query commands
2019-01-18 20:38:40 +01:00
Alexander Bezobchuk
36d1736a08
Refactor Gas/Fee Model ( #3258 )
2019-01-18 08:45:20 -08:00
frog power 4000
8f7a222308
Merge PR #3314 : Staking misc rename
2019-01-17 18:53:22 +01:00
Alexander Bezobchuk
f2e87ad81f
Merge PR #3308 : Genesis Vesting Accounts & Simulation
...
* Update vesting spec and impl time fields and constructors
* Update genesis to support vesting accounts
* More spec and godoc updates
* Update genesis section in vesting spec
* Fix bank unit tests
* Add test cases to ToAccount in genesis
* Update RegisterCodec to include vesting interface and types
* Fix GetVestedCoins bug where block time is past vesting end time
* Add vesting accounts to simulation
* Update vesting genesis logic to panic on invalid accounts
* Change randomness of vesting accounts in simulation
2019-01-17 17:15:13 +01:00
Christopher Goes
0684a42d9f
Merge PR #3292 : Enable/disable withdraw addresses with a parameter
2019-01-16 23:17:56 +01:00
Christopher Goes
2942f83ff5
Merge PR #3099 : F1 fee distribution
2019-01-16 22:38:05 +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
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
cong
916ea85630
Merge PR #2730 : add tx search pagination related CLI/REST API parameter
2019-01-15 16:34:48 +01: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
Alessio Treglia
df567616a9
Upgrade tendermint to 0.28.0-dev0 ( #3279 )
2019-01-11 09:19:01 -08:00
Sunny Aggarwal
4aec6cd41c
R4R: Tombstone Implementation ( #3225 )
2019-01-10 17:22:49 -08:00
Sunny Aggarwal
31f61889ff
Merge PR #3269 : Rename tallyresult to finaltallyresult
2019-01-10 16:02:55 +01:00
Jack Zampolin
b16af44271
Merge PR #3076 : Rename hooks from Before -> Pre and On -> Post
...
* Rename hooks from Before -> Pre and On -> Post
* Fix lint error
* Update x/slashing/hooks.go
Co-Authored-By: jackzampolin <jack.zampolin@gmail.com>
* Ignore linter warnings on hooks file
* swap 171, 172 for clarity (my own comment)
2019-01-09 00:28:46 -05:00
Alexander Bezobchuk
9eef341df9
Fix runTx Gas Consumption during Tx Aborting ( #3244 )
2019-01-08 15:56:53 -08:00
Zaki Manian
ed2b6bd9a7
Multiple fees in min fees to OR instead of AND ( #3239 )
2019-01-08 08:21:54 -08:00
Jack Zampolin
b6ee053b1a
Fix Governance state import ( #3223 )
2019-01-07 14:24:04 -08:00
frog power 4000
20f6ff3e60
Merge PR #3230 : Remove KV marshalling split
...
* remove kv seperation for marshalling
* pending
* cleanup
* cleanup x2
2019-01-07 15:42:52 -05:00
Alexander Bezobchuk
fa056c9816
Minor cleanup of validator CLI logic ( #3221 )
2019-01-03 15:28:55 -08:00
Jack Zampolin
d1824ad704
R4R: validate sign tx request's body ( #3179 )
...
* validate sign tx request's body
Closes : #3176
* Introduce CodeNoSignatures
* Update swagger.yaml
* Fix tests
* Update x/auth/client/rest/sign.go
Co-Authored-By: alessio <quadrispro@ubuntu.com>
2019-01-03 08:30:04 -08:00
Alexander Bezobchuk
15bd1f668f
Merge PR #3189 : Reset slashing periods on export
...
* Reset slashing periods on export
* Rename old slashing period setter to SetValidatorSlashingPeriod
* Update export to reset slashing periods
* Fix cons address
* Remove old slashing period reset
* Add pending log entry
* Update slashing period tests
2019-01-03 00:57:13 +01:00
Alexander Bezobchuk
990f3ab4c1
Add IsValid check on sendCoins ( #3212 )
2019-01-02 13:19:48 -08:00
frog power 4000
5448824efb
Update x/auth/client/rest/sign.go
...
Co-Authored-By: alessio <quadrispro@ubuntu.com>
2019-01-02 20:51:11 +00: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
Alessio Treglia
d78db91944
Fix tests
2019-01-02 10:53:24 +00:00
Alessio Treglia
11585a4abd
Introduce CodeNoSignatures
2019-01-02 10:05:56 +00:00
Alessio Treglia
1ebe1844d2
validate sign tx request's body
...
Closes : #3176
2018-12-27 14:43:23 +01: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
Jae Kwon
192ad58431
Merge pull request #3166 from cosmos/cwgoes/gos-patch-1
...
Merge GoS point release back to develop
2018-12-19 16:43:02 -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
Christopher Goes
3387261e6b
Add comment outlining safety of commission-withdraw ( #3175 )
2018-12-19 14:36:25 -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
Jack Zampolin
4b4a2b81a1
Add slashing genesis validation ( #3158 )
2018-12-19 09:03:16 -08:00
Hendrik Hofstadt
2be19b9d33
Merge PR #3163 : Withdraw commission on self bond removal
...
* Withdraw commission on self bond removal
* Update PENDING.md
2018-12-19 17:05:33 +01:00
Nicolas Pinto
f32286d5ff
Small typo in stake/client/cli/tx.go ( #3157 )
...
* FIX: small typo in stake/client/cli/tx.go
* FIX: another typo in stake/client/cli/tx.go
2018-12-18 15:44:28 -08:00
Sunny Aggarwal
f4fb3608c0
Redelegation Querier ( #2559 )
2018-12-18 13:43:41 -08:00
Alessio Treglia
711a22fde6
Merge PR #3121 : x/auth: fetch one account after another
...
* x/auth: fetch one account after another
- Don't read all accounts in one go as signature verification
could fail before last signature is checked.
- TestAnteHandlerFees now checks whether fees were actually
deducted from the account as well as the fee keeper collected
them.
Thanks: @ValarDragon for pointing this out
Closes : #3093
2018-12-18 21:41:54 +01:00
Alessio Treglia
500fa2b694
Make coins denoms case insensitive ( #3092 )
2018-12-18 11:14:11 -08:00
Alessio Treglia
eac7d6939d
Merge PR #3127 : Don't fallback to any default values for chain id
...
- Remove DefaultChainID(). User needs to suplly chain ID
via either config or flag.
- Mark --chain-id as required by all tx commands.
- Fix gaiacli config values containing underscores.
Underscore '_' character is not automagically translated
into hyphen '-'. Viper values wouldn't be affected.
- Refresh gaiacli config tests
Closes : #810
2018-12-18 19:40:01 +01:00
Alexander Bezobchuk
56937714b5
Expose necessary ante handler auxiliary functions ( #3135 )
2018-12-17 15:43:16 -08:00
Jae Kwon
6666540dbb
Revert "Remove GovernancePenalty"
...
This reverts commit 86a214f10c
.
2018-12-17 10:56:45 -08:00
Jae Kwon
ac511abc5c
Temporarily revert x/slashing/params json field names to use dashes, for GoS compat ( #3132 )
2018-12-17 10:11:38 -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
Alexander Bezobchuk
110fd63e22
Add Slashing Query Params ( #3117 )
2018-12-14 11:09:39 -08:00
Federico Kunze
65beea4430
Add distribution REST endpoints swagger file ( #3038 )
2018-12-13 10:42:55 -08:00
Artur Albov
0c6d53dc07
Merge PR #2959 : Add TxEncoder to client TxBuilder
2018-12-12 22:29:42 +01:00
Jack Zampolin
582ca8e8b9
Move validator cache to the keeper in stake ( #3075 )
2018-12-12 08:34:39 -08:00
Jack Zampolin
26a31926f8
Address PR comments
2018-12-11 13:10:42 -08: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
Jack Zampolin
b9477df546
Reintroduce collect-gentxs's --gentx-dir flag ( #3021 )
...
R4R: Reintroduce collect-gentxs's --gentx-dir flag
2018-12-11 08:11:10 -08:00
Federico Kunze
4ecbf0dd5f
Merge PR #2997 : Split POST delegations endpoint
2018-12-11 15:02:26 +01:00
Alessio Treglia
affa1fb3f3
Reintroduce collect-gentxs's --gentx-dir flag
...
It went lost in last genesis workflow refactoring.
Also address structs initializations as per #2835 .
2018-12-11 12:32:28 +00:00
Jack Zampolin
e1f0767ba8
R4R: Move generate_only and simulate to POST body in REST txs ( #3060 )
...
* Move generate_only and simulate to POST body in REST txs
Closes : #3056
* Run make format
* drop extra else block, outdent its block, and make linter happy
* Update PENDING.md
* Update LCD swagger docs
2018-12-10 14:51:53 -08:00
Jack Zampolin
97efff8af6
Move validator cache to the keeper in stake
2018-12-10 14:14:52 -08:00
Christopher Goes
243576143e
Merge PR #3072 : Catch overflows in gas wanted
...
* Check for overflow
* Only expect block gas meter on DeliverTx
* ErrGasOverflow in tx.ValidateBasic()
* Update unit test
2018-12-10 21:39:29 +01:00
Alexander Bezobchuk
2ce41760e2
Merge PR #3070 : Check for gas overflow in tx validation
...
* Check for gas overflow in tx validation
* Use bitshifting over math.Pow
2018-12-10 20:24:57 +01:00
dongsamb
da7f459d44
Merge PR #3050 : Add generate-only option to withdraw-rewards
2018-12-10 16:29:10 +01:00
Christopher Goes
7d55bd1a36
Merge PR #3063 : Fix linter
2018-12-10 16:13:26 +01:00
Alessio Treglia
2e05d4e3d7
drop extra else block, outdent its block, and make linter happy
2018-12-10 14:36:20 +00:00
Alessio Treglia
24a1670cf0
Run make format
2018-12-10 14:27:25 +00:00
Alessio Treglia
ac0a7c0a1d
Move generate_only and simulate to POST body in REST txs
...
Closes : #3056
2018-12-10 14:26:34 +00:00
Sunny Aggarwal
945803d586
Governance Quorum ( #3053 )
2018-12-10 02:50:20 -08:00
Jae Kwon
133134ca52
Use address instead of bond height / intratxcounter for deduplication ( #3055 )
2018-12-10 02:49:37 -08:00
Jae Kwon
40a30b738f
Update gas costs to more reasonable numbers for GoS ( #3052 )
2018-12-10 02:48:19 -08:00
Jae Kwon
bc51fa93b6
Fix updateValidatorDistInfoFromPool ( #3046 )
...
Fixes regression introduced by #2984 .
Continuiation of #3033 , which didn't fix the simulation issues.
(candidate) Complete solution for #3019 , 9002 halt bug.
From #2984 , it isn't sufficient to take the fee pool rewards of a validator. Since we don't track delegator accums (as we do with validator accums), and because onValidatorModified >updateValidatorDistInfoFromPool is also being called upon delegation updates (or at least I believe this is the reason), it is necessary to also withdraw self delegation.
TODO: I don't think self-delegation should be required to be modified here... consider using a delegation hook to do the self-delegation withdraw part instead, e.g. splitting the updateValidatorDistInfoFromPool function into two. It might not result in cleaner code, however. Think hard.
2018-12-08 07:18:04 -08:00
Jae Kwon
1ba93ea1c1
Merge PR #3033 : Fix negative stake & invariance bug
...
* Fix negative stake & invariance bug
* Merge PR #3037 : Updates to negative stake fix
* Update invariant; fix lint
* Fix linter
* Add comment & TODO
2018-12-08 01:04:52 +01:00
frog power 4000
49da96bc09
Merge PR #3010 : Add Missing genesis checks in Gaia
2018-12-07 01:22:24 +01:00
Alexander Bezobchuk
f11a65dee7
Merge PR #3005 : Move auth keeper benchmarks to sep. file
2018-12-06 10:49:30 +01:00
Alexander Bezobchuk
5b42e83bc2
Merge PR #2995 : Fully verify the signature in `gaiacli tx sign`
...
* Implement auxiliary methods/functions for just building a tx sig bytes
* Undo auxiliary methods/functions
* Validate signature
* Remove redundant comment
* Add pending log entry
* Minor cleanup
* Update sign cli doc
* Update cli sign offline flag doc
* Update printAndValidateSigs
* Implement TestGaiaCLIValidateSignatures
* Minor cleanup
* Fix linting
* Update x/auth/client/cli/sign.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Minor reformatting
2018-12-06 02:02:04 -05:00
Christopher Goes
ba5e87ca6f
x/auth module spec / code reconciliation ( #2964 )
2018-12-05 16:48:08 -08:00
Alexander Bezobchuk
6395e2a7ab
Merge PR #2984 : Removal of Mandatory Self-Delegation Reward
...
* Some minor cleanup and reformatting to make things easier to understand
* Update onDelegationSharesModified hook
* Add pending log
* Address PR comments
* Fix linting
2018-12-04 17:53:52 -05:00
Christopher Goes
dfd00a661a
Inflation bug fixes ( #2982 )
...
* PENDING.md; swap BeginBlocker ordering
* Calculate inflation every block
* Update x/mint spec
* Reset distribution info bond height instead
2018-12-04 10:17:02 -08:00
Alexander Bezobchuk
bcfd93f544
Merge PR #2950 : AnteHandler Cleanup
...
* Add and use CodeInvalidAccountNumber in ante handler
* Minor cleanup of ante handler
* Add pending log entry
* Spell check and more minor comment restructuring
* Add additional CodeInvalidAccountNumber
* Update validateAccNumAndSequence
* Revert account number error in favor of CodeInternal
* Update pending log
* Fix pending log
2018-12-04 17:42:15 +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
Dev Ojha
13e78166ee
Merge PR #2977 : Don't serialize Account Number and Sequence Number in signatures
...
* Don't serialize Account Number and Sequence Number in signatures
This was not needed to be included within the tx body, as its in the
state.
* fix lint
2018-12-03 18:29:50 +01:00
Christopher Goes
98caf44e35
Merge PR #2853 : Write bank module specification, check spec/code consistency
...
* Update PENDING.md
* New structure
* Start transactions section
* Remove MsgIssue
* Update keepers.md
* Add state.md
* Update keepers.md, discovered #2887
* Move inputOutputCoins to BaseKeeper
* Remove no-loner-applicable tests
* More spec updates
* Tiny cleanup
* Clarify storage rationale
* Warn the user
* Remove extra newline
2018-11-29 22:56:42 +01:00
Hendrik Hofstadt
b7736367a8
R4R: Fix duplicate json key in SetWithdrawAddress ( #2944 )
...
* Fix duplicate json key
* Update PENDING.md
2018-11-29 09:54:36 -08:00
Hendrik Hofstadt
db77117a5b
Only allow supported pubKey types ( #2949 )
...
* Only allow supported pubKey types
* Add type and supported types to error message
* Add default value for ConsensusParams
2018-11-29 09:21:45 -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
Tony Stark
f8ee8a7f78
Merge PR #2896 : Fixed account sequence issue in IBC relay
2018-11-27 18:22:43 +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
Jae Kwon
7ec2b9a72b
Fix merge conflict issues from previous squash commit
2018-11-26 04:27:23 -08:00
Christopher Goes
ad121f1498
Add a flag to export for zero-height start ( #2827 )
...
Closes #2812
This PR adds the flag --for-zero-height to gaiad export, which runs several alterations to the application state to prepare for restarting a new chain in a consistent fashion.
It also:
* Moves Gaia's export code to cmd/gaia/app/export.go for cleaner separation.
* Fixes an inconsistency where we treated the initChainer as happening at height -1 - it should now happen at height 0, since the first header sent by Tendermint has height 1.
* Runs the runtime invariant checks on start (in initChainer)
* Adds a few auxiliary functions to clear slashing periods
* Removes the Height field from Delegation objects in x/stake, which was not used anywhere
2018-11-26 04:21:23 -08:00
frog power 4000
7cb1ba625e
blockly minting ( #2825 )
...
* update mechanism to use average block time
* correctly sets accum height for zero-delegations
* update Decimal Format()
* clip withdrawal tokens
* PositiveDelegationInvariant
* DelegatorSharesInvariant
* DelAccumInvariants
2018-11-26 04:13:47 -08:00
Alessio Treglia
4c36b0fe05
Merge PR #2881 : Don't call gaiacli tx sign. Use utils.SignStdTx() instead.
...
This is to avoid command redirection and reduce the use
of viper's global variables.
Closes : #2875
2018-11-26 12:50:33 +01:00
Sunny Aggarwal
b7da2eaa33
Merge PR #2799 : Account numbers and sequences to uint64
2018-11-26 12:29:21 +01:00
dongsamb
33d64b6163
Merge PR #2891 : Remove redundant temporary code remDelPool when calc DelPool
2018-11-23 17:28:29 +01: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
Alexander Bezobchuk
1ea0e4c457
Merge PR #2863 : Transaction ValidateBasic
...
* Add ValidateBasic to Tx interface
* Update BaseApp unit tests
* Add missing return in ValidateBasic
* Update ValidateBasic to use IsNotNegative
* Add pending log entry
* Add unit test TestTxValidateBasic
* Fix broken lint regression
* Add sig count check to validation
* Add test case to TestTxValidateBasic
2018-11-21 11:16:56 +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
Alexander Bezobchuk
6e813ab3a8
Change gas & related fields to unsigned integer type ( #2839 )
...
* Change gas & related fields to unsigned integer type
* Implement AddUint64Overflow
2018-11-19 09:13:45 -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
Christopher Goes
fd968f7d8f
R4R: Remove unused bank.MsgIssue (and prevent possible panic) ( #2855 )
...
* Remove all bank.MsgIssue code
2018-11-19 07:42:53 -08:00
Sunny Aggarwal
8d6b0929fb
Codespaces as Strings ( #2821 )
2018-11-16 09:12:24 -08:00
Alessio Treglia
7b7d45ddd2
Merge PR #2800 : Limit total number of signatures per transaction
...
* Limit total number of signatures per transaction
* Fail if limit is exceeded
* Loop over all sigs and count subkeys
* No need for a type switch, adopt early return
* Test rejection logic
* Mention sigs limit
2018-11-15 15:30:24 +01: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
267728f025
Clarify comment
2018-11-13 15:46:14 +01:00
Christopher Goes
3686a3f47d
Only apply validator set updates on initial genesis
2018-11-13 15:38:29 +01:00
Christopher Goes
10713e3c8a
Working on stake import/export
2018-11-13 15:08:14 +01:00
Christopher Goes
d2a53539dd
Merge branch 'develop' into cwgoes/fix-gov-sim-more-import-export
2018-11-13 14:23:15 +01:00
Federico Kunze
a6af76e4be
Merge branch 'sunny/get_all_delegations_validator_querier' of https://github.com/cosmos/cosmos-sdk into sunny/get_all_delegations_validator_querier
...
Merge
2018-11-12 23:13:05 +01:00
Federico Kunze
7dfeb7d27d
use newQuery...Params
2018-11-12 23:12:25 +01:00
Jack Zampolin
b255a7d59f
Merge branch 'develop' into sunny/get_all_delegations_validator_querier
2018-11-12 14:09:18 -08:00
Jack Zampolin
97c0251bf7
Fix redelegation command
2018-11-12 13:01:00 -08:00
Jack Zampolin
b9b6f26c97
Merge pull request #2761 from WALL-E/patch-1
...
fix typo
2018-11-12 12:21:31 -08:00
Jack Zampolin
0345f38639
Merge pull request #2682 from cosmos/dev/sim_msg_edit_val
...
R4R: Make the simulator create the new comission rate sensibly
2018-11-12 11:13:00 -08:00
Christopher Goes
bbf8e54616
Merge PR #2719 : Cleanup bank keeper
...
* Cleanup bank keeper
* Address style comments
2018-11-12 20:06:28 +01:00
Christopher Goes
0228d8f694
Merge branch 'develop' into dev/sim_msg_edit_val
2018-11-12 19:57:54 +01:00
Jack Zampolin
b7daf23366
R4R: Fix unbonding command flow ( #2727 )
2018-11-12 19:55:24 +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
Jae Kwon
183c7b21b2
use defer
2018-11-11 19:09:12 -08:00
zhangzheng
3bc245e198
fix typo
...
I think it might be a spelling mistake
2018-11-11 09:20:30 +08:00
Christopher Goes
241f6364e9
Merge branch 'develop' into cwgoes/fix-gov-sim-more-import-export
2018-11-09 16:55:20 +01:00
rigelrozanski
b1ba6a4455
add back in PeriodicInvariant
2018-11-09 10:31:56 -05:00
Christopher Goes
d761eb7282
Address remaining comments from #2690
2018-11-09 16:26:08 +01:00
Christopher Goes
8a58fdf634
Merge branch 'develop' into rigel/sim-cleanup
2018-11-09 16:16:01 +01:00
Christopher Goes
4d1246dae9
Merge branch 'develop' into sunny/get_all_delegations_validator_querier
2018-11-09 15:28:03 +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
rigelrozanski
bfc7944b55
val comments
2018-11-08 10:32:53 -05:00
rigelrozanski
a9ef83bc4a
compiling
2018-11-08 01:57:37 -05:00
rigelrozanski
5f289e5fdd
event stats object, more general cleanup
2018-11-08 00:54:12 -05:00
rigelrozanski
eb16a01666
util cleanup
2018-11-08 00:22:16 -05:00
rigelrozanski
fee0763b5e
mock tendermint
2018-11-08 00:12:51 -05:00
rigelrozanski
ff327049ee
assertAllInvarients changes, Operation reorg
2018-11-07 23:55:48 -05:00
rigelrozanski
1ee6c3295d
operations functions
2018-11-07 23:26:02 -05:00
Dev Ojha
817f515956
Merge branch 'develop' into dev/sim_msg_edit_val
2018-11-07 13:26:00 -08:00
Aleksandr Bezobchuk
845dd68de0
Address style comments
2018-11-07 14:46:09 -05:00
rigelrozanski
4970754338
fix some duplicate to get passing
2018-11-07 14:42:00 -05:00
rigelrozanski
b5a205eb15
minimizing indentation
2018-11-07 12:19:58 -05:00
rigelrozanski
980dd78c62
rename ambig naming of queueOperations
2018-11-07 12:00:13 -05:00
rigelrozanski
ea7a5ea1a8
reorganize more
2018-11-07 11:57:53 -05:00
rigelrozanski
78c3430bb3
moving stuff around a bit, trying to get rid of types
2018-11-07 11:00:24 -05:00
rigelrozanski
6a7c4d1c86
rand utile
...
...
2018-11-07 10:37:45 -05:00
rigelrozanski
74b2a90087
whitespacing
2018-11-07 10:28:18 -05:00
Aleksandr Bezobchuk
812784c940
Cleanup bank keeper
2018-11-07 09:27:20 -05:00
Alexander Bezobchuk
8f690b5b6c
Merge PR #2714 : Add commission data to MsgCreateValidator signature bytes
2018-11-07 13:55:59 +01: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
Sunny Aggarwal
cc652a36c7
addressed fede's comment
2018-11-05 16:50:58 -08:00
Federico Kunze
080a7818db
Update x/stake/client/rest/query.go
...
Co-Authored-By: sunnya97 <sunnya97@gmail.com>
2018-11-05 16:42:49 -08:00
Christopher Goes
dfddac394d
Merge branch 'develop' into sunny/get_all_delegations_validator_querier
2018-11-05 11:56:32 +01:00
Christopher Goes
cb3cb27b81
Merge branch 'develop' into dev/sim_msg_edit_val
2018-11-05 11:45:53 +01:00
Jae Kwon
336415baea
Fix simulation bugs; Incorprates #2676 from Sunny ( #2677 )
...
* Fix simulation bugs; Incorprates #2676 from Sunny
* Address review feedback; Update PENDING
2018-11-04 22:11:03 -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
Alessio Treglia
c20fcbfd8f
New genesis workflow ( #2602 )
...
New genesis workflow:
* `gaiad init` is now used to generate an empty `genesis.json`.
* Genesis accounts need to be populated manually before running
`gaiad collect-gentxs`.
* This should support starfish too, see #2615 for more info.
* Closes : #2596 #2615
* Validate validator address and address against respective account ex ante
* Fix local testnet failures
* New genesis tests
* Run make format
* Add --pubkey flag
* gaiad collect-gentxs takes no args
2018-11-04 20:26:46 -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
ValarDragon
f0024e1a73
Make the simulator create the new comission rate sensibly
2018-11-04 15:55:07 -08:00
Sunny Aggarwal
4c3ac3f512
addressed comments
2018-11-03 22:56:33 -07:00
Sunny Aggarwal
0fc536a4af
rebased
2018-11-03 22:56:33 -07:00
Sunny Aggarwal
327f7e1673
address other comments
2018-11-03 22:56:33 -07:00
Sunny Aggarwal
eeff820427
removed redelegation stuff
2018-11-03 22:56:33 -07:00
Sunny Aggarwal
f8b030aece
cli fixes
2018-11-03 22:56:33 -07:00
Sunny Aggarwal
2d429731b3
LCD and CLI
2018-11-03 22:55:38 -07:00
Sunny Aggarwal
9c6ef3e23c
added validatorDelegations querier endpoint
2018-11-03 22:53:45 -07:00
Sunny Aggarwal
d378db3128
added querier redelegation
2018-11-03 22:53:45 -07:00
yutianwu
b6443e9496
Merge PR #2653 : Add benchmark for get and set account
2018-11-02 13:36:52 +01: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
Christopher Goes
f4d3e65ef0
Merge PR #2660 : simulation: Make validator choice use validator set
...
* simulation: Make validator choice use validator set
This also had to change the default seed, since with the previous one it
actually got into a state where there were no validators left bonded, lol.
This also changes Unbond msgs from failing with almost 100% probability to now
only failing with 33% probability.
Thus more of the state machine is getting tested!
2018-11-02 00:32:55 +01:00
ValarDragon
3cffe29da7
simulation: Make validator choice use validator set
...
This also had to change the default seed, since with the previous one it
actually got into a state where there were no validators left bonded, lol.
This also changes Unbond msgs from failing with almost 100% probability to now
only failing with 33% probability.
Thus more of the state machine is getting tested!
2018-11-01 12:45:22 -07:00
Elvin
1686ba072b
Merge PR #2643 : AppendTag function usage error. append elements do not work
2018-11-01 10:26:44 +01:00
Christopher Goes
fcf5b7764b
Merge PR #2622 : Make simulation use a transition matrix for block size
...
Make simulation use a transition matrix for block size
This enables simulating periods of high load, and periods of low to no load.
(low load because future ops will still terminate in that time frame)
2018-10-31 20:10:35 +01:00
ValarDragon
835315dcaa
move typedef
2018-10-31 10:11:41 -07:00
Aleksandr Bezobchuk
5e2efd999a
perform minor doc and function cleanup
2018-10-31 17:37:50 +01:00
Alessio Treglia
dbbf0647f0
Document what --validate-signatures does
2018-10-31 13:50:01 +00:00
Alessio Treglia
6c8791f505
Nest switches
2018-10-31 13:43:20 +00:00
Alessio Treglia
84aef0d106
Apply suggestions from bez
2018-10-31 13:43:20 +00:00
Alessio Treglia
44d2347109
Set success = false when it fails
2018-10-31 13:43:20 +00:00
Alessio Treglia
9e397907be
Rename append, it's go builtin
2018-10-31 13:43:20 +00:00
Alessio Treglia
f752525d54
s/--sig-only/--signature-only/
2018-10-31 13:42:42 +00:00
Alessio Treglia
53f1233f0a
s/--print-sigs/--validate-signatures/
2018-10-31 13:42:42 +00:00
Alessio Treglia
31c062689d
Validate --name
2018-10-31 13:42:42 +00:00
Alessio Treglia
69a7c06ef7
Find better name for --print-signature-only
2018-10-31 13:42:42 +00:00
Alessio Treglia
62974e627e
Improve online docs
2018-10-31 13:41:26 +00:00
Alessio Treglia
4bf17e82b4
Improve errors reporting
2018-10-31 13:41:26 +00:00
Alessio Treglia
933592d052
Check sanity of signatures and report errors when run with --print-sigs
2018-10-31 13:41:26 +00:00
Alessio Treglia
bc583ab1d0
Various sign command improvements
...
- Exit with error if the user is attempting to sign with a key
whose address is not among those who are expected to sign
the transaction.
- Add --print-signature-only to output only the generated
signature.
2018-10-31 13:41:26 +00:00
Dev Ojha
6316e1241e
Merge PR #2644 : Simulation: Print last block when there is an error
...
There was an off by one error in the log printing function previously
2018-10-31 12:04:46 +01:00
ValarDragon
206e51079c
fix block offsets in printing simulation block number
2018-10-30 20:43:16 -07:00
Jae Kwon
1538ab8de9
Merge branch 'develop' into release/v0.25.0
2018-10-30 17:54:54 -07:00
Dev Ojha
4cde8043c5
Merge branch 'develop' into dev/sim_blocksize
2018-10-29 17:41:32 -07:00
Christopher Goes
c93b116d23
Merge PR #2616 : Block redelegations to the same validator
2018-10-30 00:05:55 +01:00
ValarDragon
100f88800b
address bez's comments
2018-10-29 09:37:42 -07:00
ValarDragon
e4b5e2c9f3
Make simulation use a transition matrix for block size
...
This enables simulating periods of high load, and periods of low to no load.
(low load because future ops will still terminate in that time frame)
2018-10-28 21:37:19 -07:00
Federico Kunze
855e0ac70a
Merge PR #2596 : Cmds for validator unbondings and redelegations
2018-10-28 22:28:12 +01:00
Christopher Goes
cce48dc68c
Docs fixes in progress while running through the release process
2018-10-26 15:47:07 +02:00
Rigel
d71f38bdac
Merge PR #2597 : Add distribution accum invariants
2018-10-26 13:42:53 +02:00
Jae Kwon
0f1fb179c4
Merge PR #2599 from cosmos/jae/dist_refactor
...
* Rename Pool -> DelRewards; PoolCommission -> ValCommision
* FeePool.Pool -> FeePool.ValPool
* WithdrawalHeight->DelPoolWithdrawalHeight
* OnValidatorBeginUnbonding
* Caught the bug's tail
* Update vi.FeePoolWithdrawalHeight upon bonding
* Fix staking slashUnbondingDelegation bug; fixes simulator failure #9
2018-10-26 13:27:55 +02:00
Christopher Goes
2a279e954f
Remove logs from prior debugging
2018-10-25 13:22:54 +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
Jae Kwon
f756b40a01
LastValidatorPower is also an Int
2018-10-24 00:04:06 -07: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
60d188ded0
Merge PR #2501 : Simulate transactions for fee distribution, simulate inflation, and fix a multitude of bugs discovered in the process of doing so
2018-10-23 21:21:37 +02:00
Christopher Goes
3d270babc0
Store last total power as sdk.Int, not sdk.Dec
2018-10-23 20:48:50 +02:00
Christopher Goes
306fb8fb6d
Address @rigelrozanski comments
2018-10-23 20:33:39 +02:00
Christopher Goes
edd56be952
Cleanup, additional item in PENDING.md
2018-10-23 18:29:39 +02:00
Christopher Goes
6bf7e02a27
Back to on-operation=false, update PENDING.md
2018-10-23 18:10:06 +02:00
Christopher Goes
33c8238392
Merge branch 'develop' into cwgoes/check-supply-in-simulation
2018-10-23 17:54:58 +02:00
Christopher Goes
be66a4950e
Remove debugging print statements
2018-10-23 15:50:35 +02:00
Christopher Goes
5790d013fe
Merge remote-tracking branch 'origin/jae/check-supply-in-simulation2' into cwgoes/check-supply-in-simulation
2018-10-23 15:43:28 +02:00
rigelrozanski
8999ee8797
re-enable simulation parameters
2018-10-23 00:53:06 -04:00
rigelrozanski
5a559f75c5
simulation stop early with no proposers
2018-10-22 23:55:49 -04:00
Jae Kwon
fa3730a5d2
WIP looking for bug...
2018-10-22 19:48:28 -07:00
Jae Kwon
1630c0f0f3
WIP intermediate...
2018-10-22 19:02:52 -07:00
Jae Kwon
ea565baa60
WIP intermediate...
2018-10-22 17:49:53 -07:00
Christopher Goes
7f43860ca9
Merge branch 'cwgoes/check-supply-in-simulation' of github.com:cosmos/cosmos-sdk into cwgoes/check-supply-in-simulation
2018-10-23 02:39:25 +02:00
Jae Kwon
c3008d585b
Add more useful logging
2018-10-22 16:24:19 -07:00
rigelrozanski
bcc31920f1
correct LastValidatorPower
...
mistake
2018-10-22 17:17:46 -04:00
Federico Kunze
64f2235f59
Delete comment
2018-10-22 22:55:47 +02:00
rigelrozanski
c4d7747a56
Merge remote-tracking branch 'origin/cwgoes/check-supply-in-simulation' into jae/check-supply-in-simulation
2018-10-22 15:51:52 -04:00
rigelrozanski
a3447cd480
debug cleanup
2018-10-22 15:51:27 -04:00
rigelrozanski
278d23776b
call hook on slashing
2018-10-22 14:59:00 -04:00
Jae Kwon
471ddeef3c
tweak debug output
2018-10-22 09:50:17 -07:00
Federico Kunze
8415d8056f
export validator unds and reds queriers
2018-10-22 12:12:05 +02:00
Federico Kunze
06d0198392
Added querier tests
2018-10-22 12:03:10 +02:00
Federico Kunze
4ed4c99141
More redelegation unit tests
2018-10-22 11:59:06 +02:00
Jae Kwon
19225fc5d4
Print debugging info
2018-10-22 02:42:40 -07:00
Federico Kunze
77177b2861
Merge develop and conflicts
2018-10-22 11:18:51 +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
Jae Kwon
5416af8a7a
LastValidatorPower -> LastValidator
2018-10-21 15:28:14 -07:00
Jae Kwon
015b829a54
GetValidatorsBonded -> LastValidators etc
2018-10-21 15:26:58 -07:00
Christopher Goes
5aae4740db
Merge PR #2542 : validator outgoing redelegations and unbonding delegations
2018-10-21 23:50:04 +02:00
Christopher Goes
3e22a36c5e
Merge PR #2545 : Rename AccountMapper to AccountKeeper
2018-10-21 23:48:24 +02:00
Jae Kwon
3fa5778921
Update naming (BondedValidatorIndex->ValidatorsBondedIndex) and add some comments
2018-10-21 12:02:45 -07:00
Alessio Treglia
a4c7faaa40
Mark --to and --amount flags required for gaiacli tx send
...
Closes : #2547
2018-10-20 23:55:29 -07:00
Alessio Treglia
6014089fa1
Rename AccountMapper to AccountKeeper
...
Closes : #2540
2018-10-20 23:22:48 -07:00
Federico Kunze
77d7fb0ba5
add comment
2018-10-20 22:42:22 +02:00
Federico Kunze
3af2a09c3d
Delete Delegation
2018-10-20 22:39:03 +02:00
Federico Kunze
debed9cd38
Fixed exported queriers
2018-10-20 22:31:26 +02:00
Federico Kunze
152b3bd67b
Split delegator summary endpoint
2018-10-20 22:25:50 +02:00
Federico Kunze
8999a4d719
Add validator unbonds
2018-10-20 21:30:07 +02:00
Federico Kunze
9cdd2d07ef
PENDING and minor querier test
2018-10-20 20:38:07 +02:00
Federico Kunze
15371dc364
Validator redelegation endpoint and querier
2018-10-20 20:31:20 +02:00
Christopher Goes
c9e5c324c4
Merge branch 'develop' into cwgoes/check-supply-in-simulation
2018-10-20 01:40:18 +02:00
Christopher Goes
c88fc481d4
Fix linter issues
2018-10-20 01:05:07 +02:00
Federico Kunze
57277d1143
Merge PR #2537 : Staking REST utils refactor and querier tests (pt 1 redelegation PR)
2018-10-20 00:49:10 +02:00
Christopher Goes
255a6a5db8
Cleanup to one hook
2018-10-20 00:19:10 +02:00
Christopher Goes
7770aec306
Withdraw rewards on bonded to unbonding
2018-10-20 00:13:44 +02:00
rigelrozanski
a6ef3c42aa
use power instead of total tokens
2018-10-19 17:41:39 -04:00
Christopher Goes
dc13a0c61d
Use InflateSupply instead
2018-10-19 23:06:18 +02:00
Christopher Goes
1afb5bf9d2
Simulate minting, fix bug where pool was not updated
2018-10-19 23:01:23 +02:00
Christopher Goes
843ccaf615
Remove comment
2018-10-19 22:33:21 +02:00
Christopher Goes
2e8f354367
Fixup stake hooks (hopefully...)
2018-10-19 22:26:28 +02:00
Christopher Goes
6c9ad8c031
Add sanity checks
2018-10-19 21:58:05 +02:00
Christopher Goes
4f719d60cd
Remove the print statement
2018-10-19 20:59:51 +02:00
Rigel
d9916f99eb
bugfix ( #2535 )
2018-10-19 20:58:37 +02:00
Christopher Goes
22cb6983b7
Merge branch 'develop' into cwgoes/check-supply-in-simulation
2018-10-19 20:36:55 +02:00
Rigel
b48d0d5623
Merge PR #2527 : Minting
2018-10-19 20:36:00 +02:00
Christopher Goes
375e821e98
Merge branch 'develop' into cwgoes/check-supply-in-simulation
2018-10-19 20:02:48 +02:00
Alessio Treglia
593921d04d
Merge PR #2524 : Replace GenTx with StdTx
...
Rework the process of loading a genesis.json file to load a starting app state and set of initial transactions to process.
* New function to create genesis account from MsgCreateValidator
* Add arg to PrintUnsignedStdTx() to actually operate in offline mode
* New func processStdTxs()
* Remove gen-tx command
* Cleanup, return validators as they need to be written into genesis.json
* Modify gaiad init to allow auto-create of stdTx
* Remove server/testnet.go
* Don't load node_key.json, which might not be available
* Get the txs through DeliverTx
* Add app.slashingKeeper.AddValidators at the end of genesis
* On InitChain(), Signature's account number must be 0
* Add (tentative?) command to generate {node_key,priv_validator}.json files
* Reintroduce gaiad testnet
* Prompt user for passwords
* Update gaia to work with auth.StdTx
* Remove test_utils, NewTestGaiaAppGenState is now deprecated
* Combine --genesis-format and --generate-only
* Improve sign command's --offline flag documentation
* Moniker must be set
* Call app.slashingKeeper.AddValidators() even if len(txs) == 0
* Refactoring, introduce gaiad init --skip-genesis, code cleanup
* Drop unnecessary workaround to make lcd_tests pass
* Reintroduce gentx
* Simple name changes, GenesisState.Txs -> .GenTxs; OWK -> OverwriteKey; OverwriteKeys -> OverwriteKey
2018-10-19 20:00:27 +02:00
Christopher Goes
c3d3a7935b
Merge branch 'develop' into cwgoes/check-supply-in-simulation
2018-10-19 19:50:54 +02:00
Federico Kunze
ad355d6c69
Merge PR #2444 : Standardize REST error responses
2018-10-19 18:55:20 +02:00
Christopher Goes
d21f93afb0
Simulation debugging contd.
2018-10-19 03:55:14 +02:00
Christopher Goes
4779359e29
Linter, enable simulated distribution msgs again
2018-10-19 03:21:11 +02:00
Christopher Goes
42ae2671c2
Simulation fixes work-in-progress
2018-10-19 03:08:25 +02:00
Christopher Goes
25ce0dea00
Update stake module simulation and fix linter errors
2018-10-18 22:08:00 +02:00
Christopher Goes
06c7e27115
Merge branch 'develop' into cwgoes/check-supply-in-simulation
2018-10-18 21:59:38 +02:00
Christopher Goes
e099491daa
Merge PR #2526 : Distribution fixes from simulation
2018-10-18 21:58:57 +02:00
Sunny Aggarwal
505c356f20
Merge PR #2514 : Refactor validator deletion
2018-10-18 21:58:18 +02:00
Christopher Goes
74780c6608
Merge branch 'develop' into cwgoes/check-supply-in-simulation
2018-10-18 02:51:54 +02:00
Christopher Goes
c961a684c9
Merge PR #2517 : SDK Sortable Time Format Test
2018-10-17 18:49:20 +02:00
Federico Kunze
e5b664f154
fixed naming for proposal id and time
2018-10-17 14:26:25 +02:00
Sunny Aggarwal
b51d41a2e3
added sdk time format tests, const, and removed duplicate in stake module
2018-10-17 01:03:56 -07:00
Sunny Aggarwal
e419396bd1
fixed time key marshal ( #2516 )
...
Do not use Amino Binary for key sorting.
2018-10-16 23:09:19 -07:00
Christopher Goes
1d4b595006
Correctly set power in vote info
2018-10-17 00:34:16 +02:00
Christopher Goes
b700107bec
Add simulated distribution msgs
2018-10-17 00:25:31 +02:00
Christopher Goes
d8038fcddc
Update testcases & pending
2018-10-16 21:44:23 +02:00
Christopher Goes
abef57a9e6
Utilize Tendermint power instead
2018-10-16 21:30:52 +02:00
Christopher Goes
0d1104330f
Fix merge rename
2018-10-16 19:42:51 +02:00
Christopher Goes
7d46b8b50c
Alphanumeric parameter keys
2018-10-16 19:27:16 +02:00
Christopher Goes
3f59cf1517
Merge branch 'develop' into cwgoes/fix-signing-info-bugs
2018-10-16 19:23:57 +02:00
Christopher Goes
2803830c7e
Merge PR #2236 : Distr-PR-5 Implement Distribution
2018-10-16 08:18:21 +02:00
rigelrozanski
32e0f14de2
rework to correctly use previous vote info
2018-10-15 22:09:13 -04:00
Christopher Goes
c0ce451003
Merge #2500 : Block conflicting redelegations
...
* Block conflicting redelegations
* Update PENDING.md
* Add conflicting redelegation testcase
2018-10-15 21:06:31 -04:00
Christopher Goes
f9877508e5
Address @rigelrozanski comments
2018-10-15 23:58:39 +02:00
Christopher Goes
c0c5e293a8
iter.Close()
2018-10-15 23:09:56 +02:00
Christopher Goes
7bf8a41463
Fix typo
2018-10-15 23:09:16 +02:00
Christopher Goes
e3fa9820ec
Fix linter warning
2018-10-15 23:06:46 +02:00
rigelrozanski
03b92603ed
oh
2018-10-15 17:03:06 -04:00
Christopher Goes
83f7a4cb7b
Bugfix; update slashing spec
2018-10-15 23:01:29 +02:00
rigelrozanski
076053d5b9
proposer reward params to global param
2018-10-15 16:12:42 -04:00
rigelrozanski
43e4396bec
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-10-15 15:52:01 -04:00
rigelrozanski
2f4a01bcba
address @ValarDragon comments, param store update
2018-10-15 15:51:51 -04:00
Christopher Goes
ec53a14b57
Fix testcases
2018-10-15 21:51:26 +02:00
Christopher Goes
9ec35a0ae4
Clear array when validator is jailed
2018-10-15 21:44:23 +02:00
Christopher Goes
096a8bb9ec
Further clarification of nomenclature
2018-10-15 21:20:37 +02:00
Joon
047c3d1456
Merge branch 'develop' into joon/2490-copy-godocs
2018-10-16 04:14:40 +09:00
Christopher Goes
6e0f3d6baf
Update function names to clarify semantics
2018-10-15 21:11:32 +02:00
Christopher Goes
fa372d3b82
Test correct JailedUntil
2018-10-15 21:08:56 +02:00
Christopher Goes
2c4d9a0be4
Merge branch 'develop' into cwgoes/fix-signing-info-bugs
2018-10-15 21:04:49 +02:00
mossid
8c978d2476
add tests and restriction for TypeTable
2018-10-16 03:02:48 +09: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
rigelrozanski
5de0c9a1f8
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-10-15 02:43:36 -04:00
rigelrozanski
2ece2ff37c
address @cwgoes comments
2018-10-15 02:34:01 -04:00
Sunny Aggarwal
6c9e71b654
Merge PR #2451 : implement validator queue
...
* unbonding redelegation queue
* address some of bez and chris review
* delete old timeslices from queue
* added Rigel's test case
* added end-time to tags
* fixed bug in staking
* removed prints
* Get -> Queue
* called Endblocker in test
* implement validator queue
* Docs and PENDING
* address federicos comments
* unexposed UnbondingToUnbonded
* no copying unbonded val array to memory
2018-10-14 20:37:06 -04:00
mossid
73d83b02cb
typo
2018-10-14 02:50:32 +09:00
mossid
fb78f1d0af
add docs, fix GetSubspace, address comments
...
rm Subspace.ptr
2018-10-14 02:44:29 +09:00
Christopher Goes
dd8b574668
Merge PR #2232 : Paramstore Refactor Base
2018-10-13 18:11: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
Christopher Goes
1ff2e865a8
Back to greater than
2018-10-12 21:15:39 +02:00
Christopher Goes
bdfb10f551
Clarify testcase
2018-10-12 21:10:55 +02:00
Christopher Goes
a83535aef3
Greater than to greater than or equal to
2018-10-12 21:09:23 +02:00
rigelrozanski
06fa518e30
address @cwgoes comments, add in precommit calculation
2018-10-12 07:15:13 -04:00
rigelrozanski
dba20d1725
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-10-12 06:06:24 -04:00
rigelrozanski
7b1f4a87ea
finished off validator tests
2018-10-12 06:06:01 -04:00
rigelrozanski
94731a502a
some validator dist tests
2018-10-12 05:51:00 -04:00
rigelrozanski
a60b91b7b2
bugfix form TestWithdrawDelegationRewardTwoDelegatorsUneven
2018-10-12 05:37:30 -04:00
rigelrozanski
f3c0496c99
TestWithdrawDelegationRewardsAll
2018-10-12 04:11:09 -04:00
Christopher Goes
8c2c9dba8a
Update block height on validator bonding
2018-10-12 00:15:58 +02:00
Christopher Goes
5fd7297e25
Count missed blocks instead of signed blocks
2018-10-12 00:04:44 +02:00
Christopher Goes
f6e92df3fa
Create signing info struct on validator bond hook
2018-10-11 22:48:00 +02:00
mossid
42c7a09075
Merge branch 'develop' into joon/paramstore-refactor-base
2018-10-12 00:09:07 +09:00
Christopher Goes
dbd4f30b39
Merge branch 'develop' into dev/lock_tools
2018-10-11 08:48:15 +02:00
rigelrozanski
8cb6d106d1
TestWithdrawDelegationRewardWithCommission
2018-10-11 02:26:54 -04:00
rigelrozanski
8e378e2b2d
got basic delegation tests working
2018-10-11 02:14:06 -04:00
rigelrozanski
f4f39ae03f
allocation tests
2018-10-10 23:16:49 -04:00
rigelrozanski
900a5f47f6
keeper_test
2018-10-10 22:53:25 -04: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
rigelrozanski
3b5e57be08
ctx with proposer, working through allocation test
2018-10-10 17:43:47 -04:00
mossid
5c92a546c6
rename store subspace, add WithTypeTable
2018-10-11 05:01:30 +09:00
mossid
03975407ba
Merge branch 'develop' into joon/paramstore-refactor-base
2018-10-10 21:20:59 +09:00
ValarDragon
9e334afad0
Lock binary dependencies to a specific commits / versions
...
This is basically copying over @anton's great script!
Also had to run `make format` to make this pass `test_lint`.
This PR also makes the make commands for tools further align
with the tendermint implementation.
2018-10-09 23:52:36 -07:00
rigelrozanski
22de85651f
fix distr initialization
2018-10-09 21:59:07 -04:00
rigelrozanski
52316d9ef6
fix initialization of the test
2018-10-09 21:43:23 -04:00
rigelrozanski
ace19d9264
Merge branch 'rigel/fee-distribution' of https://github.com/cosmos/cosmos-sdk into rigel/fee-distribution
2018-10-09 20:37:47 -04:00
rigelrozanski
151a81eddb
staking changes test_cover fixes
2018-10-09 20:37:22 -04:00
rigelrozanski
fc9bafb8d3
Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution
2018-10-09 20:19:22 -04:00
Christopher Goes
6d4975e2c2
R4R: Fix simulation proposer ( #2460 )
...
* Correctly set proposer in randomized simulation
* Return nil if no validators are present
2018-10-09 19:14:46 -04:00
rigelrozanski
c9730329bf
...
2018-10-09 13:58:59 -04:00