Skip to content

Commit 1a1045c

Browse files
mudigalclaude
andcommitted
fix(sdk): propagate runtime-benchmarks and try-runtime to sp-runtime
Zepter requires that runtime-benchmarks and try-runtime features propagate to all dependencies that support them, including sp-runtime. Also adds unsigned-varint/std to std feature for completeness. Fixes: zepter run check --config .config/zepter.yaml Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
1 parent 5a67170 commit 1a1045c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sdk/rust/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ std = [
5959
"subxt",
6060
"thiserror",
6161
"tokio",
62+
"unsigned-varint/std"
6263
]
6364

6465
# Enable for ink! smart contract compatibility
@@ -72,11 +73,13 @@ serde-support = ["serde"]
7273
# Runtime benchmarking (no-op for SDK, but required for workspace consistency)
7374
runtime-benchmarks = [
7475
"pallet-transaction-storage/runtime-benchmarks",
76+
"sp-runtime/runtime-benchmarks"
7577
]
7678

7779
# Try-runtime support (no-op for SDK, but required for workspace consistency)
7880
try-runtime = [
7981
"pallet-transaction-storage/try-runtime",
82+
"sp-runtime/try-runtime"
8083
]
8184

8285
# Note: Examples and integration tests are not included in the repository because they

0 commit comments

Comments
 (0)