You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0283]: type annotations needed
--> relayer/src/chain/cosmos.rs:306:39
|
306 | .block_on(self.rpc_client.genesis())
| ^^^^^^^ cannot infer type for type parameter `AppState` declared on the associated function `genesis`
|
= note: cannot satisfy `_: std::fmt::Debug`
note: required by a bound in `genesis`
--> /Users/davirain/.cargo/git/checkouts/tendermint-rs-7b2e4433a0119a31/543b989/rpc/src/client.rs:237:19
|
237 | AppState: fmt::Debug + Serialize + DeserializeOwned + Send,
| ^^^^^^^^^^ required by this bound in `genesis`
help: consider specifying the type arguments in the method call
|
306 | .block_on(self.rpc_client.genesis::<'life0, 'async_trait, AppState>())
| ++++++++++++++++++++++++++++++++++
help: consider specifying the type arguments in the function call
|
306 | .block_on(self.rpc_client.genesis::<'life0, 'async_trait, AppState>())
| ++++++++++++++++++++++++++++++++++
For more information about this error, try `rustc --explain E0283`.
error: could not compile `ibc-relayer` due to previous error
Summary of Bug
Version
use tendermint version 0.23.6
Steps to Reproduce
use this branch https://github.com/octopus-network/ibc-rs/tree/feature/ics20,
then,
cargo build
.For Admin Use
The text was updated successfully, but these errors were encountered: