mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 04:11:07 +00:00
Update substrate crates (#709)
* Patch all substrate deps to use my substrate branch * default-features = false causing issus in test-runtime * Use substrate polkadot release branch * Use default-features for sp-runtime again :( * Restore default-features for subxt-cli/sp-core * Fix module error integration test * Add Send + Sync bounds to ExtrinsicEvents::iter() * Elide lifetime * Revert adding Send + Sync * Add Sync bound to Rpc::ClientError * Remove version in subxt-metadata * Use released crates * Use released sp-keyring * Fix sp-keyring deps * Remove unnecessary sp-keyring default-features = false
This commit is contained in:
@@ -22,9 +22,9 @@ futures = "0.3.13"
|
||||
hex = "0.4.3"
|
||||
regex = "1.5.0"
|
||||
scale-info = { version = "2.0.0", features = ["bit-vec"] }
|
||||
sp-core = { version = "6.0.0", default-features = false }
|
||||
sp-keyring = "6.0.0"
|
||||
sp-runtime = "6.0.0"
|
||||
sp-core = { version = "7.0.0", default-features = false }
|
||||
sp-keyring = "7.0.0"
|
||||
sp-runtime = "7.0.0"
|
||||
syn = "1.0.0"
|
||||
subxt = { version = "0.24.0", path = "../../subxt" }
|
||||
subxt-codegen = { version = "0.24.0", path = "../../codegen" }
|
||||
|
||||
@@ -203,7 +203,7 @@ async fn dry_run_fails() {
|
||||
|
||||
if let Err(sp_runtime::DispatchError::Module(module_error)) = dry_run_res {
|
||||
assert_eq!(module_error.index, 6);
|
||||
assert_eq!(module_error.error, 2);
|
||||
assert_eq!(module_error.error, [2, 0, 0, 0]);
|
||||
} else {
|
||||
panic!("expected a module error when dryrunning");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user