Skip to content

Commit

Permalink
fix: Unfortunately, native-simulator feature is a must in all script …
Browse files Browse the repository at this point in the history
…templates, ouch
  • Loading branch information
xxuejie committed Jan 21, 2025
1 parent a03319f commit ea20b1a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions atomics-contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ log = { version = "0.4.20", default-features = false }

[build-dependencies]
cc = "1.0"

[features]
native-simulator = ["ckb-std/native-simulator"]
3 changes: 3 additions & 0 deletions stack-reorder-contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ ckb-std = "0.16.3"

[build-dependencies]
cc = "1.0"

[features]
native-simulator = ["ckb-std/native-simulator"]
3 changes: 3 additions & 0 deletions standalone-contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ ckb-std = "0.16.3"
[dev-dependencies]
ckb-testtool = "0.14.0"
serde_json = "1.0"

[features]
native-simulator = ["ckb-std/native-simulator"]

0 comments on commit ea20b1a

Please sign in to comment.