Add support for generating metadata from runtime wasm files (#1720)

closes #1660
This commit is contained in:
Pavlo Khrystenko authored and GitHub committed 2024-09-02 11:07:50 +02:00
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;
}