mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 11:41:04 +00:00
Update trybuild to the latest version (#785)
* Update to trybuild version 1.0.76 Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * tests: Adjust testing to the new trybuild location Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#[subxt::subxt(runtime_metadata_path = "../../../artifacts/polkadot_metadata.scale")]
|
||||
#[subxt::subxt(runtime_metadata_path = "../../../../artifacts/polkadot_metadata.scale")]
|
||||
pub mod node_runtime {
|
||||
pub struct SomeStruct;
|
||||
pub enum SomeEnum {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#[subxt::subxt(runtime_metadata_path = "../../../artifacts/polkadot_metadata.scale")]
|
||||
#[subxt::subxt(runtime_metadata_path = "../../../../artifacts/polkadot_metadata.scale")]
|
||||
pub mod node_runtime {
|
||||
#[subxt::subxt(substitute_type = "sp_arithmetic::per_things::Perbill")]
|
||||
use sp_runtime::Perbill;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#[subxt::subxt(
|
||||
runtime_metadata_path = "../../../artifacts/polkadot_metadata.scale",
|
||||
runtime_metadata_path = "../../../../artifacts/polkadot_metadata.scale",
|
||||
runtime_metadata_url = "wss://rpc.polkadot.io:443"
|
||||
)]
|
||||
pub mod node_runtime {}
|
||||
|
||||
@@ -2,7 +2,7 @@ error: Only one of 'runtime_metadata_path' or 'runtime_metadata_url' can be prov
|
||||
--> src/incorrect/url_and_path_provided.rs:1:1
|
||||
|
|
||||
1 | / #[subxt::subxt(
|
||||
2 | | runtime_metadata_path = "../../../artifacts/polkadot_metadata.scale",
|
||||
2 | | runtime_metadata_path = "../../../../artifacts/polkadot_metadata.scale",
|
||||
3 | | runtime_metadata_url = "wss://rpc.polkadot.io:443"
|
||||
4 | | )]
|
||||
| |__^
|
||||
|
||||
Reference in New Issue
Block a user