mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-29 15:09:49 +00:00
Validate absolute path for substitute_type (#577)
* Remove commented code Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * Ensure substitue path is global absolute Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * Absolute path for build.rs Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io> * Add ui test that fails to compile Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
This commit is contained in:
1 parent
c07b9e4be8
commit
a9129863bd
5 files changed
+47
-2
No files matched your search
@@ -108,7 +108,7 @@ async fn run() {
|
||||
)]
|
||||
pub mod node_runtime {{
|
||||
#[subxt(substitute_type = "sp_arithmetic::per_things::Perbill")]
|
||||
use sp_runtime::Perbill;
|
||||
use ::sp_runtime::Perbill;
|
||||
}}
|
||||
"#,
|
||||
metadata_path
|
||||
|
||||
Reference in new issue
Block a user