Skip to content

Commit

Permalink
Merge branch 'main' into polkadot-v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
b-yap authored Jul 24, 2024
2 parents 08da9d6 + a70480c commit 255845c
Show file tree
Hide file tree
Showing 61 changed files with 202 additions and 176 deletions.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
rustflags = ["--cfg", "tokio_unstable"]
72 changes: 36 additions & 36 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions clients/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,13 @@ due to the converted destination account not having trustlines set up for the re
The destination account is derived automatically from the account that called the extrinsic on-chain.

### Debugging with `tokio-console`
The vault is `tokio-console` ready, with the feature **_`allow-debugger`_**. _Remember to [set the rustflags](https://github.com/tokio-rs/console?tab=readme-ov-file#instrumenting-your-program)!_
The vault is `tokio-console` ready, with the feature **_`allow-debugger`_**.

> **Note**: [Rustflags are required](https://github.com/tokio-rs/console?tab=readme-ov-file#instrumenting-your-program) to make `tokio-console` work.
It has been defined directly in [.cargo/config.toml](../.cargo/config.toml).

```
RUSTFLAGS="--cfg tokio_unstable" cargo run --bin vault --features allow-debugger
cargo run --bin vault --features allow-debugger
```
[Install tokio-console](https://github.com/tokio-rs/console?tab=readme-ov-file#running-the-console)
and connect to the vault.
Expand Down
2 changes: 1 addition & 1 deletion clients/runner/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "runner"
version = "1.0.9"
version = "1.0.10"
edition = "2021"


Expand Down
2 changes: 1 addition & 1 deletion clients/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["Pendulum"]
edition = "2018"
name = "runtime"
version = "1.0.9"
version = "1.0.10"

[features]
default = []
Expand Down
2 changes: 1 addition & 1 deletion clients/runtime/client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "subxt-client"
version = "1.0.9"
version = "1.0.10"
authors = []
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion clients/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["Pendulum"]
edition = "2018"
name = "service"
version = "1.0.9"
version = "1.0.10"

[dependencies]
async-trait = "0.1.40"
Expand Down
8 changes: 0 additions & 8 deletions clients/service/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,3 @@ where
{
tokio::spawn(run_cancelable(shutdown_rx, future));
}

pub async fn on_shutdown(shutdown_tx: ShutdownSender, future2: impl Future) {
let mut shutdown_rx = shutdown_tx.subscribe();
let future1 = shutdown_rx.recv().fuse();

let _ = future1.await;
future2.await;
}
2 changes: 1 addition & 1 deletion clients/stellar-relay-lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stellar-relay-lib"
version = "1.0.9"
version = "1.0.10"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
Loading

0 comments on commit 255845c

Please sign in to comment.