cosmos-sdk/types
Federico Kunze 722a633f54
Sim refactor 3: move weighted operations to modules (#4869)
* move GenesisState generators to modules

* minor change on slashing genState generator

* move simulation params back to modules (#4839)

move simulation params back to modules (#4839)

* cleanup params

* various fixes

* move store decoders to modules

* fix

* module pattern

* split generators for param change

* param changes

* revert util pkg

* banksim

* compile

* update Decoders params

* fix

* address @colin-axner comments

* move weighted operations to modules

* cleanup

* cleanup

* Update cmd_test.go

* simulation manager

* mino fixes

* cleanup

* add GenerateGenesisState to simulation manager

* Apply suggestions from code review

Co-Authored-By: frog power 4000 <rigel.rozanski@gmail.com>

* address @rigelrozanski comments

* changelog

* Apply suggestions from code review

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

* restructure modules simulation pkgs

* remove cycle deps

* rename funcs and add missing params

* modularize simulator param changes

* build

* fix params keys

* make format

* various fixes

* fix tests

* minor updates to sim_test

* cleanup

* more cleanup

* modularize genesis generators

* minor cleanup

* remove cdc from generators

* remove cdc

* add get or generate

* fix non-determinism in simulation

* changelog and x/simulation godoc

* cleanup operations

* 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

* build

* add WeightedOperations to AppModuleSimulation

* define each module proposals content as part of the module pattern

* 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

* modularized sim operations working

* changelog

* Update types/module/simulation.go

Co-Authored-By: frog power 4000 <rigel.rozanski@gmail.com>

* Update x/simulation/params.go

Co-Authored-By: frog power 4000 <rigel.rozanski@gmail.com>

* Update x/simulation/params.go

Co-Authored-By: frog power 4000 <rigel.rozanski@gmail.com>

* update /types/module

* 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

* remove unused func

* build fixes

* move weights to the same file

* scopelint

* changelog

* address @AdityaSripal comments

* address @alexanderbez comments
2019-12-05 10:29:54 +01:00
..
errors Merge PR #5240: x/evidence module implementation 2019-11-06 14:08:02 -07:00
module Sim refactor 3: move weighted operations to modules (#4869) 2019-12-05 10:29:54 +01:00
rest Merge PR #5203: Add more linters 2019-10-17 09:47:35 -04:00
abci.go Merge PR #4613: Only change rootmultistore hash when substore hashes change 2019-06-25 13:11:22 -04:00
address.go Merge PR #4881: Linting Galore 2019-08-19 12:06:27 -04:00
address_test.go update x/genaccounts to match module spec (#4759) 2019-07-22 16:26:42 +01:00
bytes.go Merge PR #4524: Staking ValidatorPowerRank to use "Potential Consensus Power" 2019-06-12 17:57:47 +02:00
codec.go Revert "Generalize auth/types.StdSignature (#4507)" (#4512) 2019-06-08 11:04:52 +01:00
coin.go Merge PR #5160: Simply Dec and Int sign check 2019-10-14 16:05:42 -04:00
coin_benchmark_test.go Merge PR #3679: Consistent Operators 2019-02-21 12:35:55 -05:00
coin_test.go Merge PR #5203: Add more linters 2019-10-17 09:47:35 -04:00
config.go Merge PR #5192: golangcI-lint updates & set static version to 1.19 2019-10-14 11:43:19 -04:00
context.go Merge PR 5196: RecheckTx Optimizations 2019-10-23 10:43:58 -04:00
context_test.go Merge PR #5203: Add more linters 2019-10-17 09:47:35 -04:00
dec_coin.go Merge PR #5160: Simply Dec and Int sign check 2019-10-14 16:05:42 -04:00
dec_coin_test.go Merge PR #5203: Add more linters 2019-10-17 09:47:35 -04:00
decimal.go Merge PR #5219: Added sqrt function to sdk.Decimal type 2019-10-18 12:25:07 -04:00
decimal_test.go Merge PR #5219: Added sqrt function to sdk.Decimal type 2019-10-18 12:25:07 -04:00
denom.go Merge PR #3747: Implement initial simple denom convert utils 2019-03-16 14:18:27 +01:00
denom_test.go Merge PR #3747: Implement initial simple denom convert utils 2019-03-16 14:18:27 +01:00
errors.go Merge PR #5240: x/evidence module implementation 2019-11-06 14:08:02 -07:00
errors_test.go Merge PR #5203: Add more linters 2019-10-17 09:47:35 -04:00
events.go Merge PR #5227: Use existing struct 2019-10-21 10:36:31 -04:00
events_test.go Merge PR #4648: Flatten events by type when stringified 2019-06-30 16:31:09 -04:00
handler.go Merge PR #5006: Modular AnteDecorator 2019-10-10 08:46:09 -04:00
int.go lint add deadcode unused (#4606) 2019-06-21 17:18:01 +02:00
int_test.go Merge PR #4485: rename expected pkg to exported 2019-06-05 13:42:25 -04:00
invariant.go Merge PR #4832: print all failed invariants only 2019-08-05 14:21:44 -04:00
queryable.go added querier to gov module 2018-08-22 00:12:44 -07:00
result.go Merge PR #5032: Add Events to ABCIMessageLog 2019-09-12 11:05:27 -04:00
result_test.go Merge PR #5032: Add Events to ABCIMessageLog 2019-09-12 11:05:27 -04:00
router.go Merge PR #5240: x/evidence module implementation 2019-11-06 14:08:02 -07:00
staking.go Merge PR #4524: Staking ValidatorPowerRank to use "Potential Consensus Power" 2019-06-12 17:57:47 +02:00
store.go Merge PR #4748: Write-Through Inter-Block Cache 2019-09-04 13:33:32 -04:00
store_test.go Merge PR #3517: Increasing test coverage in keys/client package 2019-02-08 12:45:23 -08:00
tx_msg.go Revert "Generalize auth/types.StdSignature (#4507)" (#4512) 2019-06-08 11:04:52 +01:00
uint.go Add BigInt() to Uint struct in types/uint.go, update tests to check ident (#5325) 2019-11-19 13:39:33 +11:00
uint_test.go Add BigInt() to Uint struct in types/uint.go, update tests to check ident (#5325) 2019-11-19 13:39:33 +11:00
utils.go Merge PR #4836: Upgrade Tendermint and IAVL 2019-08-02 09:20:39 -04:00
utils_test.go Merge PR #5203: Add more linters 2019-10-17 09:47:35 -04:00