Jonathan Gimeno
2e42f9cb74
Favor marshal unmashal binare bare ( #5799 )
...
* change abci file to use BinaryBare
* change all calls to EncodeLengthPrefixed to BinaryBare in distribution keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in mint keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in auth keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in distribution keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in staking keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in staking keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in gov keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in slashing keeper store.
* update decoder test
* migrate decoder
* migrate gov simulation decoder
* migrate baseapp_test
* refactor QuerySubspace
* refactor coedc std codec
* migrate keybase
* migrate iavl store
* migrate root multi
* migrate ante basic
* migrate tx type to bare
* migrate auth client
* update auth types
* update decoder
* migrate supply decoder
* migrate stake encoding
* migrate staking simulation
* migrate genutil
* migrate simapp test helpers
* migrate docs
* upgrade changelog
* Update CHANGELOG.md
Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-03-13 19:58:43 +00:00
Jonathan Gimeno
0a5f64b64f
clean some code
2020-03-03 11:05:20 +01:00
Jonathan Gimeno
863dc1484e
make test pass
2020-03-03 10:51:06 +01:00
Jonathan Gimeno
f090da2100
edit text
2020-02-28 19:07:10 +01:00
Jonathan Gimeno
f8442bb46f
add last touches to the PR
2020-02-28 19:06:03 +01:00
Alexander Bezobchuk
19546f2197
Update simapp/test_helpers.go
2020-02-28 09:59:26 -08:00
Alexander Bezobchuk
03af49bda2
Update simapp/test_helpers.go
2020-02-28 09:59:17 -08:00
Alexander Bezobchuk
256e5fc863
Update simapp/test_helpers.go
2020-02-28 09:58:55 -08:00
Jonathan Gimeno
2c32ff3ee4
Merge branch 'master' into jonathan/4875-staking-test-use-simapp
2020-02-28 10:58:16 +01:00
Anil Kumar Kammari
0b7449129a
Merge PR #5500 : Regen network/multistore upgrades
2020-02-27 22:26:04 -08:00
Jonathan Gimeno
ce46939308
rename function names
2020-02-27 16:49:53 +01:00
Jonathan Gimeno
1648edfc0d
use prealloc array for ConvertAddrsToValAddrs
2020-02-26 16:16:56 +01:00
Jonathan Gimeno
c94a98f459
fix based on PR comments
2020-02-26 16:05:12 +01:00
Jonathan Gimeno
660ffc8be5
refactor ordering functions
2020-02-25 18:01:18 +01:00
Jonathan Gimeno
e5b67801a3
refactor to use accounts
2020-02-21 20:51:11 +01:00
Jonathan Gimeno
ee7ccc3704
make TestDelegation pass with generated accounts
2020-02-21 19:34:07 +01:00
Jonathan Gimeno
0d24d2b2cb
fix test query validators
2020-02-20 16:09:25 +01:00
Alexander Bezobchuk
05c21a534a
Merge Pr #5642 : Remove x/mock
2020-02-14 10:30:51 -05:00
Alexander Bezobchuk
6890feb3d2
Merge PR #5572 : ADR 004 Implementation
2020-01-30 16:31:16 -05:00
Ferenc Fabian
066dd1114f
Merge PR #5449 : Add New constructor for the DecCoin
2020-01-03 15:44:53 -05:00
Anil Kumar Kammari
a5fc7d6ba6
Merge PR #5367 : Regen network/skip upgrade
2020-01-03 09:37:29 -05:00
Alexander Bezobchuk
9a183ffbcc
Merge PR #5421 : Refactor Error Handling
2019-12-27 12:57:54 -05:00
Alessio Treglia
eae10b0cff
Merge PR #5419 : Parametrise simulation gas value
2019-12-18 09:48:22 -05:00
Federico Kunze
3471256785
Merge PR #5378 : application interfaces for simulation
2019-12-17 13:28:52 -05:00
Riccardo Montagnin
09bd174a49
Merge PR #5249 : Support for sending funds to the community pool - Part I
2019-12-10 14:09:22 -05:00
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
Federico Kunze
ed6366679c
Merge PR #5017 : ADR 011: Generalize Genesis Accounts Implementation
2019-09-12 15:22:25 -04:00
colin axner
5aacf454e1
Merge PR #4918 : refactor crisis tests
2019-08-27 09:19:26 -04:00
colin axner
a697be15fe
Merge PR #4909 : Refactor x/bank Tests
2019-08-19 09:29:17 -04:00