Added randomized simulation parameters generation (#389)

* added simulation params

* fixed return types

* implemented full sim test on wasmd

* removed wrong committed github action

* switched to a import export test since i'm introducing params and genesis simulations

* fixed makefile

* Fixed sim test flags not working

* fixed some errors on sim test

* fixed conflicts
still a failure to be solved

* fixed wasm params error

* added missing codec

* Update params.go

removed unused import

* fixed intellij cache errors

* added full app simulation test that pass

* added README.md for sims credits
added me into contributors list

Co-authored-by: riccardo.montagnin <riccardo.montagnin@gmail.com>
This commit is contained in:
Leonardo Bragagnolo
2021-02-05 13:19:14 +01:00
committed by GitHub
parent a278049dc0
commit d0befd973d
10 changed files with 423 additions and 7 deletions

View File

@@ -34,8 +34,9 @@ type testData struct {
// returns a cleanup function, which must be defered on
func setupTest(t *testing.T) testData {
ctx, keepers := CreateTestInput(t, false, "staking,stargate", nil, nil)
cdc := keeper.MakeTestCodec(t)
data := testData{
module: NewAppModule(keepers.WasmKeeper, keepers.StakingKeeper),
module: NewAppModule(cdc, keepers.WasmKeeper, keepers.StakingKeeper),
ctx: ctx,
acctKeeper: keepers.AccountKeeper,
keeper: *keepers.WasmKeeper,