Skip to content

Commit fdb94ea

Browse files
authored
fix: Add reluctant workaround to bug in ckb-std's native simulator support
1 parent a03319f commit fdb94ea

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

stack-reorder-contract/Cargo.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ name = "{{project-name}}"
33
version = "0.1.0"
44
edition = "2021"
55

6+
[features]
7+
# The script template here, as well as all the other templates does not really need
8+
# `native-simulator` feature. Unfortunately, the careless change in ckb-std make this necessary:
9+
# https://github.com/nervosnetwork/ckb-std/pull/121
10+
# We do hope that the incident in ckb-std gets fixed soon, so we can get rid of this
11+
# line in template code.
12+
native-simulator = []
13+
614
[dependencies]
715
ckb-std = "0.16.3"
816

0 commit comments

Comments
 (0)