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
When upgrading Subxt via cargo update the Relayer fails to compile.
error[E0599]: no method named `wait_for_in_block` found forstruct `TxProgress`in the current scope
--> xcmp_relayer/src/main.rs:103:20
|
103 | match tx_progress.wait_for_in_block().await {
| ^^^^^^^^^^^^^^^^^ method not found in`TxProgress<PolkadotConfig, OnlineClient<PolkadotConfig>>`
error[E0599]: no method named `wait_for_in_block` found forstruct `TxProgress`in the current scope
--> xcmp_relayer/src/main.rs:136:20
|
136 | match tx_progress.wait_for_in_block().await {
| ^^^^^^^^^^^^^^^^^ method not found in`TxProgress<PolkadotConfig, OnlineClient<PolkadotConfig>>`
warning: unused variable: `block`
--> xcmp_relayer/src/main.rs:277:6
|
277 |let block = client.subxt_client.blocks().at_latest().await?;
| ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`|
= note: `#[warn(unused_variables)]` on by default
error: future cannot be sent between threads safely
--> xcmp_relayer/src/main.rs:169:14
|
169 | task::spawn(async move {
| _________________^
170 ||let mut blocks_sub = client.subxt_client.blocks().subscribe_best().await?;
171 ||
172 ||whilelet Some(block) = blocks_sub.next().await {
... |
181 ||Ok::<(), anyhow::Error>(())
182 || });||_____^ future created by async block is not `Send`
The text was updated successfully, but these errors were encountered:
When upgrading
Subxt
via cargo update the Relayer fails to compile.The text was updated successfully, but these errors were encountered: