Reinvest tests pass!

This commit is contained in:
Ethan Frey
2020-05-18 21:49:11 +02:00
parent ade03a1d39
commit eed809c22f
4 changed files with 41 additions and 41 deletions

View File

@@ -34,7 +34,8 @@ func setupTest(t *testing.T) (testData, func()) {
tempDir, err := ioutil.TempDir("", "wasm")
require.NoError(t, err)
ctx, acctKeeper, _, keeper := CreateTestInput(t, false, tempDir, "staking", nil, nil)
ctx, keepers := CreateTestInput(t, false, tempDir, "staking", nil, nil)
acctKeeper, keeper := keepers.AccountKeeper, keepers.WasmKeeper
data := testData{
module: NewAppModule(keeper),
ctx: ctx,