This repository has been archived by the owner on Jun 24, 2024. It is now read-only.
feat: implement verify_upgrade_client
method
#93
Annotations
123 errors and 31 warnings
a value of type `std::vec::Vec<ibc_core::handler::types::events::IbcEvent>` cannot be built from an iterator over elements of type `ibc_core_handler_types::events::IbcEvent`:
mocks/src/relayer/handle/cosmos.rs#L94
error[E0277]: a value of type `std::vec::Vec<ibc_core::handler::types::events::IbcEvent>` cannot be built from an iterator over elements of type `ibc_core_handler_types::events::IbcEvent`
--> mocks/src/relayer/handle/cosmos.rs:94:14
|
94 | .collect();
| ^^^^^^^ value of type `std::vec::Vec<ibc_core::handler::types::events::IbcEvent>` cannot be built from `std::iter::Iterator<Item=ibc_core_handler_types::events::IbcEvent>`
|
= help: the trait `std::iter::FromIterator<ibc_core_handler_types::events::IbcEvent>` is not implemented for `std::vec::Vec<ibc_core::handler::types::events::IbcEvent>`
= help: the trait `std::iter::FromIterator<ibc_core::handler::types::events::IbcEvent>` is implemented for `std::vec::Vec<ibc_core::handler::types::events::IbcEvent>`
= help: for that trait implementation, expected `ibc_core::handler::types::events::IbcEvent`, found `ibc_core_handler_types::events::IbcEvent`
note: the method call chain might not have had the expected associated types
--> mocks/src/relayer/handle/cosmos.rs:93:14
|
88 | async fn submit_msgs(&self, msgs: Vec<Any>) -> Vec<IbcEvent> {
| ---- this expression has type `Vec<Any>`
...
92 | .into_iter()
| ----------- `Iterator::Item` is `Any` here
93 | .flat_map(|msg| ibc(self.app.clone()).process_message(msg).unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `IbcEvent` here
note: required by a bound in `std::iter::Iterator::collect`
--> /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/iter/traits/iterator.rs:2050:5
|
no method named `get_next_sequence_send` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/handle/cosmos.rs#L54
error[E0599]: no method named `get_next_sequence_send` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/handle/cosmos.rs:54:55
|
54 | QueryResp::NextSeqSend(self.ibc_ctx().get_next_sequence_send(&path).unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
1 + use ibc_core::channel::context::SendPacketValidationContext;
|
1 + use ibc_core::host::ValidationContext;
|
1 + use ibc_core_channel::context::SendPacketValidationContext;
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `get_client_validation_context` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/handle/cosmos.rs#L44
error[E0599]: no method named `get_client_validation_context` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/handle/cosmos.rs:44:22
|
43 | / self.ibc_ctx()
44 | | .get_client_validation_context()
| | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________________|
|
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
1 + use ibc_core::channel::context::SendPacketValidationContext;
|
1 + use ibc_core::host::ValidationContext;
|
1 + use ibc_core_channel::context::SendPacketValidationContext;
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `get_client_validation_context` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/handle/cosmos.rs#L37
error[E0599]: no method named `get_client_validation_context` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/handle/cosmos.rs:37:22
|
36 | / self.ibc_ctx()
37 | | .get_client_validation_context()
| | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________________|
|
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
1 + use ibc_core::channel::context::SendPacketValidationContext;
|
1 + use ibc_core::host::ValidationContext;
|
1 + use ibc_core_channel::context::SendPacketValidationContext;
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/handle/cosmos.rs#L33
error[E0599]: no method named `client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/handle/cosmos.rs:33:57
|
33 | QueryResp::ClientCounter(self.ibc_ctx().client_counter().unwrap())
| ^^^^^^^^^^^^^^ private field, not a method
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:51:8
|
51 | fn client_counter(&self) -> Result<u64, ContextError>;
| -------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `host_consensus_state` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/handle/cosmos.rs#L30
error[E0599]: no method named `host_consensus_state` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/handle/cosmos.rs:30:32
|
30 | self.ibc_ctx().host_consensus_state(&height).unwrap().into(),
| ^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:43:8
|
43 | fn host_consensus_state(
| -------------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `host_height` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/handle/cosmos.rs#L28
error[E0599]: no method named `host_height` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/handle/cosmos.rs:28:74
|
28 | QueryReq::HostHeight => QueryResp::HostHeight(self.ibc_ctx().host_height().unwrap()),
| ^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
1 + use ibc_client_tendermint::context::ValidationContext;
|
1 + use ibc_client_tendermint::context::ValidationContext;
|
1 + use ibc_core::host::ValidationContext;
|
1 + use ibc_core_host::context::ValidationContext;
|
and 2 other candidates
|
no method named `store_next_sequence_ack` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L129
error[E0599]: no method named `store_next_sequence_ack` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:129:14
|
128 | / self.ibc_ctx()
129 | | .store_next_sequence_ack(&seq_ack_path, seq_number)
| | -^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:228:8
|
228 | fn store_next_sequence_ack(
| ----------------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `store_next_sequence_recv` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L120
error[E0599]: no method named `store_next_sequence_recv` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:120:14
|
119 | / self.ibc_ctx()
120 | | .store_next_sequence_recv(&seq_recv_path, seq_number)
| | -^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:221:8
|
221 | fn store_next_sequence_recv(
| ------------------------ the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `store_next_sequence_send` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L111
error[E0599]: no method named `store_next_sequence_send` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:111:14
|
110 | / self.ibc_ctx()
111 | | .store_next_sequence_send(&seq_send_path, seq_number)
| | -^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________|
|
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
4 + use ibc_core::channel::context::SendPacketExecutionContext;
|
4 + use ibc_core::host::ExecutionContext;
|
4 + use ibc_core_channel::context::SendPacketExecutionContext;
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `store_channel` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L100
error[E0599]: no method named `store_channel` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:100:14
|
99 | / self.ibc_ctx()
100 | | .store_channel(&channel_end_path, channel_end)
| | -^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:207:8
|
207 | fn store_channel(
| ------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `store_connection` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L76
error[E0599]: no method named `store_connection` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:76:14
|
75 | / self.ibc_ctx()
76 | | .store_connection(&connection_path, connection_end)
| | -^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:158:8
|
158 | fn store_connection(
| ---------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
mismatched types:
mocks/src/cosmos/manual.rs#L53
error[E0308]: mismatched types
--> mocks/src/cosmos/manual.rs:53:9
|
35 | pub fn setup_client(&mut self, client_chain_id: &ChainId) -> ClientId {
| -------- expected `ibc_core::host::types::identifiers::ClientId` because of return type
...
53 | client_id
| ^^^^^^^^^ expected `ClientId`, found a different `ClientId`
|
= note: `ClientId` and `ClientId` have similar names, but are actually distinct types
note: `ClientId` is defined in crate `ibc_core_host_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/types/src/identifiers/client_id.rs:24:1
|
24 | pub struct ClientId(String);
| ^^^^^^^^^^^^^^^^^^^
note: `ClientId` is defined in crate `ibc_core_host_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-core/ics24-host/types/src/identifiers/client_id.rs:24:1
|
24 | pub struct ClientId(String);
| ^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_core_host_types` are being used?
|
no method named `increase_client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L51
error[E0599]: no method named `increase_client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:51:24
|
51 | self.ibc_ctx().increase_client_counter().unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:155:8
|
155 | fn increase_client_counter(&mut self) -> Result<(), ContextError>;
| ----------------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `initialise` found for struct `sov_celestia_client::client_state::ClientState` in the current scope:
mocks/src/cosmos/manual.rs#L48
error[E0599]: no method named `initialise` found for struct `sov_celestia_client::client_state::ClientState` in the current scope
--> mocks/src/cosmos/manual.rs:48:14
|
47 | / client_state
48 | | .initialise(&mut self.ibc_ctx(), &client_id, consensus_state.into())
| | -^^^^^^^^^^ method not found in `ClientState`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics02-client/context/src/client_state.rs:143:8
|
143 | fn initialise(
| ---------- the method is available for `sov_celestia_client::client_state::ClientState` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_client_context::client_state::ClientStateExecution;
|
|
mismatched types:
mocks/src/cosmos/manual.rs#L45
error[E0308]: mismatched types
--> mocks/src/cosmos/manual.rs:45:57
|
45 | let consensus_state = dummy_sov_consensus_state(Timestamp::now());
| ------------------------- ^^^^^^^^^^^^^^^^ expected `Timestamp`, found `ibc_core::primitives::Timestamp`
| |
| arguments to this function are incorrect
|
= note: `ibc_core::primitives::Timestamp` and `Timestamp` have similar names, but are actually distinct types
note: `ibc_core::primitives::Timestamp` is defined in crate `ibc_primitives`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-primitives/src/types/timestamp.rs:28:1
|
28 | pub struct Timestamp {
| ^^^^^^^^^^^^^^^^^^^^
note: `Timestamp` is defined in crate `ibc_primitives`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-primitives/src/types/timestamp.rs:28:1
|
28 | pub struct Timestamp {
| ^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_primitives` are being used?
note: function defined here
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/clients/sov-celestia/types/src/client_state/mod.rs:116:12
|
116 | pub fn dummy_sov_consensus_state(timestamp: Timestamp) -> SovTmConsensusState {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
mismatched types:
mocks/src/cosmos/manual.rs#L43
error[E0308]: mismatched types
--> mocks/src/cosmos/manual.rs:43:36
|
43 | dummy_sov_client_state(client_chain_id.clone(), current_height).into();
| ---------------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `ChainId`, found a different `ChainId`
| |
| arguments to this function are incorrect
|
= note: `ChainId` and `ChainId` have similar names, but are actually distinct types
note: `ChainId` is defined in crate `ibc_core_host_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-core/ics24-host/types/src/identifiers/chain_id.rs:33:1
|
33 | pub struct ChainId {
| ^^^^^^^^^^^^^^^^^^
note: `ChainId` is defined in crate `ibc_core_host_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/types/src/identifiers/chain_id.rs:33:1
|
33 | pub struct ChainId {
| ^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_core_host_types` are being used?
note: function defined here
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/clients/sov-celestia/types/src/client_state/mod.rs:106:12
|
106 | pub fn dummy_sov_client_state(rollup_id: ChainId, latest_height: Height) -> SovTmClientState {
| ^^^^^^^^^^^^^^^^^^^^^^
|
no method named `host_height` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L40
error[E0599]: no method named `host_height` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:40:45
|
40 | let current_height = self.ibc_ctx().host_height().unwrap();
| ^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
4 + use ibc_client_tendermint::context::ValidationContext;
|
4 + use ibc_client_tendermint::context::ValidationContext;
|
4 + use ibc_core::host::ValidationContext;
|
4 + use ibc_core_host::context::ValidationContext;
|
and 2 other candidates
|
no method named `client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L36
error[E0599]: no method named `client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:36:45
|
36 | let client_counter = self.ibc_ctx().client_counter().unwrap();
| ^^^^^^^^^^^^^^ private field, not a method
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:51:8
|
51 | fn client_counter(&self) -> Result<u64, ContextError>;
| -------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ValidationContext;
|
|
mismatched types:
mocks/src/tests/transfer.rs#L283
error[E0308]: mismatched types
--> mocks/src/tests/transfer.rs:283:35
|
283 | CallMessage::Transfer(msg_transfer_on_sov.clone()).into()
| --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MsgTransfer`, found a different `MsgTransfer`
| |
| arguments to this enum variant are incorrect
|
= note: `MsgTransfer` and `MsgTransfer` have similar names, but are actually distinct types
note: `MsgTransfer` is defined in crate `ibc_app_transfer_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-apps/ics20-transfer/types/src/msgs/transfer.rs:36:1
|
36 | pub struct MsgTransfer {
| ^^^^^^^^^^^^^^^^^^^^^^
note: `MsgTransfer` is defined in crate `ibc_app_transfer_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-apps/ics20-transfer/types/src/msgs/transfer.rs:36:1
|
36 | pub struct MsgTransfer {
| ^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_app_transfer_types` are being used?
note: tuple variant defined here
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/modules/sov-ibc/src/call.rs:29:5
|
29 | Transfer(MsgTransfer),
| ^^^^^^^^
|
no method named `latest_height` found for enum `sov_ibc::clients::AnyClientState` in the current scope:
mocks/src/tests/transfer.rs#L211
error[E0599]: no method named `latest_height` found for enum `sov_ibc::clients::AnyClientState` in the current scope
--> mocks/src/tests/transfer.rs:211:29
|
211 | assert_eq!(client_state.latest_height(), target_height);
| ^^^^^^^^^^^^^ method not found in `AnyClientState`
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics02-client/context/src/client_state.rs:34:8
|
34 | fn latest_height(&self) -> Height;
| ------------- the method is available for `sov_ibc::clients::AnyClientState` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_client_context::client_state::ClientStateCommon;
|
|
mismatched types:
mocks/src/tests/transfer.rs#L104
error[E0308]: mismatched types
--> mocks/src/tests/transfer.rs:104:35
|
104 | CallMessage::Transfer(msg_transfer_on_sov.clone()).into()
| --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MsgTransfer`, found a different `MsgTransfer`
| |
| arguments to this enum variant are incorrect
|
= note: `MsgTransfer` and `MsgTransfer` have similar names, but are actually distinct types
note: `MsgTransfer` is defined in crate `ibc_app_transfer_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-apps/ics20-transfer/types/src/msgs/transfer.rs:36:1
|
36 | pub struct MsgTransfer {
| ^^^^^^^^^^^^^^^^^^^^^^
note: `MsgTransfer` is defined in crate `ibc_app_transfer_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-apps/ics20-transfer/types/src/msgs/transfer.rs:36:1
|
36 | pub struct MsgTransfer {
| ^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_app_transfer_types` are being used?
note: tuple variant defined here
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/modules/sov-ibc/src/call.rs:29:5
|
29 | Transfer(MsgTransfer),
| ^^^^^^^^
|
mismatched types:
mocks/src/tests/transfer.rs#L64
error[E0308]: mismatched types
--> mocks/src/tests/transfer.rs:64:35
|
64 | CallMessage::Transfer(msg_transfer_on_sov.clone()).into()
| --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MsgTransfer`, found a different `MsgTransfer`
| |
| arguments to this enum variant are incorrect
|
= note: `MsgTransfer` and `MsgTransfer` have similar names, but are actually distinct types
note: `MsgTransfer` is defined in crate `ibc_app_transfer_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-apps/ics20-transfer/types/src/msgs/transfer.rs:36:1
|
36 | pub struct MsgTransfer {
| ^^^^^^^^^^^^^^^^^^^^^^
note: `MsgTransfer` is defined in crate `ibc_app_transfer_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-apps/ics20-transfer/types/src/msgs/transfer.rs:36:1
|
36 | pub struct MsgTransfer {
| ^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_app_transfer_types` are being used?
note: tuple variant defined here
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/modules/sov-ibc/src/call.rs:29:5
|
29 | Transfer(MsgTransfer),
| ^^^^^^^^
|
mismatched types:
mocks/src/tests/transfer.rs#L44
error[E0308]: mismatched types
--> mocks/src/tests/transfer.rs:44:35
|
44 | CallMessage::Transfer(msg_transfer_on_sov.clone()).into()
| --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `MsgTransfer`, found a different `MsgTransfer`
| |
| arguments to this enum variant are incorrect
|
= note: `MsgTransfer` and `MsgTransfer` have similar names, but are actually distinct types
note: `MsgTransfer` is defined in crate `ibc_app_transfer_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-apps/ics20-transfer/types/src/msgs/transfer.rs:36:1
|
36 | pub struct MsgTransfer {
| ^^^^^^^^^^^^^^^^^^^^^^
note: `MsgTransfer` is defined in crate `ibc_app_transfer_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-apps/ics20-transfer/types/src/msgs/transfer.rs:36:1
|
36 | pub struct MsgTransfer {
| ^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_app_transfer_types` are being used?
note: tuple variant defined here
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/modules/sov-ibc/src/call.rs:29:5
|
29 | Transfer(MsgTransfer),
| ^^^^^^^^
|
no method named `latest_height` found for enum `basecoin::modules::ibc::AnyClientState` in the current scope:
mocks/src/tests/client.rs#L186
error[E0599]: no method named `latest_height` found for enum `basecoin::modules::ibc::AnyClientState` in the current scope
--> mocks/src/tests/client.rs:186:29
|
186 | assert_eq!(client_state.latest_height(), target_height);
| ^^^^^^^^^^^^^ method not found in `AnyClientState`
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics02-client/context/src/client_state.rs:34:8
|
34 | fn latest_height(&self) -> Height;
| ------------- the method is available for `basecoin::modules::ibc::AnyClientState` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_client_context::client_state::ClientStateCommon;
|
|
no method named `latest_height` found for enum `basecoin::modules::ibc::AnyClientState` in the current scope:
mocks/src/tests/client.rs#L145
error[E0599]: no method named `latest_height` found for enum `basecoin::modules::ibc::AnyClientState` in the current scope
--> mocks/src/tests/client.rs:145:26
|
145 | client_state.latest_height(),
| ^^^^^^^^^^^^^ method not found in `AnyClientState`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_client_context::client_state::ClientStateCommon;
|
|
no method named `latest_height` found for enum `basecoin::modules::ibc::AnyClientState` in the current scope:
mocks/src/tests/client.rs#L112
error[E0599]: no method named `latest_height` found for enum `basecoin::modules::ibc::AnyClientState` in the current scope
--> mocks/src/tests/client.rs:112:29
|
112 | assert_eq!(client_state.latest_height(), target_height);
| ^^^^^^^^^^^^^ method not found in `AnyClientState`
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics02-client/context/src/client_state.rs:34:8
|
34 | fn latest_height(&self) -> Height;
| ------------- the method is available for `basecoin::modules::ibc::AnyClientState` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_client_context::client_state::ClientStateCommon;
|
|
no method named `latest_height` found for enum `basecoin::modules::ibc::AnyClientState` in the current scope:
mocks/src/tests/client.rs#L67
error[E0599]: no method named `latest_height` found for enum `basecoin::modules::ibc::AnyClientState` in the current scope
--> mocks/src/tests/client.rs:67:31
|
67 | Some(client_state.latest_height()),
| ^^^^^^^^^^^^^ method not found in `AnyClientState`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_client_context::client_state::ClientStateCommon;
|
|
no method named `latest_height` found for enum `basecoin::modules::ibc::AnyClientState` in the current scope:
mocks/src/tests/client.rs#L65
error[E0599]: no method named `latest_height` found for enum `basecoin::modules::ibc::AnyClientState` in the current scope
--> mocks/src/tests/client.rs:65:47
|
65 | revision_height: client_state.latest_height().revision_height(),
| ^^^^^^^^^^^^^ method not found in `AnyClientState`
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics02-client/context/src/client_state.rs:34:8
|
34 | fn latest_height(&self) -> Height;
| ------------- the method is available for `basecoin::modules::ibc::AnyClientState` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_client_context::client_state::ClientStateCommon;
|
|
no method named `latest_height` found for enum `basecoin::modules::ibc::AnyClientState` in the current scope:
mocks/src/tests/client.rs#L64
error[E0599]: no method named `latest_height` found for enum `basecoin::modules::ibc::AnyClientState` in the current scope
--> mocks/src/tests/client.rs:64:47
|
64 | revision_number: client_state.latest_height().revision_number(),
| ^^^^^^^^^^^^^ method not found in `AnyClientState`
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics02-client/context/src/client_state.rs:34:8
|
34 | fn latest_height(&self) -> Height;
| ------------- the method is available for `basecoin::modules::ibc::AnyClientState` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_client_context::client_state::ClientStateCommon;
|
|
no method named `latest_height` found for enum `basecoin::modules::ibc::AnyClientState` in the current scope:
mocks/src/tests/client.rs#L48
error[E0599]: no method named `latest_height` found for enum `basecoin::modules::ibc::AnyClientState` in the current scope
--> mocks/src/tests/client.rs:48:31
|
48 | Some(client_state.latest_height().increment()), // increment as the proof is available as of the next height
| ^^^^^^^^^^^^^ method not found in `AnyClientState`
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics02-client/context/src/client_state.rs:34:8
|
34 | fn latest_height(&self) -> Height;
| ------------- the method is available for `basecoin::modules::ibc::AnyClientState` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_client_context::client_state::ClientStateCommon;
|
|
arguments to this function are incorrect:
mocks/src/sovereign/rollup.rs#L138
error[E0308]: arguments to this function are incorrect
--> mocks/src/sovereign/rollup.rs:138:9
|
138 | dummy_sov_header(
| ^^^^^^^^^^^^^^^^
139 | header,
| ------ expected `Header`, found a different `Header`
140 | Height::new(0, 1).unwrap(),
| -------------------------- expected `Height`, found `ibc_core::client::types::Height`
141 | Height::new(0, revision_height).unwrap(),
| ---------------------------------------- expected `Height`, found `ibc_core::client::types::Height`
|
= note: `Header` and `Header` have similar names, but are actually distinct types
note: `Header` is defined in crate `ibc_client_tendermint_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-clients/ics07-tendermint/types/src/header.rs:28:1
|
28 | pub struct Header {
| ^^^^^^^^^^^^^^^^^
note: `Header` is defined in crate `ibc_client_tendermint_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-clients/ics07-tendermint/types/src/header.rs:28:1
|
28 | pub struct Header {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_client_tendermint_types` are being used?
= note: `ibc_core::client::types::Height` and `Height` have similar names, but are actually distinct types
note: `ibc_core::client::types::Height` is defined in crate `ibc_core_client_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-core/ics02-client/types/src/height.rs:32:1
|
32 | pub struct Height {
| ^^^^^^^^^^^^^^^^^
note: `Height` is defined in crate `ibc_core_client_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics02-client/types/src/height.rs:32:1
|
32 | pub struct Height {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_core_client_types` are being used?
= note: `ibc_core::client::types::Height` and `Height` have similar names, but are actually distinct types
note: `ibc_core::client::types::Height` is defined in crate `ibc_core_client_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-core/ics02-client/types/src/height.rs:32:1
|
32 | pub struct Height {
| ^^^^^^^^^^^^^^^^^
note: `Height` is defined in crate `ibc_core_client_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics02-client/types/src/height.rs:32:1
|
32 | pub struct Height {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_core_client_types` are being used?
note: function defined here
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/clients/sov-celestia/types/src/client_message/mod.rs:139:12
|
139 | pub fn dummy_sov_header(
| ^^^^^^^^^^^^^^^^
|
arguments to this function are incorrect:
mocks/src/sovereign/rollup.rs#L138
error[E0308]: arguments to this function are incorrect
--> mocks/src/sovereign/rollup.rs:138:9
|
138 | dummy_sov_header(
| ^^^^^^^^^^^^^^^^
139 | header,
| ------ expected `Header`, found a different `Header`
140 | Height::new(0, 1).unwrap(),
| -------------------------- expected `Height`, found `ibc_core::client::types::Height`
141 | Height::new(0, revision_height).unwrap(),
| ---------------------------------------- expected `Height`, found `ibc_core::client::types::Height`
|
= note: `Header` and `Header` have similar names, but are actually distinct types
note: `Header` is defined in crate `ibc_client_tendermint_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-clients/ics07-tendermint/types/src/header.rs:28:1
|
28 | pub struct Header {
| ^^^^^^^^^^^^^^^^^
note: `Header` is defined in crate `ibc_client_tendermint_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-clients/ics07-tendermint/types/src/header.rs:28:1
|
28 | pub struct Header {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_client_tendermint_types` are being used?
= note: `ibc_core::client::types::Height` and `Height` have similar names, but are actually distinct types
note: `ibc_core::client::types::Height` is defined in crate `ibc_core_client_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-core/ics02-client/types/src/height.rs:32:1
|
32 | pub struct Height {
| ^^^^^^^^^^^^^^^^^
note: `Height` is defined in crate `ibc_core_client_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics02-client/types/src/height.rs:32:1
|
32 | pub struct Height {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_core_client_types` are being used?
= note: `ibc_core::client::types::Height` and `Height` have similar names, but are actually distinct types
note: `ibc_core::client::types::Height` is defined in crate `ibc_core_client_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-core/ics02-client/types/src/height.rs:32:1
|
32 | pub struct Height {
| ^^^^^^^^^^^^^^^^^
note: `Height` is defined in crate `ibc_core_client_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics02-client/types/src/height.rs:32:1
|
32 | pub struct Height {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_core_client_types` are being used?
note: function defined here
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/clients/sov-celestia/types/src/client_message/mod.rs:139:12
|
139 | pub fn dummy_sov_header(
| ^^^^^^^^^^^^^^^^
|
mismatched types:
mocks/src/relayer/handle/rollup.rs#L115
error[E0308]: mismatched types
--> mocks/src/relayer/handle/rollup.rs:115:44
|
115 | .packet_commitment(req, &mut working_set)
| ----------------- ^^^ expected `QueryPacketCommitmentRequest`, found a different `QueryPacketCommitmentRequest`
| |
| arguments to this method are incorrect
|
= note: `QueryPacketCommitmentRequest` and `QueryPacketCommitmentRequest` have similar names, but are actually distinct types
note: `QueryPacketCommitmentRequest` is defined in crate `ibc_query`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-query/src/core/channel/types/request.rs:138:1
|
138 | pub struct QueryPacketCommitmentRequest {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `QueryPacketCommitmentRequest` is defined in crate `ibc_query`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-query/src/core/channel/types/request.rs:138:1
|
138 | pub struct QueryPacketCommitmentRequest {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_query` are being used?
note: method defined here
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/modules/sov-ibc/src/rpc/methods.rs:417:12
|
417 | pub fn packet_commitment(
| ^^^^^^^^^^^^^^^^^
|
mismatched types:
mocks/src/relayer/handle/rollup.rs#L99
error[E0308]: mismatched types
--> mocks/src/relayer/handle/rollup.rs:99:42
|
99 | .consensus_state(req, &mut working_set)
| --------------- ^^^ expected `QueryConsensusStateRequest`, found a different `QueryConsensusStateRequest`
| |
| arguments to this method are incorrect
|
= note: `QueryConsensusStateRequest` and `QueryConsensusStateRequest` have similar names, but are actually distinct types
note: `QueryConsensusStateRequest` is defined in crate `ibc_query`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-query/src/core/client/types/request.rs:66:1
|
66 | pub struct QueryConsensusStateRequest {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `QueryConsensusStateRequest` is defined in crate `ibc_query`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-query/src/core/client/types/request.rs:66:1
|
66 | pub struct QueryConsensusStateRequest {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_query` are being used?
note: method defined here
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/modules/sov-ibc/src/rpc/methods.rs:113:12
|
113 | pub fn consensus_state(
| ^^^^^^^^^^^^^^^
|
mismatched types:
mocks/src/relayer/handle/rollup.rs#L81
error[E0308]: mismatched types
--> mocks/src/relayer/handle/rollup.rs:81:39
|
81 | .client_state(req, &mut working_set)
| ------------ ^^^ expected `QueryClientStateRequest`, found a different `QueryClientStateRequest`
| |
| arguments to this method are incorrect
|
= note: `QueryClientStateRequest` and `QueryClientStateRequest` have similar names, but are actually distinct types
note: `QueryClientStateRequest` is defined in crate `ibc_query`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-query/src/core/client/types/request.rs:26:1
|
26 | pub struct QueryClientStateRequest {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `QueryClientStateRequest` is defined in crate `ibc_query`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-query/src/core/client/types/request.rs:26:1
|
26 | pub struct QueryClientStateRequest {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_query` are being used?
note: method defined here
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/modules/sov-ibc/src/rpc/methods.rs:60:12
|
60 | pub fn client_state(
| ^^^^^^^^^^^^
|
mismatched types:
mocks/src/relayer/handle/rollup.rs#L115
error[E0308]: mismatched types
--> mocks/src/relayer/handle/rollup.rs:115:44
|
115 | .packet_commitment(req, &mut working_set)
| ----------------- ^^^ expected `QueryPacketCommitmentRequest`, found a different `QueryPacketCommitmentRequest`
| |
| arguments to this method are incorrect
|
= note: `QueryPacketCommitmentRequest` and `QueryPacketCommitmentRequest` have similar names, but are actually distinct types
note: `QueryPacketCommitmentRequest` is defined in crate `ibc_query`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-query/src/core/channel/types/request.rs:138:1
|
138 | pub struct QueryPacketCommitmentRequest {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `QueryPacketCommitmentRequest` is defined in crate `ibc_query`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-query/src/core/channel/types/request.rs:138:1
|
138 | pub struct QueryPacketCommitmentRequest {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_query` are being used?
note: method defined here
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/modules/sov-ibc/src/rpc/methods.rs:417:12
|
417 | pub fn packet_commitment(
| ^^^^^^^^^^^^^^^^^
|
no method named `get_next_sequence_send` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/relayer/handle/rollup.rs#L69
error[E0599]: no method named `get_next_sequence_send` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/relayer/handle/rollup.rs:69:48
|
69 | QueryResp::NextSeqSend(ibc_ctx.get_next_sequence_send(&path).unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
1 + use ibc_core::channel::context::SendPacketValidationContext;
|
1 + use ibc_core::host::ValidationContext;
|
1 + use ibc_core_channel::context::SendPacketValidationContext;
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `get_client_validation_context` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/relayer/handle/rollup.rs#L54
error[E0599]: no method named `get_client_validation_context` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/relayer/handle/rollup.rs:54:22
|
53 | / ibc_ctx
54 | | .get_client_validation_context()
| | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
| |_____________________|
|
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
1 + use ibc_core::channel::context::SendPacketValidationContext;
|
1 + use ibc_core::host::ValidationContext;
|
1 + use ibc_core_channel::context::SendPacketValidationContext;
|
1 + use ibc_core_host::context::ValidationContext;
|
|
mismatched types:
mocks/src/relayer/handle/rollup.rs#L99
error[E0308]: mismatched types
--> mocks/src/relayer/handle/rollup.rs:99:42
|
99 | .consensus_state(req, &mut working_set)
| --------------- ^^^ expected `QueryConsensusStateRequest`, found a different `QueryConsensusStateRequest`
| |
| arguments to this method are incorrect
|
= note: `QueryConsensusStateRequest` and `QueryConsensusStateRequest` have similar names, but are actually distinct types
note: `QueryConsensusStateRequest` is defined in crate `ibc_query`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-query/src/core/client/types/request.rs:66:1
|
66 | pub struct QueryConsensusStateRequest {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `QueryConsensusStateRequest` is defined in crate `ibc_query`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-query/src/core/client/types/request.rs:66:1
|
66 | pub struct QueryConsensusStateRequest {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_query` are being used?
note: method defined here
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/modules/sov-ibc/src/rpc/methods.rs:113:12
|
113 | pub fn consensus_state(
| ^^^^^^^^^^^^^^^
|
mismatched types:
mocks/src/relayer/handle/rollup.rs#L81
error[E0308]: mismatched types
--> mocks/src/relayer/handle/rollup.rs:81:39
|
81 | .client_state(req, &mut working_set)
| ------------ ^^^ expected `QueryClientStateRequest`, found a different `QueryClientStateRequest`
| |
| arguments to this method are incorrect
|
= note: `QueryClientStateRequest` and `QueryClientStateRequest` have similar names, but are actually distinct types
note: `QueryClientStateRequest` is defined in crate `ibc_query`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-query/src/core/client/types/request.rs:26:1
|
26 | pub struct QueryClientStateRequest {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `QueryClientStateRequest` is defined in crate `ibc_query`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-query/src/core/client/types/request.rs:26:1
|
26 | pub struct QueryClientStateRequest {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_query` are being used?
note: method defined here
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/modules/sov-ibc/src/rpc/methods.rs:60:12
|
60 | pub fn client_state(
| ^^^^^^^^^^^^
|
no method named `get_client_validation_context` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/relayer/handle/rollup.rs#L47
error[E0599]: no method named `get_client_validation_context` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/relayer/handle/rollup.rs:47:22
|
46 | / ibc_ctx
47 | | .get_client_validation_context()
| | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
| |_____________________|
|
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
1 + use ibc_core::channel::context::SendPacketValidationContext;
|
1 + use ibc_core::host::ValidationContext;
|
1 + use ibc_core_channel::context::SendPacketValidationContext;
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `get_next_sequence_send` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/relayer/handle/rollup.rs#L69
error[E0599]: no method named `get_next_sequence_send` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/relayer/handle/rollup.rs:69:48
|
69 | QueryResp::NextSeqSend(ibc_ctx.get_next_sequence_send(&path).unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
1 + use ibc_core::channel::context::SendPacketValidationContext;
|
1 + use ibc_core::host::ValidationContext;
|
1 + use ibc_core_channel::context::SendPacketValidationContext;
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `get_client_validation_context` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/relayer/handle/rollup.rs#L54
error[E0599]: no method named `get_client_validation_context` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/relayer/handle/rollup.rs:54:22
|
53 | / ibc_ctx
54 | | .get_client_validation_context()
| | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
| |_____________________|
|
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
1 + use ibc_core::channel::context::SendPacketValidationContext;
|
1 + use ibc_core::host::ValidationContext;
|
1 + use ibc_core_channel::context::SendPacketValidationContext;
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `host_consensus_state` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/relayer/handle/rollup.rs#L43
error[E0599]: no method named `host_consensus_state` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/relayer/handle/rollup.rs:43:55
|
43 | QueryResp::HostConsensusState(ibc_ctx.host_consensus_state(&height).unwrap().into())
| ^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:43:8
|
43 | fn host_consensus_state(
| -------------------- the method is available for `sov_ibc::context::IbcContext<'_, S>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `get_client_validation_context` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/relayer/handle/rollup.rs#L47
error[E0599]: no method named `get_client_validation_context` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/relayer/handle/rollup.rs:47:22
|
46 | / ibc_ctx
47 | | .get_client_validation_context()
| | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
| |_____________________|
|
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
1 + use ibc_core::channel::context::SendPacketValidationContext;
|
1 + use ibc_core::host::ValidationContext;
|
1 + use ibc_core_channel::context::SendPacketValidationContext;
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `host_consensus_state` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/relayer/handle/rollup.rs#L43
error[E0599]: no method named `host_consensus_state` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/relayer/handle/rollup.rs:43:55
|
43 | QueryResp::HostConsensusState(ibc_ctx.host_consensus_state(&height).unwrap().into())
| ^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:43:8
|
43 | fn host_consensus_state(
| -------------------- the method is available for `sov_ibc::context::IbcContext<'_, S>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `host_height` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/relayer/handle/rollup.rs#L41
error[E0599]: no method named `host_height` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/relayer/handle/rollup.rs:41:67
|
41 | QueryReq::HostHeight => QueryResp::HostHeight(ibc_ctx.host_height().unwrap()),
| ^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
1 + use ibc_client_tendermint::context::ValidationContext;
|
1 + use ibc_client_tendermint::context::ValidationContext;
|
1 + use ibc_core::host::ValidationContext;
|
1 + use ibc_core_host::context::ValidationContext;
|
and 2 other candidates
|
no method named `client_counter` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/relayer/handle/rollup.rs#L40
error[E0599]: no method named `client_counter` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/relayer/handle/rollup.rs:40:73
|
40 | QueryReq::ClientCounter => QueryResp::ClientCounter(ibc_ctx.client_counter().unwrap()),
| ^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:51:8
|
51 | fn client_counter(&self) -> Result<u64, ContextError>;
| -------------- the method is available for `sov_ibc::context::IbcContext<'_, S>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `host_height` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/relayer/handle/rollup.rs#L41
error[E0599]: no method named `host_height` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/relayer/handle/rollup.rs:41:67
|
41 | QueryReq::HostHeight => QueryResp::HostHeight(ibc_ctx.host_height().unwrap()),
| ^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
1 + use ibc_client_tendermint::context::ValidationContext;
|
1 + use ibc_client_tendermint::context::ValidationContext;
|
1 + use ibc_core::host::ValidationContext;
|
1 + use ibc_core_host::context::ValidationContext;
|
and 2 other candidates
|
no method named `client_counter` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/relayer/handle/rollup.rs#L40
error[E0599]: no method named `client_counter` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/relayer/handle/rollup.rs:40:73
|
40 | QueryReq::ClientCounter => QueryResp::ClientCounter(ibc_ctx.client_counter().unwrap()),
| ^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:51:8
|
51 | fn client_counter(&self) -> Result<u64, ContextError>;
| -------------- the method is available for `sov_ibc::context::IbcContext<'_, S>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_host::context::ValidationContext;
|
|
a value of type `std::vec::Vec<ibc_core::handler::types::events::IbcEvent>` cannot be built from an iterator over elements of type `ibc_core_handler_types::events::IbcEvent`:
mocks/src/relayer/handle/cosmos.rs#L94
error[E0277]: a value of type `std::vec::Vec<ibc_core::handler::types::events::IbcEvent>` cannot be built from an iterator over elements of type `ibc_core_handler_types::events::IbcEvent`
--> mocks/src/relayer/handle/cosmos.rs:94:14
|
94 | .collect();
| ^^^^^^^ value of type `std::vec::Vec<ibc_core::handler::types::events::IbcEvent>` cannot be built from `std::iter::Iterator<Item=ibc_core_handler_types::events::IbcEvent>`
|
= help: the trait `std::iter::FromIterator<ibc_core_handler_types::events::IbcEvent>` is not implemented for `std::vec::Vec<ibc_core::handler::types::events::IbcEvent>`
= help: the trait `std::iter::FromIterator<ibc_core::handler::types::events::IbcEvent>` is implemented for `std::vec::Vec<ibc_core::handler::types::events::IbcEvent>`
= help: for that trait implementation, expected `ibc_core::handler::types::events::IbcEvent`, found `ibc_core_handler_types::events::IbcEvent`
note: the method call chain might not have had the expected associated types
--> mocks/src/relayer/handle/cosmos.rs:93:14
|
88 | async fn submit_msgs(&self, msgs: Vec<Any>) -> Vec<IbcEvent> {
| ---- this expression has type `Vec<Any>`
...
92 | .into_iter()
| ----------- `Iterator::Item` is `Any` here
93 | .flat_map(|msg| ibc(self.app.clone()).process_message(msg).unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `IbcEvent` here
note: required by a bound in `std::iter::Iterator::collect`
--> /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/iter/traits/iterator.rs:2050:5
|
no method named `get_next_sequence_send` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/handle/cosmos.rs#L54
error[E0599]: no method named `get_next_sequence_send` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/handle/cosmos.rs:54:55
|
54 | QueryResp::NextSeqSend(self.ibc_ctx().get_next_sequence_send(&path).unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
1 + use ibc_core::channel::context::SendPacketValidationContext;
|
1 + use ibc_core::host::ValidationContext;
|
1 + use ibc_core_channel::context::SendPacketValidationContext;
|
1 + use ibc_core_host::context::ValidationContext;
|
|
a value of type `std::vec::Vec<ibc_core::handler::types::events::IbcEvent>` cannot be built from an iterator over elements of type `ibc_core_handler_types::events::IbcEvent`:
mocks/src/relayer/handle/cosmos.rs#L94
error[E0277]: a value of type `std::vec::Vec<ibc_core::handler::types::events::IbcEvent>` cannot be built from an iterator over elements of type `ibc_core_handler_types::events::IbcEvent`
--> mocks/src/relayer/handle/cosmos.rs:94:14
|
94 | .collect();
| ^^^^^^^ value of type `std::vec::Vec<ibc_core::handler::types::events::IbcEvent>` cannot be built from `std::iter::Iterator<Item=ibc_core_handler_types::events::IbcEvent>`
|
= help: the trait `std::iter::FromIterator<ibc_core_handler_types::events::IbcEvent>` is not implemented for `std::vec::Vec<ibc_core::handler::types::events::IbcEvent>`
= help: the trait `std::iter::FromIterator<ibc_core::handler::types::events::IbcEvent>` is implemented for `std::vec::Vec<ibc_core::handler::types::events::IbcEvent>`
= help: for that trait implementation, expected `ibc_core::handler::types::events::IbcEvent`, found `ibc_core_handler_types::events::IbcEvent`
note: the method call chain might not have had the expected associated types
--> mocks/src/relayer/handle/cosmos.rs:93:14
|
88 | async fn submit_msgs(&self, msgs: Vec<Any>) -> Vec<IbcEvent> {
| ---- this expression has type `Vec<Any>`
...
92 | .into_iter()
| ----------- `Iterator::Item` is `Any` here
93 | .flat_map(|msg| ibc(self.app.clone()).process_message(msg).unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `IbcEvent` here
note: required by a bound in `std::iter::Iterator::collect`
--> /rustc/7cf61ebde7b22796c69757901dd346d0fe70bd97/library/core/src/iter/traits/iterator.rs:2050:5
|
no method named `get_client_validation_context` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/handle/cosmos.rs#L44
error[E0599]: no method named `get_client_validation_context` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/handle/cosmos.rs:44:22
|
43 | / self.ibc_ctx()
44 | | .get_client_validation_context()
| | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________________|
|
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
1 + use ibc_core::channel::context::SendPacketValidationContext;
|
1 + use ibc_core::host::ValidationContext;
|
1 + use ibc_core_channel::context::SendPacketValidationContext;
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `get_next_sequence_send` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/handle/cosmos.rs#L54
error[E0599]: no method named `get_next_sequence_send` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/handle/cosmos.rs:54:55
|
54 | QueryResp::NextSeqSend(self.ibc_ctx().get_next_sequence_send(&path).unwrap())
| ^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
1 + use ibc_core::channel::context::SendPacketValidationContext;
|
1 + use ibc_core::host::ValidationContext;
|
1 + use ibc_core_channel::context::SendPacketValidationContext;
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `get_client_validation_context` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/handle/cosmos.rs#L37
error[E0599]: no method named `get_client_validation_context` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/handle/cosmos.rs:37:22
|
36 | / self.ibc_ctx()
37 | | .get_client_validation_context()
| | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________________|
|
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
1 + use ibc_core::channel::context::SendPacketValidationContext;
|
1 + use ibc_core::host::ValidationContext;
|
1 + use ibc_core_channel::context::SendPacketValidationContext;
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `get_client_validation_context` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/handle/cosmos.rs#L44
error[E0599]: no method named `get_client_validation_context` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/handle/cosmos.rs:44:22
|
43 | / self.ibc_ctx()
44 | | .get_client_validation_context()
| | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________________|
|
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
1 + use ibc_core::channel::context::SendPacketValidationContext;
|
1 + use ibc_core::host::ValidationContext;
|
1 + use ibc_core_channel::context::SendPacketValidationContext;
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/handle/cosmos.rs#L33
error[E0599]: no method named `client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/handle/cosmos.rs:33:57
|
33 | QueryResp::ClientCounter(self.ibc_ctx().client_counter().unwrap())
| ^^^^^^^^^^^^^^ private field, not a method
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:51:8
|
51 | fn client_counter(&self) -> Result<u64, ContextError>;
| -------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `host_consensus_state` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/handle/cosmos.rs#L30
error[E0599]: no method named `host_consensus_state` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/handle/cosmos.rs:30:32
|
30 | self.ibc_ctx().host_consensus_state(&height).unwrap().into(),
| ^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:43:8
|
43 | fn host_consensus_state(
| -------------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `get_client_validation_context` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/handle/cosmos.rs#L37
error[E0599]: no method named `get_client_validation_context` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/handle/cosmos.rs:37:22
|
36 | / self.ibc_ctx()
37 | | .get_client_validation_context()
| | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________________|
|
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
1 + use ibc_core::channel::context::SendPacketValidationContext;
|
1 + use ibc_core::host::ValidationContext;
|
1 + use ibc_core_channel::context::SendPacketValidationContext;
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/handle/cosmos.rs#L33
error[E0599]: no method named `client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/handle/cosmos.rs:33:57
|
33 | QueryResp::ClientCounter(self.ibc_ctx().client_counter().unwrap())
| ^^^^^^^^^^^^^^ private field, not a method
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:51:8
|
51 | fn client_counter(&self) -> Result<u64, ContextError>;
| -------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `host_height` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/handle/cosmos.rs#L28
error[E0599]: no method named `host_height` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/handle/cosmos.rs:28:74
|
28 | QueryReq::HostHeight => QueryResp::HostHeight(self.ibc_ctx().host_height().unwrap()),
| ^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
1 + use ibc_client_tendermint::context::ValidationContext;
|
1 + use ibc_client_tendermint::context::ValidationContext;
|
1 + use ibc_core::host::ValidationContext;
|
1 + use ibc_core_host::context::ValidationContext;
|
and 2 other candidates
|
no method named `host_consensus_state` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/handle/cosmos.rs#L30
error[E0599]: no method named `host_consensus_state` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/handle/cosmos.rs:30:32
|
30 | self.ibc_ctx().host_consensus_state(&height).unwrap().into(),
| ^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:43:8
|
43 | fn host_consensus_state(
| -------------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `host_height` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/handle/cosmos.rs#L28
error[E0599]: no method named `host_height` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/handle/cosmos.rs:28:74
|
28 | QueryReq::HostHeight => QueryResp::HostHeight(self.ibc_ctx().host_height().unwrap()),
| ^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
1 + use ibc_client_tendermint::context::ValidationContext;
|
1 + use ibc_client_tendermint::context::ValidationContext;
|
1 + use ibc_core::host::ValidationContext;
|
1 + use ibc_core_host::context::ValidationContext;
|
and 2 other candidates
|
no method named `store_next_sequence_ack` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L129
error[E0599]: no method named `store_next_sequence_ack` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:129:14
|
128 | / self.ibc_ctx()
129 | | .store_next_sequence_ack(&seq_ack_path, seq_number)
| | -^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:228:8
|
228 | fn store_next_sequence_ack(
| ----------------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `store_next_sequence_ack` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L129
error[E0599]: no method named `store_next_sequence_ack` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:129:14
|
128 | / self.ibc_ctx()
129 | | .store_next_sequence_ack(&seq_ack_path, seq_number)
| | -^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:228:8
|
228 | fn store_next_sequence_ack(
| ----------------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `store_next_sequence_recv` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L120
error[E0599]: no method named `store_next_sequence_recv` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:120:14
|
119 | / self.ibc_ctx()
120 | | .store_next_sequence_recv(&seq_recv_path, seq_number)
| | -^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:221:8
|
221 | fn store_next_sequence_recv(
| ------------------------ the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `store_next_sequence_send` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L111
error[E0599]: no method named `store_next_sequence_send` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:111:14
|
110 | / self.ibc_ctx()
111 | | .store_next_sequence_send(&seq_send_path, seq_number)
| | -^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________|
|
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
4 + use ibc_core::channel::context::SendPacketExecutionContext;
|
4 + use ibc_core::host::ExecutionContext;
|
4 + use ibc_core_channel::context::SendPacketExecutionContext;
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `store_next_sequence_recv` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L120
error[E0599]: no method named `store_next_sequence_recv` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:120:14
|
119 | / self.ibc_ctx()
120 | | .store_next_sequence_recv(&seq_recv_path, seq_number)
| | -^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:221:8
|
221 | fn store_next_sequence_recv(
| ------------------------ the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `store_channel` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L100
error[E0599]: no method named `store_channel` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:100:14
|
99 | / self.ibc_ctx()
100 | | .store_channel(&channel_end_path, channel_end)
| | -^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:207:8
|
207 | fn store_channel(
| ------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `store_connection` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L76
error[E0599]: no method named `store_connection` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:76:14
|
75 | / self.ibc_ctx()
76 | | .store_connection(&connection_path, connection_end)
| | -^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:158:8
|
158 | fn store_connection(
| ---------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
mismatched types:
mocks/src/cosmos/manual.rs#L53
error[E0308]: mismatched types
--> mocks/src/cosmos/manual.rs:53:9
|
35 | pub fn setup_client(&mut self, client_chain_id: &ChainId) -> ClientId {
| -------- expected `ibc_core::host::types::identifiers::ClientId` because of return type
...
53 | client_id
| ^^^^^^^^^ expected `ClientId`, found a different `ClientId`
|
= note: `ClientId` and `ClientId` have similar names, but are actually distinct types
note: `ClientId` is defined in crate `ibc_core_host_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/types/src/identifiers/client_id.rs:24:1
|
24 | pub struct ClientId(String);
| ^^^^^^^^^^^^^^^^^^^
note: `ClientId` is defined in crate `ibc_core_host_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-core/ics24-host/types/src/identifiers/client_id.rs:24:1
|
24 | pub struct ClientId(String);
| ^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_core_host_types` are being used?
|
no method named `store_next_sequence_send` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L111
error[E0599]: no method named `store_next_sequence_send` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:111:14
|
110 | / self.ibc_ctx()
111 | | .store_next_sequence_send(&seq_send_path, seq_number)
| | -^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________|
|
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
4 + use ibc_core::channel::context::SendPacketExecutionContext;
|
4 + use ibc_core::host::ExecutionContext;
|
4 + use ibc_core_channel::context::SendPacketExecutionContext;
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `increase_client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L51
error[E0599]: no method named `increase_client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:51:24
|
51 | self.ibc_ctx().increase_client_counter().unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:155:8
|
155 | fn increase_client_counter(&mut self) -> Result<(), ContextError>;
| ----------------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `initialise` found for struct `sov_celestia_client::client_state::ClientState` in the current scope:
mocks/src/cosmos/manual.rs#L48
error[E0599]: no method named `initialise` found for struct `sov_celestia_client::client_state::ClientState` in the current scope
--> mocks/src/cosmos/manual.rs:48:14
|
47 | / client_state
48 | | .initialise(&mut self.ibc_ctx(), &client_id, consensus_state.into())
| | -^^^^^^^^^^ method not found in `ClientState`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics02-client/context/src/client_state.rs:143:8
|
143 | fn initialise(
| ---------- the method is available for `sov_celestia_client::client_state::ClientState` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_client_context::client_state::ClientStateExecution;
|
|
mismatched types:
mocks/src/cosmos/manual.rs#L45
error[E0308]: mismatched types
--> mocks/src/cosmos/manual.rs:45:57
|
45 | let consensus_state = dummy_sov_consensus_state(Timestamp::now());
| ------------------------- ^^^^^^^^^^^^^^^^ expected `Timestamp`, found `ibc_core::primitives::Timestamp`
| |
| arguments to this function are incorrect
|
= note: `ibc_core::primitives::Timestamp` and `Timestamp` have similar names, but are actually distinct types
note: `ibc_core::primitives::Timestamp` is defined in crate `ibc_primitives`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-primitives/src/types/timestamp.rs:28:1
|
28 | pub struct Timestamp {
| ^^^^^^^^^^^^^^^^^^^^
note: `Timestamp` is defined in crate `ibc_primitives`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-primitives/src/types/timestamp.rs:28:1
|
28 | pub struct Timestamp {
| ^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_primitives` are being used?
note: function defined here
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/clients/sov-celestia/types/src/client_state/mod.rs:116:12
|
116 | pub fn dummy_sov_consensus_state(timestamp: Timestamp) -> SovTmConsensusState {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
mismatched types:
mocks/src/cosmos/manual.rs#L43
error[E0308]: mismatched types
--> mocks/src/cosmos/manual.rs:43:36
|
43 | dummy_sov_client_state(client_chain_id.clone(), current_height).into();
| ---------------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `ChainId`, found a different `ChainId`
| |
| arguments to this function are incorrect
|
= note: `ChainId` and `ChainId` have similar names, but are actually distinct types
note: `ChainId` is defined in crate `ibc_core_host_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-core/ics24-host/types/src/identifiers/chain_id.rs:33:1
|
33 | pub struct ChainId {
| ^^^^^^^^^^^^^^^^^^
note: `ChainId` is defined in crate `ibc_core_host_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/types/src/identifiers/chain_id.rs:33:1
|
33 | pub struct ChainId {
| ^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_core_host_types` are being used?
note: function defined here
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/clients/sov-celestia/types/src/client_state/mod.rs:106:12
|
106 | pub fn dummy_sov_client_state(rollup_id: ChainId, latest_height: Height) -> SovTmClientState {
| ^^^^^^^^^^^^^^^^^^^^^^
|
no method named `store_channel` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L100
error[E0599]: no method named `store_channel` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:100:14
|
99 | / self.ibc_ctx()
100 | | .store_channel(&channel_end_path, channel_end)
| | -^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:207:8
|
207 | fn store_channel(
| ------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `store_connection` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L76
error[E0599]: no method named `store_connection` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:76:14
|
75 | / self.ibc_ctx()
76 | | .store_connection(&connection_path, connection_end)
| | -^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:158:8
|
158 | fn store_connection(
| ---------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `host_height` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L40
error[E0599]: no method named `host_height` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:40:45
|
40 | let current_height = self.ibc_ctx().host_height().unwrap();
| ^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
4 + use ibc_client_tendermint::context::ValidationContext;
|
4 + use ibc_client_tendermint::context::ValidationContext;
|
4 + use ibc_core::host::ValidationContext;
|
4 + use ibc_core_host::context::ValidationContext;
|
and 2 other candidates
|
no method named `client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L36
error[E0599]: no method named `client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:36:45
|
36 | let client_counter = self.ibc_ctx().client_counter().unwrap();
| ^^^^^^^^^^^^^^ private field, not a method
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:51:8
|
51 | fn client_counter(&self) -> Result<u64, ContextError>;
| -------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ValidationContext;
|
|
mismatched types:
mocks/src/cosmos/manual.rs#L53
error[E0308]: mismatched types
--> mocks/src/cosmos/manual.rs:53:9
|
35 | pub fn setup_client(&mut self, client_chain_id: &ChainId) -> ClientId {
| -------- expected `ibc_core::host::types::identifiers::ClientId` because of return type
...
53 | client_id
| ^^^^^^^^^ expected `ClientId`, found a different `ClientId`
|
= note: `ClientId` and `ClientId` have similar names, but are actually distinct types
note: `ClientId` is defined in crate `ibc_core_host_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/types/src/identifiers/client_id.rs:24:1
|
24 | pub struct ClientId(String);
| ^^^^^^^^^^^^^^^^^^^
note: `ClientId` is defined in crate `ibc_core_host_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-core/ics24-host/types/src/identifiers/client_id.rs:24:1
|
24 | pub struct ClientId(String);
| ^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_core_host_types` are being used?
|
no method named `increase_client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L51
error[E0599]: no method named `increase_client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:51:24
|
51 | self.ibc_ctx().increase_client_counter().unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:155:8
|
155 | fn increase_client_counter(&mut self) -> Result<(), ContextError>;
| ----------------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `initialise` found for struct `sov_celestia_client::client_state::ClientState` in the current scope:
mocks/src/cosmos/manual.rs#L48
error[E0599]: no method named `initialise` found for struct `sov_celestia_client::client_state::ClientState` in the current scope
--> mocks/src/cosmos/manual.rs:48:14
|
47 | / client_state
48 | | .initialise(&mut self.ibc_ctx(), &client_id, consensus_state.into())
| | -^^^^^^^^^^ method not found in `ClientState`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics02-client/context/src/client_state.rs:143:8
|
143 | fn initialise(
| ---------- the method is available for `sov_celestia_client::client_state::ClientState` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_client_context::client_state::ClientStateExecution;
|
|
mismatched types:
mocks/src/cosmos/manual.rs#L45
error[E0308]: mismatched types
--> mocks/src/cosmos/manual.rs:45:57
|
45 | let consensus_state = dummy_sov_consensus_state(Timestamp::now());
| ------------------------- ^^^^^^^^^^^^^^^^ expected `Timestamp`, found `ibc_core::primitives::Timestamp`
| |
| arguments to this function are incorrect
|
= note: `ibc_core::primitives::Timestamp` and `Timestamp` have similar names, but are actually distinct types
note: `ibc_core::primitives::Timestamp` is defined in crate `ibc_primitives`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-primitives/src/types/timestamp.rs:28:1
|
28 | pub struct Timestamp {
| ^^^^^^^^^^^^^^^^^^^^
note: `Timestamp` is defined in crate `ibc_primitives`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-primitives/src/types/timestamp.rs:28:1
|
28 | pub struct Timestamp {
| ^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_primitives` are being used?
note: function defined here
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/clients/sov-celestia/types/src/client_state/mod.rs:116:12
|
116 | pub fn dummy_sov_consensus_state(timestamp: Timestamp) -> SovTmConsensusState {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
mismatched types:
mocks/src/cosmos/manual.rs#L43
error[E0308]: mismatched types
--> mocks/src/cosmos/manual.rs:43:36
|
43 | dummy_sov_client_state(client_chain_id.clone(), current_height).into();
| ---------------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `ChainId`, found a different `ChainId`
| |
| arguments to this function are incorrect
|
= note: `ChainId` and `ChainId` have similar names, but are actually distinct types
note: `ChainId` is defined in crate `ibc_core_host_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-core/ics24-host/types/src/identifiers/chain_id.rs:33:1
|
33 | pub struct ChainId {
| ^^^^^^^^^^^^^^^^^^
note: `ChainId` is defined in crate `ibc_core_host_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/types/src/identifiers/chain_id.rs:33:1
|
33 | pub struct ChainId {
| ^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_core_host_types` are being used?
note: function defined here
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/clients/sov-celestia/types/src/client_state/mod.rs:106:12
|
106 | pub fn dummy_sov_client_state(rollup_id: ChainId, latest_height: Height) -> SovTmClientState {
| ^^^^^^^^^^^^^^^^^^^^^^
|
no method named `host_height` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L40
error[E0599]: no method named `host_height` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:40:45
|
40 | let current_height = self.ibc_ctx().host_height().unwrap();
| ^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<S>>`
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
4 + use ibc_client_tendermint::context::ValidationContext;
|
4 + use ibc_client_tendermint::context::ValidationContext;
|
4 + use ibc_core::host::ValidationContext;
|
4 + use ibc_core_host::context::ValidationContext;
|
and 2 other candidates
|
no method named `client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/cosmos/manual.rs#L36
error[E0599]: no method named `client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/cosmos/manual.rs:36:45
|
36 | let client_counter = self.ibc_ctx().client_counter().unwrap();
| ^^^^^^^^^^^^^^ private field, not a method
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:51:8
|
51 | fn client_counter(&self) -> Result<u64, ContextError>;
| -------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<S>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ValidationContext;
|
|
no method named `store_next_sequence_ack` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/sovereign/manual.rs#L206
error[E0599]: no method named `store_next_sequence_ack` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/sovereign/manual.rs:206:14
|
205 | / ibc_ctx
206 | | .store_next_sequence_ack(&seq_ack_path, seq_number)
| | -^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:228:8
|
228 | fn store_next_sequence_ack(
| ----------------------- the method is available for `sov_ibc::context::IbcContext<'_, S>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `store_next_sequence_recv` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/sovereign/manual.rs#L182
error[E0599]: no method named `store_next_sequence_recv` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/sovereign/manual.rs:182:14
|
181 | / ibc_ctx
182 | | .store_next_sequence_recv(&seq_recv_path, seq_number)
| | -^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:221:8
|
221 | fn store_next_sequence_recv(
| ------------------------ the method is available for `sov_ibc::context::IbcContext<'_, S>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `store_next_sequence_send` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/sovereign/manual.rs#L158
error[E0599]: no method named `store_next_sequence_send` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/sovereign/manual.rs:158:14
|
157 | / ibc_ctx
158 | | .store_next_sequence_send(&seq_send_path, seq_number)
| | -^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
| |_____________|
|
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
4 + use ibc_core::channel::context::SendPacketExecutionContext;
|
4 + use ibc_core::host::ExecutionContext;
|
4 + use ibc_core_channel::context::SendPacketExecutionContext;
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `store_channel` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/sovereign/manual.rs#L132
error[E0599]: no method named `store_channel` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/sovereign/manual.rs:132:14
|
131 | / ibc_ctx
132 | | .store_channel(&channel_end_path, channel_end)
| | -^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:207:8
|
207 | fn store_channel(
| ------------- the method is available for `sov_ibc::context::IbcContext<'_, S>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `store_connection` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/sovereign/manual.rs#L98
error[E0599]: no method named `store_connection` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/sovereign/manual.rs:98:14
|
97 | / ibc_ctx
98 | | .store_connection(&connection_path, connection_end)
| | -^^^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:158:8
|
158 | fn store_connection(
| ---------------- the method is available for `sov_ibc::context::IbcContext<'_, S>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `increase_client_counter` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/sovereign/manual.rs#L63
error[E0599]: no method named `increase_client_counter` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/sovereign/manual.rs:63:17
|
63 | ibc_ctx.increase_client_counter().unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:155:8
|
155 | fn increase_client_counter(&mut self) -> Result<(), ContextError>;
| ----------------------- the method is available for `sov_ibc::context::IbcContext<'_, S>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
the trait bound `sov_ibc::context::IbcContext<'_, S>: ibc_client_tendermint::context::ValidationContext` is not satisfied:
mocks/src/sovereign/manual.rs#L60
error[E0277]: the trait bound `sov_ibc::context::IbcContext<'_, S>: ibc_client_tendermint::context::ValidationContext` is not satisfied
--> mocks/src/sovereign/manual.rs:60:25
|
60 | .initialise(&mut ibc_ctx, &client_id, consensus_state.into())
| ---------- ^^^^^^^^^^^^ the trait `ibc_client_tendermint::context::ValidationContext` is not implemented for `sov_ibc::context::IbcContext<'_, S>`, which is required by `ibc_client_tendermint::client_state::ClientState: ibc_core::client::context::client_state::ClientStateValidation<_>`
| |
| required by a bound introduced by this call
|
help: trait impl with same name found
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/modules/sov-ibc/src/clients/context.rs:149:1
|
149 | impl<'a, S: Spec> TmValidationContext for IbcContext<'a, S> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_client_tendermint` are being used?
= help: the trait `ibc_client_tendermint::context::ValidationContext` is implemented for `ibc_testkit::testapp::ibc::core::types::MockContext`
= note: required for `ibc_client_tendermint::client_state::ClientState` to implement `ibc_core::client::context::client_state::ClientStateValidation<sov_ibc::context::IbcContext<'_, S>>`
note: required by a bound in `ibc_core::client::context::client_state::ClientStateExecution::initialise`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-core/ics02-client/context/src/client_state.rs:149:36
|
149 | pub trait ClientStateExecution<E>: ClientStateValidation<E>
| ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ClientStateExecution::initialise`
...
157 | fn initialise(
| ---------- required by a bound in this associated function
|
the trait bound `sov_ibc::context::IbcContext<'_, S>: ibc_core::client::context::ClientExecutionContext` is not satisfied:
mocks/src/sovereign/manual.rs#L60
error[E0277]: the trait bound `sov_ibc::context::IbcContext<'_, S>: ibc_core::client::context::ClientExecutionContext` is not satisfied
--> mocks/src/sovereign/manual.rs:60:25
|
60 | .initialise(&mut ibc_ctx, &client_id, consensus_state.into())
| ---------- ^^^^^^^^^^^^ the trait `ibc_core::client::context::ClientExecutionContext` is not implemented for `sov_ibc::context::IbcContext<'_, S>`
| |
| required by a bound introduced by this call
|
= help: the trait `ibc_core::client::context::ClientExecutionContext` is implemented for `ibc_testkit::testapp::ibc::core::types::MockContext`
note: required by a bound in `ibc_core::client::context::client_state::ClientStateExecution::initialise`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-core/ics02-client/context/src/client_state.rs:151:8
|
151 | E: ClientExecutionContext,
| ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ClientStateExecution::initialise`
...
157 | fn initialise(
| ---------- required by a bound in this associated function
|
no method named `host_height` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/sovereign/manual.rs#L53
error[E0599]: no method named `host_height` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/sovereign/manual.rs:53:38
|
53 | let current_height = ibc_ctx.host_height().unwrap();
| ^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
4 + use ibc_client_tendermint::context::ValidationContext;
|
4 + use ibc_client_tendermint::context::ValidationContext;
|
4 + use ibc_core::host::ValidationContext;
|
4 + use ibc_core_host::context::ValidationContext;
|
and 2 other candidates
|
no method named `client_counter` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/sovereign/manual.rs#L49
error[E0599]: no method named `client_counter` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/sovereign/manual.rs:49:38
|
49 | let client_counter = ibc_ctx.client_counter().unwrap();
| ^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:51:8
|
51 | fn client_counter(&self) -> Result<u64, ContextError>;
| -------------- the method is available for `sov_ibc::context::IbcContext<'_, S>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ValidationContext;
|
|
no method named `latest_height` found for enum `sov_ibc::clients::AnyClientState` in the current scope:
mocks/src/relayer/msgs/rollup.rs#L87
error[E0599]: no method named `latest_height` found for enum `sov_ibc::clients::AnyClientState` in the current scope
--> mocks/src/relayer/msgs/rollup.rs:87:30
|
87 | client_state.latest_height(),
| ^^^^^^^^^^^^^ method not found in `AnyClientState`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
2 + use ibc_core_client_context::client_state::ClientStateCommon;
|
|
no method named `store_next_sequence_ack` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/sovereign/manual.rs#L206
error[E0599]: no method named `store_next_sequence_ack` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/sovereign/manual.rs:206:14
|
205 | / ibc_ctx
206 | | .store_next_sequence_ack(&seq_ack_path, seq_number)
| | -^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:228:8
|
228 | fn store_next_sequence_ack(
| ----------------------- the method is available for `sov_ibc::context::IbcContext<'_, S>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `store_next_sequence_recv` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/sovereign/manual.rs#L182
error[E0599]: no method named `store_next_sequence_recv` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/sovereign/manual.rs:182:14
|
181 | / ibc_ctx
182 | | .store_next_sequence_recv(&seq_recv_path, seq_number)
| | -^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:221:8
|
221 | fn store_next_sequence_recv(
| ------------------------ the method is available for `sov_ibc::context::IbcContext<'_, S>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `store_next_sequence_send` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/sovereign/manual.rs#L158
error[E0599]: no method named `store_next_sequence_send` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/sovereign/manual.rs:158:14
|
157 | / ibc_ctx
158 | | .store_next_sequence_send(&seq_send_path, seq_number)
| | -^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
| |_____________|
|
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
4 + use ibc_core::channel::context::SendPacketExecutionContext;
|
4 + use ibc_core::host::ExecutionContext;
|
4 + use ibc_core_channel::context::SendPacketExecutionContext;
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `store_channel` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/sovereign/manual.rs#L132
error[E0599]: no method named `store_channel` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/sovereign/manual.rs:132:14
|
131 | / ibc_ctx
132 | | .store_channel(&channel_end_path, channel_end)
| | -^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:207:8
|
207 | fn store_channel(
| ------------- the method is available for `sov_ibc::context::IbcContext<'_, S>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `store_connection` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/sovereign/manual.rs#L98
error[E0599]: no method named `store_connection` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/sovereign/manual.rs:98:14
|
97 | / ibc_ctx
98 | | .store_connection(&connection_path, connection_end)
| | -^^^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
| |_____________|
|
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:158:8
|
158 | fn store_connection(
| ---------------- the method is available for `sov_ibc::context::IbcContext<'_, S>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
no method named `increase_client_counter` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/sovereign/manual.rs#L63
error[E0599]: no method named `increase_client_counter` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/sovereign/manual.rs:63:17
|
63 | ibc_ctx.increase_client_counter().unwrap();
| ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:155:8
|
155 | fn increase_client_counter(&mut self) -> Result<(), ContextError>;
| ----------------------- the method is available for `sov_ibc::context::IbcContext<'_, S>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ExecutionContext;
|
|
the trait bound `sov_ibc::context::IbcContext<'_, S>: ibc_client_tendermint::context::ValidationContext` is not satisfied:
mocks/src/sovereign/manual.rs#L60
error[E0277]: the trait bound `sov_ibc::context::IbcContext<'_, S>: ibc_client_tendermint::context::ValidationContext` is not satisfied
--> mocks/src/sovereign/manual.rs:60:25
|
60 | .initialise(&mut ibc_ctx, &client_id, consensus_state.into())
| ---------- ^^^^^^^^^^^^ the trait `ibc_client_tendermint::context::ValidationContext` is not implemented for `sov_ibc::context::IbcContext<'_, S>`, which is required by `ibc_client_tendermint::client_state::ClientState: ibc_core::client::context::client_state::ClientStateValidation<_>`
| |
| required by a bound introduced by this call
|
help: trait impl with same name found
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/modules/sov-ibc/src/clients/context.rs:149:1
|
149 | impl<'a, S: Spec> TmValidationContext for IbcContext<'a, S> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_client_tendermint` are being used?
= help: the trait `ibc_client_tendermint::context::ValidationContext` is implemented for `ibc_testkit::testapp::ibc::core::types::MockContext`
= note: required for `ibc_client_tendermint::client_state::ClientState` to implement `ibc_core::client::context::client_state::ClientStateValidation<sov_ibc::context::IbcContext<'_, S>>`
note: required by a bound in `ibc_core::client::context::client_state::ClientStateExecution::initialise`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-core/ics02-client/context/src/client_state.rs:149:36
|
149 | pub trait ClientStateExecution<E>: ClientStateValidation<E>
| ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ClientStateExecution::initialise`
...
157 | fn initialise(
| ---------- required by a bound in this associated function
|
the trait bound `sov_ibc::context::IbcContext<'_, S>: ibc_core::client::context::ClientExecutionContext` is not satisfied:
mocks/src/sovereign/manual.rs#L60
error[E0277]: the trait bound `sov_ibc::context::IbcContext<'_, S>: ibc_core::client::context::ClientExecutionContext` is not satisfied
--> mocks/src/sovereign/manual.rs:60:25
|
60 | .initialise(&mut ibc_ctx, &client_id, consensus_state.into())
| ---------- ^^^^^^^^^^^^ the trait `ibc_core::client::context::ClientExecutionContext` is not implemented for `sov_ibc::context::IbcContext<'_, S>`
| |
| required by a bound introduced by this call
|
= help: the trait `ibc_core::client::context::ClientExecutionContext` is implemented for `ibc_testkit::testapp::ibc::core::types::MockContext`
note: required by a bound in `ibc_core::client::context::client_state::ClientStateExecution::initialise`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-core/ics02-client/context/src/client_state.rs:151:8
|
151 | E: ClientExecutionContext,
| ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ClientStateExecution::initialise`
...
157 | fn initialise(
| ---------- required by a bound in this associated function
|
no method named `host_height` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/sovereign/manual.rs#L53
error[E0599]: no method named `host_height` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/sovereign/manual.rs:53:38
|
53 | let current_height = ibc_ctx.host_height().unwrap();
| ^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
|
= help: items from traits can only be used if the trait is in scope
help: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
|
4 + use ibc_client_tendermint::context::ValidationContext;
|
4 + use ibc_client_tendermint::context::ValidationContext;
|
4 + use ibc_core::host::ValidationContext;
|
4 + use ibc_core_host::context::ValidationContext;
|
and 2 other candidates
|
no method named `client_counter` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/sovereign/manual.rs#L49
error[E0599]: no method named `client_counter` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/sovereign/manual.rs:49:38
|
49 | let client_counter = ibc_ctx.client_counter().unwrap();
| ^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:51:8
|
51 | fn client_counter(&self) -> Result<u64, ContextError>;
| -------------- the method is available for `sov_ibc::context::IbcContext<'_, S>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
4 + use ibc_core_host::context::ValidationContext;
|
|
no method named `latest_height` found for enum `basecoin::modules::ibc::AnyClientState` in the current scope:
mocks/src/relayer/msgs/cosmos.rs#L85
error[E0599]: no method named `latest_height` found for enum `basecoin::modules::ibc::AnyClientState` in the current scope
--> mocks/src/relayer/msgs/cosmos.rs:85:30
|
85 | client_state.latest_height(),
| ^^^^^^^^^^^^^ method not found in `AnyClientState`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
3 + use ibc_core_client_context::client_state::ClientStateCommon;
|
|
no method named `latest_height` found for enum `sov_ibc::clients::AnyClientState` in the current scope:
mocks/src/relayer/msgs/rollup.rs#L87
error[E0599]: no method named `latest_height` found for enum `sov_ibc::clients::AnyClientState` in the current scope
--> mocks/src/relayer/msgs/rollup.rs:87:30
|
87 | client_state.latest_height(),
| ^^^^^^^^^^^^^ method not found in `AnyClientState`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
2 + use ibc_core_client_context::client_state::ClientStateCommon;
|
|
arguments to this function are incorrect:
mocks/src/relayer/msgs/cosmos.rs#L46
error[E0308]: arguments to this function are incorrect
--> mocks/src/relayer/msgs/cosmos.rs:46:32
|
46 | let sov_client_state = dummy_sov_client_state(chain_id, current_height);
| ^^^^^^^^^^^^^^^^^^^^^^ -------- -------------- expected `Height`, found `ibc_core::client::types::Height`
| |
| expected `ChainId`, found a different `ChainId`
|
= note: `ChainId` and `ChainId` have similar names, but are actually distinct types
note: `ChainId` is defined in crate `ibc_core_host_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-core/ics24-host/types/src/identifiers/chain_id.rs:33:1
|
33 | pub struct ChainId {
| ^^^^^^^^^^^^^^^^^^
note: `ChainId` is defined in crate `ibc_core_host_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/types/src/identifiers/chain_id.rs:33:1
|
33 | pub struct ChainId {
| ^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_core_host_types` are being used?
= note: `ibc_core::client::types::Height` and `Height` have similar names, but are actually distinct types
note: `ibc_core::client::types::Height` is defined in crate `ibc_core_client_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-core/ics02-client/types/src/height.rs:32:1
|
32 | pub struct Height {
| ^^^^^^^^^^^^^^^^^
note: `Height` is defined in crate `ibc_core_client_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics02-client/types/src/height.rs:32:1
|
32 | pub struct Height {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_core_client_types` are being used?
note: function defined here
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/clients/sov-celestia/types/src/client_state/mod.rs:106:12
|
106 | pub fn dummy_sov_client_state(rollup_id: ChainId, latest_height: Height) -> SovTmClientState {
| ^^^^^^^^^^^^^^^^^^^^^^
|
no method named `latest_height` found for enum `basecoin::modules::ibc::AnyClientState` in the current scope:
mocks/src/relayer/msgs/cosmos.rs#L85
error[E0599]: no method named `latest_height` found for enum `basecoin::modules::ibc::AnyClientState` in the current scope
--> mocks/src/relayer/msgs/cosmos.rs:85:30
|
85 | client_state.latest_height(),
| ^^^^^^^^^^^^^ method not found in `AnyClientState`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
3 + use ibc_core_client_context::client_state::ClientStateCommon;
|
|
arguments to this function are incorrect:
mocks/src/relayer/msgs/cosmos.rs#L46
error[E0308]: arguments to this function are incorrect
--> mocks/src/relayer/msgs/cosmos.rs:46:32
|
46 | let sov_client_state = dummy_sov_client_state(chain_id, current_height);
| ^^^^^^^^^^^^^^^^^^^^^^ -------- -------------- expected `Height`, found `ibc_core::client::types::Height`
| |
| expected `ChainId`, found a different `ChainId`
|
= note: `ChainId` and `ChainId` have similar names, but are actually distinct types
note: `ChainId` is defined in crate `ibc_core_host_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-core/ics24-host/types/src/identifiers/chain_id.rs:33:1
|
33 | pub struct ChainId {
| ^^^^^^^^^^^^^^^^^^
note: `ChainId` is defined in crate `ibc_core_host_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/types/src/identifiers/chain_id.rs:33:1
|
33 | pub struct ChainId {
| ^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_core_host_types` are being used?
= note: `ibc_core::client::types::Height` and `Height` have similar names, but are actually distinct types
note: `ibc_core::client::types::Height` is defined in crate `ibc_core_client_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-core/ics02-client/types/src/height.rs:32:1
|
32 | pub struct Height {
| ^^^^^^^^^^^^^^^^^
note: `Height` is defined in crate `ibc_core_client_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics02-client/types/src/height.rs:32:1
|
32 | pub struct Height {
| ^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_core_client_types` are being used?
note: function defined here
--> /home/runner/.cargo/git/checkouts/sovereign-ibc-fc27e1daa4791a41/98487cf/clients/sov-celestia/types/src/client_state/mod.rs:106:12
|
106 | pub fn dummy_sov_client_state(rollup_id: ChainId, latest_height: Height) -> SovTmClientState {
| ^^^^^^^^^^^^^^^^^^^^^^
|
mismatched types:
mocks/src/relayer/builder.rs#L164
error[E0308]: mismatched types
--> mocks/src/relayer/builder.rs:164:13
|
161 | MockRelayer::new(
| ---------------- arguments to this function are incorrect
...
164 | sov_client_id,
| ^^^^^^^^^^^^^ expected `ClientId`, found a different `ClientId`
|
= note: `ClientId` and `ClientId` have similar names, but are actually distinct types
note: `ClientId` is defined in crate `ibc_core_host_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/types/src/identifiers/client_id.rs:24:1
|
24 | pub struct ClientId(String);
| ^^^^^^^^^^^^^^^^^^^
note: `ClientId` is defined in crate `ibc_core_host_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-core/ics24-host/types/src/identifiers/client_id.rs:24:1
|
24 | pub struct ClientId(String);
| ^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_core_host_types` are being used?
note: associated function defined here
--> mocks/src/relayer/relay.rs:28:12
|
28 | pub fn new(
| ^^^
...
31 | src_client_id: ClientId,
| -----------------------
|
mismatched types:
mocks/src/relayer/builder.rs#L164
error[E0308]: mismatched types
--> mocks/src/relayer/builder.rs:164:13
|
161 | MockRelayer::new(
| ---------------- arguments to this function are incorrect
...
164 | sov_client_id,
| ^^^^^^^^^^^^^ expected `ClientId`, found a different `ClientId`
|
= note: `ClientId` and `ClientId` have similar names, but are actually distinct types
note: `ClientId` is defined in crate `ibc_core_host_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/types/src/identifiers/client_id.rs:24:1
|
24 | pub struct ClientId(String);
| ^^^^^^^^^^^^^^^^^^^
note: `ClientId` is defined in crate `ibc_core_host_types`
--> /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d4c3655/ibc-core/ics24-host/types/src/identifiers/client_id.rs:24:1
|
24 | pub struct ClientId(String);
| ^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `ibc_core_host_types` are being used?
note: associated function defined here
--> mocks/src/relayer/relay.rs:28:12
|
28 | pub fn new(
| ^^^
...
31 | src_client_id: ClientId,
| -----------------------
|
no method named `commitment_prefix` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/relayer/builder.rs#L140
error[E0599]: no method named `commitment_prefix` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/relayer/builder.rs:140:50
|
140 | rollup.ibc_ctx(&mut working_set).commitment_prefix(),
| ^^^^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `commitment_prefix` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/builder.rs#L134
error[E0599]: no method named `commitment_prefix` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/builder.rs:134:70
|
134 | .setup_connection(cos_client_id, cos_chain.ibc_ctx().commitment_prefix())
| ^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<_>>`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `commitment_prefix` found for struct `sov_ibc::context::IbcContext` in the current scope:
mocks/src/relayer/builder.rs#L140
error[E0599]: no method named `commitment_prefix` found for struct `sov_ibc::context::IbcContext` in the current scope
--> mocks/src/relayer/builder.rs:140:50
|
140 | rollup.ibc_ctx(&mut working_set).commitment_prefix(),
| ^^^^^^^^^^^^^^^^^ method not found in `IbcContext<'_, S>`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/builder.rs#L125
error[E0599]: no method named `client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/builder.rs:125:54
|
125 | let cos_client_counter = cos_chain.ibc_ctx().client_counter().unwrap();
| ^^^^^^^^^^^^^^ private field, not a method
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:51:8
|
51 | fn client_counter(&self) -> Result<u64, ContextError>;
| -------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<_>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `commitment_prefix` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/builder.rs#L134
error[E0599]: no method named `commitment_prefix` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/builder.rs:134:70
|
134 | .setup_connection(cos_client_id, cos_chain.ibc_ctx().commitment_prefix())
| ^^^^^^^^^^^^^^^^^ method not found in `IbcContext<RevertibleStore<_>>`
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_host::context::ValidationContext;
|
|
no method named `client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope:
mocks/src/relayer/builder.rs#L125
error[E0599]: no method named `client_counter` found for struct `basecoin::modules::ibc::IbcContext` in the current scope
--> mocks/src/relayer/builder.rs:125:54
|
125 | let cos_client_counter = cos_chain.ibc_ctx().client_counter().unwrap();
| ^^^^^^^^^^^^^^ private field, not a method
|
::: /home/runner/.cargo/git/checkouts/ibc-rs-54b257bb4e0c6ae7/d6cbee7/ibc-core/ics24-host/src/context.rs:51:8
|
51 | fn client_counter(&self) -> Result<u64, ContextError>;
| -------------- the method is available for `basecoin::modules::ibc::IbcContext<basecoin::store::impls::RevertibleStore<_>>` here
|
= help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
|
1 + use ibc_core_host::context::ValidationContext;
|
|
unused import: `ibc_core::host::ValidationContext`:
mocks/src/relayer/handle/cosmos.rs#L10
warning: unused import: `ibc_core::host::ValidationContext`
--> mocks/src/relayer/handle/cosmos.rs:10:5
|
10 | use ibc_core::host::ValidationContext;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ibc_core::client::context::ClientValidationContext`:
mocks/src/relayer/handle/cosmos.rs#L7
warning: unused import: `ibc_core::client::context::ClientValidationContext`
--> mocks/src/relayer/handle/cosmos.rs:7:5
|
7 | use ibc_core::client::context::ClientValidationContext;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ExecutionContext`:
mocks/src/cosmos/manual.rs#L23
warning: unused import: `ExecutionContext`
--> mocks/src/cosmos/manual.rs:23:22
|
23 | use ibc_core::host::{ExecutionContext, ValidationContext};
| ^^^^^^^^^^^^^^^^
|
unused import: `ibc_core::client::context::client_state::ClientStateExecution`:
mocks/src/cosmos/manual.rs#L11
warning: unused import: `ibc_core::client::context::client_state::ClientStateExecution`
--> mocks/src/cosmos/manual.rs:11:5
|
11 | use ibc_core::client::context::client_state::ClientStateExecution;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ValidationContext`:
mocks/src/cosmos/manual.rs#L23
warning: unused import: `ValidationContext`
--> mocks/src/cosmos/manual.rs:23:40
|
23 | use ibc_core::host::{ExecutionContext, ValidationContext};
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused import: `ExecutionContext`:
mocks/src/sovereign/manual.rs#L21
warning: unused import: `ExecutionContext`
--> mocks/src/sovereign/manual.rs:21:22
|
21 | use ibc_core::host::{ExecutionContext, ValidationContext};
| ^^^^^^^^^^^^^^^^
|
unused import: `ValidationContext`:
mocks/src/sovereign/manual.rs#L21
warning: unused import: `ValidationContext`
--> mocks/src/sovereign/manual.rs:21:40
|
21 | use ibc_core::host::{ExecutionContext, ValidationContext};
| ^^^^^^^^^^^^^^^^^
|
unused import: `ibc_core::client::context::client_state::ClientStateCommon`:
mocks/src/relayer/msgs/rollup.rs#L12
warning: unused import: `ibc_core::client::context::client_state::ClientStateCommon`
--> mocks/src/relayer/msgs/rollup.rs:12:5
|
12 | use ibc_core::client::context::client_state::ClientStateCommon;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ibc_core::client::context::client_state::ClientStateCommon`:
mocks/src/tests/client.rs#L7
warning: unused import: `ibc_core::client::context::client_state::ClientStateCommon`
--> mocks/src/tests/client.rs:7:5
|
7 | use ibc_core::client::context::client_state::ClientStateCommon;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ibc_core::client::context::client_state::ClientStateCommon`:
mocks/src/relayer/msgs/cosmos.rs#L14
warning: unused import: `ibc_core::client::context::client_state::ClientStateCommon`
--> mocks/src/relayer/msgs/cosmos.rs:14:5
|
14 | use ibc_core::client::context::client_state::ClientStateCommon;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ibc_core::client::context::ClientValidationContext`:
mocks/src/relayer/handle/rollup.rs#L2
warning: unused import: `ibc_core::client::context::ClientValidationContext`
--> mocks/src/relayer/handle/rollup.rs:2:5
|
2 | use ibc_core::client::context::ClientValidationContext;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ibc_core::host::ValidationContext`:
mocks/src/relayer/handle/rollup.rs#L6
warning: unused import: `ibc_core::host::ValidationContext`
--> mocks/src/relayer/handle/rollup.rs:6:5
|
6 | use ibc_core::host::ValidationContext;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ibc_core::client::context::ClientValidationContext`:
mocks/src/relayer/handle/cosmos.rs#L7
warning: unused import: `ibc_core::client::context::ClientValidationContext`
--> mocks/src/relayer/handle/cosmos.rs:7:5
|
7 | use ibc_core::client::context::ClientValidationContext;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ibc_core::host::ValidationContext`:
mocks/src/relayer/handle/cosmos.rs#L10
warning: unused import: `ibc_core::host::ValidationContext`
--> mocks/src/relayer/handle/cosmos.rs:10:5
|
10 | use ibc_core::host::ValidationContext;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ibc_core::host::ValidationContext`:
mocks/src/relayer/builder.rs#L3
warning: unused import: `ibc_core::host::ValidationContext`
--> mocks/src/relayer/builder.rs:3:5
|
3 | use ibc_core::host::ValidationContext;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ibc_core::client::context::client_state::ClientStateCommon`:
mocks/src/tests/transfer.rs#L4
warning: unused import: `ibc_core::client::context::client_state::ClientStateCommon`
--> mocks/src/tests/transfer.rs:4:5
|
4 | use ibc_core::client::context::client_state::ClientStateCommon;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ExecutionContext`:
mocks/src/cosmos/manual.rs#L23
warning: unused import: `ExecutionContext`
--> mocks/src/cosmos/manual.rs:23:22
|
23 | use ibc_core::host::{ExecutionContext, ValidationContext};
| ^^^^^^^^^^^^^^^^
|
unused import: `ibc_core::client::context::client_state::ClientStateExecution`:
mocks/src/cosmos/manual.rs#L11
warning: unused import: `ibc_core::client::context::client_state::ClientStateExecution`
--> mocks/src/cosmos/manual.rs:11:5
|
11 | use ibc_core::client::context::client_state::ClientStateExecution;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ValidationContext`:
mocks/src/cosmos/manual.rs#L23
warning: unused import: `ValidationContext`
--> mocks/src/cosmos/manual.rs:23:40
|
23 | use ibc_core::host::{ExecutionContext, ValidationContext};
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused import: `ExecutionContext`:
mocks/src/sovereign/manual.rs#L21
warning: unused import: `ExecutionContext`
--> mocks/src/sovereign/manual.rs:21:22
|
21 | use ibc_core::host::{ExecutionContext, ValidationContext};
| ^^^^^^^^^^^^^^^^
|
unused import: `ValidationContext`:
mocks/src/sovereign/manual.rs#L21
warning: unused import: `ValidationContext`
--> mocks/src/sovereign/manual.rs:21:40
|
21 | use ibc_core::host::{ExecutionContext, ValidationContext};
| ^^^^^^^^^^^^^^^^^
|
unused import: `ibc_core::client::context::client_state::ClientStateCommon`:
mocks/src/relayer/msgs/rollup.rs#L12
warning: unused import: `ibc_core::client::context::client_state::ClientStateCommon`
--> mocks/src/relayer/msgs/rollup.rs:12:5
|
12 | use ibc_core::client::context::client_state::ClientStateCommon;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ibc_core::client::context::client_state::ClientStateCommon`:
mocks/src/relayer/msgs/cosmos.rs#L14
warning: unused import: `ibc_core::client::context::client_state::ClientStateCommon`
--> mocks/src/relayer/msgs/cosmos.rs:14:5
|
14 | use ibc_core::client::context::client_state::ClientStateCommon;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ibc_core::client::context::ClientValidationContext`:
mocks/src/relayer/handle/rollup.rs#L2
warning: unused import: `ibc_core::client::context::ClientValidationContext`
--> mocks/src/relayer/handle/rollup.rs:2:5
|
2 | use ibc_core::client::context::ClientValidationContext;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ibc_core::host::ValidationContext`:
mocks/src/relayer/handle/rollup.rs#L6
warning: unused import: `ibc_core::host::ValidationContext`
--> mocks/src/relayer/handle/rollup.rs:6:5
|
6 | use ibc_core::host::ValidationContext;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ibc_core::client::context::ClientValidationContext`:
mocks/src/relayer/handle/cosmos.rs#L7
warning: unused import: `ibc_core::client::context::ClientValidationContext`
--> mocks/src/relayer/handle/cosmos.rs:7:5
|
7 | use ibc_core::client::context::ClientValidationContext;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ibc_core::host::ValidationContext`:
mocks/src/relayer/handle/cosmos.rs#L10
warning: unused import: `ibc_core::host::ValidationContext`
--> mocks/src/relayer/handle/cosmos.rs:10:5
|
10 | use ibc_core::host::ValidationContext;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ibc_core::host::ValidationContext`:
mocks/src/relayer/builder.rs#L3
warning: unused import: `ibc_core::host::ValidationContext`
--> mocks/src/relayer/builder.rs:3:5
|
3 | use ibc_core::host::ValidationContext;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ExecutionContext`:
mocks/src/cosmos/manual.rs#L23
warning: unused import: `ExecutionContext`
--> mocks/src/cosmos/manual.rs:23:22
|
23 | use ibc_core::host::{ExecutionContext, ValidationContext};
| ^^^^^^^^^^^^^^^^
|
unused import: `ibc_core::client::context::client_state::ClientStateExecution`:
mocks/src/cosmos/manual.rs#L11
warning: unused import: `ibc_core::client::context::client_state::ClientStateExecution`
--> mocks/src/cosmos/manual.rs:11:5
|
11 | use ibc_core::client::context::client_state::ClientStateExecution;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `ValidationContext`:
mocks/src/cosmos/manual.rs#L23
warning: unused import: `ValidationContext`
--> mocks/src/cosmos/manual.rs:23:40
|
23 | use ibc_core::host::{ExecutionContext, ValidationContext};
| ^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|