mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-19 00:56:08 +00:00
Add function for embedding the runtime version in a wasm blob (#9277)
* Add function for embedding the runtime version in a wasm blob This function can be used to add the custom section to a wasm blob with the runtime version in it. * Review nitpick
This commit is contained in:
1 parent
279ff4b6e6
commit
f781dcaf2c
6 files changed
+98
No files matched your search
@@ -35,6 +35,9 @@ pub use sp_std;
|
||||
#[cfg(feature = "std")]
|
||||
use sp_runtime::{traits::Block as BlockT, generic::BlockId};
|
||||
|
||||
#[cfg(feature = "std")]
|
||||
pub mod embed;
|
||||
|
||||
/// An attribute that accepts a version declaration of a runtime and generates a custom wasm section
|
||||
/// with the equivalent contents.
|
||||
///
|
||||
|
||||
Reference in new issue
Block a user