Skip to content

Commit

Permalink
build: add runtime feature flags for testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
th7nder authored and jmg-duarte committed Jul 22, 2024
1 parent a7c7eed commit b317101
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ build: lint
release: lint
cargo build --release

testnet: release
release-testnet: lint
cargo build --release --features polka-storage-runtime/testnet

testnet: release-testnet
zombienet -p native spawn zombienet/local-testnet.toml

build-parachain-docker:
Expand Down
2 changes: 1 addition & 1 deletion runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ parachain-info = { workspace = true, default-features = false }
parachains-common = { workspace = true, default-features = false }

[features]
default = ["std", "testnet"]
default = ["std"]
std = [
"codec/std",
"cumulus-pallet-aura-ext/std",
Expand Down

0 comments on commit b317101

Please sign in to comment.