cosmos-sdk/x/staking/types
Federico Kunze 8344c0aef8
update simulation operations to use BaseApp (#4946)
* update operations to use baseapp

* updates and cleanup operations

* update operations

* restructure sim ops params

* rename sim /operations/msg.go to /operations.go

* move GenTx to a helper pkg to avoid circle deps

* rm msg.ValidateBasic

* changelog

* random fees; delete auth's DeductFees sim operation

* add chain-id for sig verification

* Update x/simulation/account.go

Co-Authored-By: colin axner <colinaxner@berkeley.edu>

* fix bank, gov and distr errors

* fix staking and slashing errors; increase prob for send enabled

* increase gas x10

* make format

* fix some distr and staking edge cases

* fix all edge cases

* golang ci

* rename acc vars; default no fees to 0stake

* cleanup; check for exchange rate and skip invalid ops

* fixes

* check for max entries

* add pubkey to genaccounts

* fix gov bug

* update staking sim ops

* fix small redelegation error

* fix small self delegation on unjail

* rm inf loop on random val/accs

* copy array

* add ok boolean to RandomValidator return values

* format

* Update x/bank/simulation/operations.go

Co-Authored-By: colin axner <colinaxner@berkeley.edu>

* Update simapp/helpers/test_helpers.go

Co-Authored-By: colin axner <colinaxner@berkeley.edu>

* address @colin-axner comments

* add genaccount pubkey validation

* fix test

* update operations and move RandomFees to x/simulation

* update gov ops

* address @alexanderbez comments

* avoid modifications to config

* reorder params

* changelog

* Update x/distribution/simulation/genesis.go

Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>

* remove named return values

* ensure all operations are simulated

* golangci

* add nolint

* disable whitespace and funlen linter

* disable godox

* add TODO on unjail

* update ops weights

* remove dup

* update godoc

* x/slashing/simulation/operations.go linting

* x/staking/simulation/operations.go linting

* update operations format

* x/bank/simulation/operations.go linting

* x/distribution/simulation/operations.go linting

* x/staking/simulation/operations.go linting

* start changes: make bank simulate send multiple coins, code cleanup

* fix nondeterminism bug

* fix txsiglimit err

* fix multisend bug

* simplify simulation, cleanup opt privkey args

* make slashing test invalid unjail msgs

* Update simapp/state.go

* golangCI changes
2019-10-23 11:14:45 +02:00
..
codec.go
commission.go Merge PR #5160: Simply Dec and Int sign check 2019-10-14 16:05:42 -04:00
commission_test.go
delegation.go Merge PR #5192: golangcI-lint updates & set static version to 1.19 2019-10-14 11:43:19 -04:00
delegation_test.go Merge PR #4806: Converted balance from sdk.Int to sdk.Coin inside DelegationResponse 2019-08-02 12:37:35 -04:00
errors.go
events.go Merge PR #5102: Make events const and alias them (if internal) 2019-09-25 09:17:02 -07:00
expected_keepers.go update simulation operations to use BaseApp (#4946) 2019-10-23 11:14:45 +02:00
genesis.go Merge PR #4678: Clean YAML output 2019-07-05 19:25:56 -04:00
hooks.go
keys.go Merge PR #4881: Linting Galore 2019-08-19 12:06:27 -04:00
keys_test.go Merge PR #4524: Staking ValidatorPowerRank to use "Potential Consensus Power" 2019-06-12 17:57:47 +02:00
msg.go Merge PR #5160: Simply Dec and Int sign check 2019-10-14 16:05:42 -04:00
msg_test.go Merge PR #5168: Add missing description field to MsgCreateValidator YAML output 2019-10-12 23:03:31 -04:00
params.go Merge PR #4881: Linting Galore 2019-08-19 12:06:27 -04:00
params_test.go
pool.go Merge PR #4686: v0.36 supply changes to genesis migration 2019-07-18 14:43:56 +02:00
querier.go
test_utils.go Merge PR #5192: golangcI-lint updates & set static version to 1.19 2019-10-14 11:43:19 -04:00
validator.go Merge PR #4865: Add security contact to Validator description 2019-08-12 09:10:16 -04:00
validator_test.go Merge PR #4865: Add security contact to Validator description 2019-08-12 09:10:16 -04:00