Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
sainoe committed Sep 8, 2023
1 parent a3c4d36 commit c849cdb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/e2e/steps_consumer_misbehaviour.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ func stepsCauseConsumerMisbehaviour(consumerName string) []Step {
// and jail alice on the provider
{
action: detectConsumerEvidenceAction{
chain: chainID("consu"),
chain: chainID(consumerName),
},
state: State{
chainID("provi"): ChainState{
Expand All @@ -243,7 +243,7 @@ func stepsCauseConsumerMisbehaviour(consumerName string) []Step {
// update the fork consumer client to create a light client attack
// which should trigger a ICS misbehaviour message
action: updateLightClientAction{
chain: chainID("consu"),
chain: chainID(consumerName),
clientID: consumerClientID,
hostChain: chainID("provi"),
relayerConfig: forkRelayerConfig, // this relayer config uses the "forked" consumer
Expand All @@ -263,7 +263,7 @@ func stepsCauseConsumerMisbehaviour(consumerName string) []Step {
},
},
},
chainID("consu"): ChainState{
chainID(consumerName): ChainState{
// consumer should not have learned the jailing of alice
// since its light client is frozen on the provider
ValPowers: &map[validatorID]uint{
Expand Down

0 comments on commit c849cdb

Please sign in to comment.