Skip to content

Update tendermint version to 0.23.6 #2045

Closed
@DaviRain-Su

Description

Summary of Bug

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

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

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate milestone (priority) applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

I: dependenciesInternal: related to dependencies

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions