diff --git a/tests/e2e/actions.go b/tests/e2e/actions.go index 15e1f0fb19..4c0e5c5d93 100644 --- a/tests/e2e/actions.go +++ b/tests/e2e/actions.go @@ -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), diff --git a/tests/e2e/state.go b/tests/e2e/state.go index a9864123ac..f29c8f59f0 100644 --- a/tests/e2e/state.go +++ b/tests/e2e/state.go @@ -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) @@ -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