Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: sc client drives rt upgrade activation & config migration fix #4109

Merged
merged 16 commits into from
Oct 18, 2023
Merged
996 changes: 655 additions & 341 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions api/lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ impl StateChainApi {
&state_chain_settings.signing_key_file,
AccountRole::None,
false,
None,
false,
)
.await?;

Expand Down
2 changes: 2 additions & 0 deletions api/lib/src/queries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ impl QueryApi {
&state_chain_settings.signing_key_file,
AccountRole::None,
false,
None,
false,
)
.await?;

Expand Down
2 changes: 1 addition & 1 deletion engine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ secp256k1 = "0.27"
serde = { version = "1.0", features = ["derive", "rc"] }
serde_json = "1.0"
sha2 = "0.10"
subxt = "0.31.0"
subxt = { version = "0.31.0", features = ["substrate-compat"] }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It allows us to import sp_core through subxt, which ensures that we can use subxt's Pair to sign the extrinsic. (Our own sp_core is not at the same version...)

thiserror = "1.0.26"
tokio = { version = "1.22", features = ["full", "test-util"] }
tokio-stream = { version = "0.1.5", features = ["sync"] }
Expand Down
Loading