Skip to content

Commit

Permalink
fix e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
bermuell committed Aug 6, 2024
1 parent 6257f41 commit 35978c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -391,14 +391,14 @@ func (tr Chain) submitConsumerRemovalProposal(
}
],
"metadata": "ipfs://CID",
"deposit": "%sstake",
"deposit": "%dstake",
"title": "%s",
"summary": "It was a great chain",
"expedited": false
}
`
title := fmt.Sprintf("Stop the %v chain", action.ConsumerChain)
stopTime := tr.testConfig.containerConfig.Now.Add(action.StopTimeOffset)
stopTime := tr.testConfig.containerConfig.Now.Add(action.StopTimeOffset).Format(time.RFC3339Nano)

jsonStr := fmt.Sprintf(template,
string(tr.testConfig.chainConfigs[action.ConsumerChain].ChainId),
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ func (tr Commands) GetProposal(chain ChainID, proposal uint) Proposal {
Title: title,
Type: "/cosmos.upgrade.v1beta1.SoftwareUpgradeProposal",
}
case "/interchain_security.ccv.provider.v1.ConsumerRemovalProposal":
case "/interchain_security.ccv.provider.v1.MsgConsumerRemoval":
chainId := rawContent.Get("chain_id").String()
stopTime := rawContent.Get("stop_time").Time().Sub(tr.containerConfig.Now)

Expand Down Expand Up @@ -529,7 +529,7 @@ func (tr Commands) GetProposal(chain ChainID, proposal uint) Proposal {
Params: params,
}

case "/interchain_security.ccv.provider.v1.ConsumerModificationProposal":
case "/interchain_security.ccv.provider.v1.MsgConsumerModification":
chainId := rawContent.Get("chain_id").String()

var chain ChainID
Expand Down

0 comments on commit 35978c7

Please sign in to comment.