From b51a3df5b67b10648557f0ea42882762b0d48599 Mon Sep 17 00:00:00 2001 From: xjd Date: Fri, 17 May 2024 09:42:58 +0800 Subject: [PATCH] chore: update ckb-testtool version Update changelog Update rust toolchain --- CHANGELOG.md | 6 +++++ Cargo.lock | 2 +- Cargo.toml | 3 ++- crates/tests/test-contract/Cargo.lock | 34 +++++++++++++++++------- rust-toolchain | 2 +- templates/rust/tests/Cargo-manifest.toml | 2 +- 6 files changed, 36 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 173e676..cfeb5f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com). +## [v0.10.5] - 2024-05-17 + +CKB Testtool(v0.12.0): + +* update dependencies + ## [v0.10.3] - 2024-01-4 Capsule: diff --git a/Cargo.lock b/Cargo.lock index dc99c37..90bf829 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -269,7 +269,7 @@ checksum = "8b3b72a38c9920a29990df12002c4d069a147c8782f0c211f8a01b2df8f42bfd" [[package]] name = "ckb-capsule" -version = "0.10.4" +version = "0.10.5" dependencies = [ "anyhow", "atty", diff --git a/Cargo.toml b/Cargo.toml index 0ad53a2..2c99899 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ckb-capsule" -version = "0.10.4" +version = "0.10.5" authors = ["Nervos Network"] edition = "2021" license = "MIT" @@ -49,3 +49,4 @@ members = [ "crates/tests", ] exclude = ["tmp", "tests/test-contract"] +resolver = "2" diff --git a/crates/tests/test-contract/Cargo.lock b/crates/tests/test-contract/Cargo.lock index b55385c..6d0f313 100644 --- a/crates/tests/test-contract/Cargo.lock +++ b/crates/tests/test-contract/Cargo.lock @@ -27,32 +27,48 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] -name = "ckb-standalone-types" -version = "0.1.3" +name = "ckb-gen-types" +version = "0.112.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acafe9a1a706e9704a3c37cdc05fddb84cf991fb0744df21e5a0d91e128163b8" +checksum = "4a12020d50dd3757cde0fdc88d3837b7a2ab503fe38bd11be86ddace11318c77" dependencies = [ - "blake2b-ref", "cfg-if", + "ckb-hash", "molecule", ] +[[package]] +name = "ckb-hash" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25af660fc8746f7c756444e6aa47ede9a874206563b6a1ce1b230a5b86519392" +dependencies = [ + "blake2b-ref", +] + [[package]] name = "ckb-std" -version = "0.14.0" +version = "0.15.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef02519ff65a2326e0ce8d3b4920c7dedac28f79eee4d7aef3ce64fccb556710" +checksum = "9357d9464ed36a8e542a7d588e894aff25ccb0cdd66221ac94e76bc69ca3ad55" dependencies = [ "buddy-alloc", "cc", - "ckb-standalone-types", + "ckb-gen-types", + "gcd", ] +[[package]] +name = "gcd" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d758ba1b47b00caf47f24925c0074ecb20d6dfcffe7f6d53395c0465674841a" + [[package]] name = "molecule" -version = "0.7.2" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be5f63176422224eadd975789462a96cedaf339cd1009ef92fbdfaad39d35f5f" +checksum = "d4fd9767ab5e5f2ea40f71ff4c8bdb633c50509052e093c2fdd0e390a749dfa3" dependencies = [ "cfg-if", ] diff --git a/rust-toolchain b/rust-toolchain index dc87e8a..7c7053a 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -1.74.0 +1.75.0 diff --git a/templates/rust/tests/Cargo-manifest.toml b/templates/rust/tests/Cargo-manifest.toml index 454447c..68a1f23 100644 --- a/templates/rust/tests/Cargo-manifest.toml +++ b/templates/rust/tests/Cargo-manifest.toml @@ -6,4 +6,4 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -ckb-testtool = "0.10" +ckb-testtool = "0.11"