Skip to content

Commit ea20b1a

Browse files
committed
fix: Unfortunately, native-simulator feature is a must in all script templates, ouch
1 parent a03319f commit ea20b1a

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

atomics-contract/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ log = { version = "0.4.20", default-features = false }
99

1010
[build-dependencies]
1111
cc = "1.0"
12+
13+
[features]
14+
native-simulator = ["ckb-std/native-simulator"]

stack-reorder-contract/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ ckb-std = "0.16.3"
88

99
[build-dependencies]
1010
cc = "1.0"
11+
12+
[features]
13+
native-simulator = ["ckb-std/native-simulator"]

standalone-contract/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ ckb-std = "0.16.3"
99
[dev-dependencies]
1010
ckb-testtool = "0.14.0"
1111
serde_json = "1.0"
12+
13+
[features]
14+
native-simulator = ["ckb-std/native-simulator"]

0 commit comments

Comments
 (0)