Skip to content

Commit 2ea0734

Browse files
committed
Update dependencies: ckb-std and ckb-testtool
1 parent 3215d67 commit 2ea0734

File tree

9 files changed

+12
-16
lines changed

9 files changed

+12
-16
lines changed

atomics-contract/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
ckb-std = "0.15.3"
7+
ckb-std = { version = "0.16.1", default-features = false, features = ["allocator", "calc-hash", "ckb-types", "libc"] }
88
log = { version = "0.4.20", default-features = false }
99

1010
[build-dependencies]

contract/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
ckb-std = "0.15.3"
7+
ckb-std = "0.16.1"
88

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

contract/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![cfg_attr(not(feature = "native-simulator"), no_std)]
1+
#![cfg_attr(not(any(feature = "native-simulator", test)), no_std)]
22
#![cfg_attr(not(test), no_main)]
33

44
#[cfg(any(feature = "native-simulator", test))]

native-simulator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77
[dependencies]
88
{{project-name | append: "@@SIMULATOR_PLACEHOLDER@@" | remove: "-sim@@SIMULATOR_PLACEHOLDER@@"}} = { path = "../../contracts/{{project-name | append: "@@SIMULATOR_PLACEHOLDER@@" | remove: "-sim@@SIMULATOR_PLACEHOLDER@@"}}", features = ["native-simulator"] }
9-
ckb-std = { version = "0.15.3", features = ["native-simulator"] }
9+
ckb-std = { version = "0.16.1", features = ["native-simulator"] }
1010

1111
[lib]
1212
crate-type = ["cdylib"]

stack-reorder-contract/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
ckb-std = "0.15.3"
7+
ckb-std = "0.16.1"
88

99
[build-dependencies]
1010
cc = "1.0"

standalone-contract/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
ckb-std = "0.15.3"
7+
ckb-std = "0.16.1"
88

99
[dev-dependencies]
10-
ckb-testtool = "0.13.0"
10+
ckb-testtool = "0.14.0"
1111
serde_json = "1.0"

workspace/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,3 @@ overflow-checks = true
1313
strip = false
1414
codegen-units = 1
1515
debug = true
16-
17-
# TODO: Will be deleted after release
18-
[replace]
19-
"ckb-std:0.15.3" = { git = "https://github.com/joii2020/ckb-std.git", rev = "d90a4f974a0c8561b6259424a173e22cc86e1ae5" }

workspace/tests/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ version = "0.1.0"
44
edition = "2021"
55

66
[features]
7-
simulator = [ "ckb-testtool/simulator" ]
7+
native-simulator = [ "ckb-testtool/native-simulator" ]
88

99
[dependencies]
10-
ckb-testtool = "0.13.0"
10+
ckb-testtool = "0.14.0"
1111
serde_json = "1.0"

x64-simulator-crate/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
ckb-std = "0.15.3"
7+
ckb-std = "0.16.1"
88

99
# Supporting native tests powered by ckb-x64-simulator
1010
[target.'cfg(all(target_arch = "x86_64", unix))'.dependencies.ckb-std]
11-
version = "0.15.3"
11+
version = "0.16.1"
1212
features = ["native-simulator"]
1313

1414
[target.'cfg(all(target_arch = "x86_64", unix))'.dev-dependencies]
15-
ckb-testtool = "0.13.0"
15+
ckb-testtool = "0.14.0"
1616
rusty-fork = "0.3.0"
1717
rand = "0.8.5"
1818
serde_json = "1.0"

0 commit comments

Comments
 (0)