Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
9de05d8
fix: remove metadata hash from testnet
chungquantin Aug 15, 2024
3e9d856
fix: remove metadata hash extension
chungquantin Aug 15, 2024
620a857
chore: upgrade to 1.10.0 (#182)
chungquantin Aug 15, 2024
b88473e
Merge branch 'developer' into chungquantin/chore-polkadot-v1.11.0
chungquantin Aug 16, 2024
d222eb6
refactor: simplify wasm build script
chungquantin Aug 16, 2024
fb24dc5
Merge branch 'chungquantin/chore-polkadot-v1.11.0' into chungquantin/…
chungquantin Aug 16, 2024
2170af7
chore: upgrade to 1.11.0 (#189)
chungquantin Aug 16, 2024
90b6ca8
Merge branch 'developer' into chungquantin/chore-polkadot-v1.12.0
chungquantin Aug 16, 2024
564c6d5
fix: remove frame metadata hash extension
chungquantin Aug 16, 2024
3ef3849
fix: remove metadata hash from testnet
chungquantin Aug 16, 2024
b8c4dcd
Merge branch 'chungquantin/chore-polkadot-v1.12.0' into chungquantin/…
chungquantin Aug 16, 2024
3607a5d
feat: simplify wasm build script
chungquantin Aug 16, 2024
8eeadec
chore: upgrade to 1.12.0 (#193)
chungquantin Aug 16, 2024
c64188e
fix: update build metadata has parameters
chungquantin Aug 17, 2024
975b611
Merge branch 'developer' into chungquantin/chore-polkadot-v1.13.0
chungquantin Aug 17, 2024
cf227b7
Merge branch 'chungquantin/chore-polkadot-v1.13.0' into chungquantin/…
chungquantin Aug 17, 2024
d7a9bea
chore: upgrade to 1.13.0 (#194)
chungquantin Aug 17, 2024
22302b5
fix: add missing signed extra
chungquantin Aug 17, 2024
c5f142c
Merge branch 'developer' into chungquantin/chore-polkadot-v1.14.0
chungquantin Aug 17, 2024
fa141fe
fix: add missing std feature for metdata hash
chungquantin Aug 19, 2024
eda1d5b
fix: default-std position
chungquantin Aug 19, 2024
c675e0e
Merge branch 'chungquantin/chore-polkadot-v1.14.0' into chungquantin/…
chungquantin Aug 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions runtime/devnet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ std = [
"cumulus-primitives-utility/std",
"frame-benchmarking/std",
"frame-executive/std",
"frame-metadata-hash-extension/std",
"frame-support/std",
"frame-system-benchmarking/std",
"frame-system-rpc-runtime-api/std",
Expand Down Expand Up @@ -225,8 +226,6 @@ try-runtime = [
"sp-runtime/try-runtime",
]

experimental = []

# Enable the metadata hash generation.
#
# This is hidden behind a feature because it increases the compile time.
Expand All @@ -238,4 +237,4 @@ metadata-hash = ["substrate-wasm-builder/metadata-hash"]

# A convenience feature for enabling things when doing a build
# for an on-chain release.
on-chain-release-build = ["metadata-hash"]
on-chain-release-build = ["metadata-hash"]
13 changes: 3 additions & 10 deletions runtime/devnet/build.rs
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
#[cfg(all(feature = "std", feature = "metadata-hash"))]
fn main() {
substrate_wasm_builder::WasmBuilder::new()
.with_current_project()
.export_heap_base()
.import_memory()
.enable_metadata_hash("UNIT", 12)
substrate_wasm_builder::WasmBuilder::init_with_defaults()
.enable_metadata_hash("PAS", 10)
.build()
}

#[cfg(all(feature = "std", not(feature = "metadata-hash")))]
fn main() {
substrate_wasm_builder::WasmBuilder::new()
.with_current_project()
.export_heap_base()
.import_memory()
.build()
substrate_wasm_builder::WasmBuilder::build_using_defaults()
}

/// The wasm builder is deactivated when compiling
Expand Down
3 changes: 2 additions & 1 deletion runtime/testnet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ runtime-benchmarks = [
"cumulus-primitives-core/runtime-benchmarks",
"cumulus-primitives-utility/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-metadata-hash-extension/std",
"frame-support/runtime-benchmarks",
"frame-system-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks",
Expand Down Expand Up @@ -235,4 +236,4 @@ metadata-hash = ["substrate-wasm-builder/metadata-hash"]

# A convenience feature for enabling things when doing a build
# for an on-chain release.
on-chain-release-build = ["metadata-hash"]
on-chain-release-build = ["metadata-hash"]
13 changes: 3 additions & 10 deletions runtime/testnet/build.rs
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
#[cfg(all(feature = "std", feature = "metadata-hash"))]
fn main() {
substrate_wasm_builder::WasmBuilder::new()
.with_current_project()
.export_heap_base()
.import_memory()
.enable_metadata_hash("UNIT", 12)
substrate_wasm_builder::WasmBuilder::init_with_defaults()
.enable_metadata_hash("PAS", 10)
.build()
}

#[cfg(all(feature = "std", not(feature = "metadata-hash")))]
fn main() {
substrate_wasm_builder::WasmBuilder::new()
.with_current_project()
.export_heap_base()
.import_memory()
.build()
substrate_wasm_builder::WasmBuilder::build_using_defaults()
}

/// The wasm builder is deactivated when compiling
Expand Down