Skip to content

Commit

Permalink
fix E2E test
Browse files Browse the repository at this point in the history
  • Loading branch information
insumity committed Sep 28, 2023
1 parent c6ed9ab commit 23a25f8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions app/provider/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,16 @@ func New(
ibcRouter.AddRoute(providertypes.ModuleName, providerModule)
app.IBCKeeper.SetRouter(ibcRouter)

// create evidence keeper with router
evidenceKeeper := evidencekeeper.NewKeeper(
appCodec,
keys[evidencetypes.StoreKey],
app.StakingKeeper,
app.SlashingKeeper,
)

app.EvidenceKeeper = *evidenceKeeper

skipGenesisInvariants := cast.ToBool(appOpts.Get(crisis.FlagSkipGenesisInvariants))

// NOTE: Any module instantiated in the module manager that is later modified
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/steps.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ var happyPathSteps = concatSteps(
stepsDowntime("consu"),
stepsDoubleSignOnProviderAndConsumer("consu"), // carol double signs on provider, bob double signs on consumer
stepsStartRelayer(),
stepsConsumerRemovalPropNotPassing("consu", 3), // submit removal prop but vote no on it - chain should stay
stepsStopChain("consu", 4), // stop chain
stepsConsumerRemovalPropNotPassing("consu", 2), // submit removal prop but vote no on it - chain should stay
stepsStopChain("consu", 3), // stop chain
)

var shortHappyPathSteps = concatSteps(
Expand Down

0 comments on commit 23a25f8

Please sign in to comment.