Skip to content

Commit

Permalink
CNS-45: added blockstore init in InitAllKeeprs
Browse files Browse the repository at this point in the history
  • Loading branch information
oren-lava committed Dec 21, 2022
1 parent 372c4b1 commit 5841c45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions testutil/keeper/keepers_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ func InitAllKeepers(t testing.TB) (*Servers, *Keepers, context.Context) {
ks.Pairing = *pairingkeeper.NewKeeper(cdc, pairingStoreKey, pairingMemStoreKey, pairingparamsSubspace, &ks.BankKeeper, &ks.AccountKeeper, ks.Spec, &ks.Epochstorage)
ks.ParamsKeeper = paramsKeeper
ks.Conflict = *conflictkeeper.NewKeeper(cdc, conflictStoreKey, conflictMemStoreKey, conflictparamsSubspace, &ks.BankKeeper, &ks.AccountKeeper, ks.Pairing, ks.Epochstorage, ks.Spec)
ks.BlockStore = MockBlockStore{height: 0, blockHistory: make(map[int64]tenderminttypes.Block)}

ctx := sdk.NewContext(stateStore, tmproto.Header{}, false, log.TestingLogger())

Expand Down

0 comments on commit 5841c45

Please sign in to comment.