Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
sainoe committed Sep 4, 2023
1 parent 902c1b8 commit 6fb2307
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -1685,7 +1685,7 @@ func (tr TestRun) invokeDoublesignSlash(
// Run an instance of the Hermes relayer in the "evidence" mode,
// which detects the double signing evidences on the consumer chain.
// Each infraction detected is reported to the provider chain using
// a SubmitConsumerDoubleVoting message
// a SubmitConsumerDoubleVoting message.
type detectDoubleSigningEvidenceAction struct {
chain chainID
}
Expand Down
4 changes: 4 additions & 0 deletions tests/e2e/steps_double_sign.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ func stepsDoubleSignOnProviderAndConsumer(consumerName string) []Step {
}
}

// Steps that make bob double sign on the consumer
func stepsCauseDoubleSignOnConsumer(consumerName string) []Step {
return []Step{
{
Expand All @@ -153,6 +154,8 @@ func stepsCauseDoubleSignOnConsumer(consumerName string) []Step {
},
},
},
// detect the double voting infraction
// and jail bob on the provider
{
action: detectDoubleSigningEvidenceAction{
chain: chainID("consu"),
Expand All @@ -174,6 +177,7 @@ func stepsCauseDoubleSignOnConsumer(consumerName string) []Step {
},
},
},
// consumer learn about the jailing
{
action: relayPacketsAction{
chainA: chainID("provi"),
Expand Down

0 comments on commit 6fb2307

Please sign in to comment.