forked from r0gue-io/base-parachain
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade polkadot to v1.13.0 (#3)
- Loading branch information
1 parent
85d9781
commit 4207197
Showing
8 changed files
with
786 additions
and
742 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
#[cfg(feature = "std")] | ||
#[cfg(all(feature = "std", feature = "metadata-hash"))] | ||
#[docify::export(template_enable_metadata_hash)] | ||
fn main() { | ||
substrate_wasm_builder::WasmBuilder::init_with_defaults() | ||
.enable_metadata_hash("UNIT", 12) | ||
.build(); | ||
} | ||
|
||
#[cfg(all(feature = "std", not(feature = "metadata-hash")))] | ||
fn main() { | ||
substrate_wasm_builder::WasmBuilder::build_using_defaults(); | ||
} | ||
|
||
/// The wasm builder is deactivated when compiling | ||
/// this crate for wasm to speed up the compilation. | ||
#[cfg(not(feature = "std"))] | ||
fn main() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters