mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-26 13:39:50 +00:00
Add support for generating metadata from runtime wasm files (#1720)
closes #1660
This commit is contained in:
1 parent
290bee3486
commit
3866737b29
14 files changed
+1075
-73
No files matched your search
@@ -0,0 +1,13 @@
|
||||
#[subxt::subxt(runtime_path = "../../../../artifacts/westend_runtime.wasm")]
|
||||
mod runtime {}
|
||||
|
||||
#[subxt::subxt(runtime_path = "../../../../artifacts/westend_runtime.compact.compressed.wasm")]
|
||||
mod runtime_compressed {}
|
||||
|
||||
fn main() {
|
||||
use runtime;
|
||||
use runtime_compressed;
|
||||
|
||||
let _ = runtime::system::events::CodeUpdated;
|
||||
let _ = runtime_compressed::system::events::CodeUpdated;
|
||||
}
|
||||
Reference in new issue
Block a user