Skip to content

Commit

Permalink
fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shaspitz committed May 23, 2023
1 parent aa6bd0c commit 5ca68d1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/e2e/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ func (tr TestRun) getProposal(chain chainID, proposal uint) Proposal {
Title: title,
Description: description,
}
case "/interchain_security.ccv.provider.v1.ConsumerAdditionProposal":
case "/interchain_security.ccv.provider.v2.ConsumerAdditionProposal":
chainId := gjson.Get(string(bz), `content.chain_id`).String()
spawnTime := gjson.Get(string(bz), `content.spawn_time`).Time().Sub(tr.containerConfig.now)

Expand All @@ -390,7 +390,7 @@ func (tr TestRun) getProposal(chain chainID, proposal uint) Proposal {
RevisionHeight: gjson.Get(string(bz), `content.initial_height.revision_height`).Uint(),
},
}
case "/interchain_security.ccv.provider.v1.ConsumerRemovalProposal":
case "/interchain_security.ccv.provider.v2.ConsumerRemovalProposal":
chainId := gjson.Get(string(bz), `content.chain_id`).String()
stopTime := gjson.Get(string(bz), `content.stop_time`).Time().Sub(tr.containerConfig.now)

Expand All @@ -409,7 +409,7 @@ func (tr TestRun) getProposal(chain chainID, proposal uint) Proposal {
StopTime: int(stopTime.Milliseconds()),
}

case "/interchain_security.ccv.provider.v1.EquivocationProposal":
case "/interchain_security.ccv.provider.v2.EquivocationProposal":
return EquivocationProposal{
Deposit: uint(deposit),
Status: status,
Expand Down

0 comments on commit 5ca68d1

Please sign in to comment.