From 71476fd7fa808e1a3ad7f8625378886ba7e9d647 Mon Sep 17 00:00:00 2001 From: jjy Date: Wed, 7 Feb 2024 16:58:32 +0800 Subject: [PATCH 1/2] chore: upgrade ckb dependencies to 0.112.1 --- Cargo.lock | 536 +++++++++++++++--- .../contracts/test-contract/Cargo.toml | 2 +- crates/testtool/Cargo.toml | 22 +- templates/rust/contract/Cargo-manifest.toml | 2 +- 4 files changed, 455 insertions(+), 107 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 784f4dc..32a41ab 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -235,18 +235,40 @@ version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dbd58081d4ac4f08d068b52c5a07f0b379d93aad0dfa8344c6890429a9b73c2b" dependencies = [ - "ckb-constant", - "ckb-crypto", - "ckb-dao-utils", - "ckb-error", - "ckb-hash", - "ckb-jsonrpc-types", - "ckb-pow", - "ckb-rational", - "ckb-resource", - "ckb-traits", - "ckb-types", - "ckb-util", + "ckb-constant 0.111.0", + "ckb-crypto 0.111.0", + "ckb-dao-utils 0.111.0", + "ckb-error 0.111.0", + "ckb-hash 0.111.0", + "ckb-jsonrpc-types 0.111.0", + "ckb-pow 0.111.0", + "ckb-rational 0.111.0", + "ckb-resource 0.111.0", + "ckb-traits 0.111.0", + "ckb-types 0.111.0", + "ckb-util 0.111.0", + "serde", + "toml", +] + +[[package]] +name = "ckb-chain-spec" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fa9b89cadf419c220fa8e1c655af73540bbc010e8c0e177127644848a25830c2" +dependencies = [ + "ckb-constant 0.112.1", + "ckb-crypto 0.112.1", + "ckb-dao-utils 0.112.1", + "ckb-error 0.112.1", + "ckb-hash 0.112.1", + "ckb-jsonrpc-types 0.112.1", + "ckb-pow 0.112.1", + "ckb-rational 0.112.1", + "ckb-resource 0.112.1", + "ckb-traits 0.112.1", + "ckb-types 0.112.1", + "ckb-util 0.112.1", "serde", "toml", ] @@ -260,19 +282,48 @@ dependencies = [ "crossbeam-channel", ] +[[package]] +name = "ckb-channel" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82c904fe3e29474e4d09e8e2775a472456242f8faf18edeeb8c71502710daa38" +dependencies = [ + "crossbeam-channel", +] + [[package]] name = "ckb-constant" version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d5c980d4724770f72a37bceffa26ea64dd914891e45e856e2a3792fdb4a5a18" +[[package]] +name = "ckb-constant" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7d562e7156216f00c5bf55c8f4c86bc25f9ec0603fcfa6df9b66747462a031a" + [[package]] name = "ckb-crypto" version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df80db694e42b64a5774ae551daff3c8310cd99bb528643dbe0dd409abb298e7" dependencies = [ - "ckb-fixed-hash", + "ckb-fixed-hash 0.111.0", + "faster-hex", + "lazy_static", + "rand 0.7.3", + "secp256k1", + "thiserror", +] + +[[package]] +name = "ckb-crypto" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "abac585cec6f1562e374d66b369c55a52357b33a632d30d2e45cbc455183b22d" +dependencies = [ + "ckb-fixed-hash 0.112.1", "faster-hex", "lazy_static", "rand 0.7.3", @@ -287,10 +338,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "76cb0dd4d284d6908595fa809668555ad36bc89538ea9440d11208090481c240" dependencies = [ "byteorder", - "ckb-chain-spec", - "ckb-dao-utils", - "ckb-traits", - "ckb-types", + "ckb-chain-spec 0.111.0", + "ckb-dao-utils 0.111.0", + "ckb-traits 0.111.0", + "ckb-types 0.111.0", +] + +[[package]] +name = "ckb-dao" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13c6b5b85ebe6e02bebcc1f1a4db28f1594e1a9e43e8922c05175459f798e844" +dependencies = [ + "byteorder", + "ckb-chain-spec 0.112.1", + "ckb-dao-utils 0.112.1", + "ckb-traits 0.112.1", + "ckb-types 0.112.1", ] [[package]] @@ -300,8 +364,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5e158ce5a4e9d1fcd08d9dee87332474572c629c6273cca0aea80ba24892a403" dependencies = [ "byteorder", - "ckb-error", - "ckb-types", + "ckb-error 0.111.0", + "ckb-types 0.111.0", +] + +[[package]] +name = "ckb-dao-utils" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff55485163b842c94061b755c9e6230d1a4bb092b6bc81d8387358911c750e70" +dependencies = [ + "byteorder", + "ckb-error 0.112.1", + "ckb-types 0.112.1", ] [[package]] @@ -311,7 +386,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34cfd733cabcb4262ee679c02733864b13c8fa879e3aabc078fe0ec727cd95d6" dependencies = [ "anyhow", - "ckb-occupied-capacity", + "ckb-occupied-capacity 0.111.0", + "derive_more", + "thiserror", +] + +[[package]] +name = "ckb-error" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8418901ea0d15a8e26255bec0b71be5c59056858f51968894796f77f7eefa3e" +dependencies = [ + "anyhow", + "ckb-occupied-capacity 0.112.1", "derive_more", "thiserror", ] @@ -322,8 +409,18 @@ version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b1dfab045fffa31cae9680d73e1f09833ca1abfb807dc4b9544739c94c23fd0" dependencies = [ - "ckb-fixed-hash-core", - "ckb-fixed-hash-macros", + "ckb-fixed-hash-core 0.111.0", + "ckb-fixed-hash-macros 0.111.0", +] + +[[package]] +name = "ckb-fixed-hash" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1254aafda84e9abc85301e9e4c5b920c00a9bff0d42248fccf921b340ec5f13e" +dependencies = [ + "ckb-fixed-hash-core 0.112.1", + "ckb-fixed-hash-macros 0.112.1", ] [[package]] @@ -337,13 +434,36 @@ dependencies = [ "thiserror", ] +[[package]] +name = "ckb-fixed-hash-core" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ffc2850ac8b5643c65913185020de747b290b447d1ee1fd59a2cfdf1a7ceb4f" +dependencies = [ + "faster-hex", + "serde", + "thiserror", +] + [[package]] name = "ckb-fixed-hash-macros" version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b5da34c32585c35715fcde4e3a1dd3b0346d7af43506c5e51c613f01483e4f9" dependencies = [ - "ckb-fixed-hash-core", + "ckb-fixed-hash-core 0.111.0", + "proc-macro2", + "quote", + "syn 1.0.99", +] + +[[package]] +name = "ckb-fixed-hash-macros" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baa5a19a7d18caa5a3a65e66506e28943e95696e286df44457a77692319de429" +dependencies = [ + "ckb-fixed-hash-core 0.112.1", "proc-macro2", "quote", "syn 1.0.99", @@ -356,10 +476,25 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a3bc54ca99b09e1eb5fc6c49bb1156644ce57fce9c6f52b5c13110b9a3143f7e" dependencies = [ "cfg-if 1.0.0", - "ckb-error", - "ckb-fixed-hash", - "ckb-hash", - "ckb-occupied-capacity", + "ckb-error 0.111.0", + "ckb-fixed-hash 0.111.0", + "ckb-hash 0.111.0", + "ckb-occupied-capacity 0.111.0", + "molecule", + "numext-fixed-uint", +] + +[[package]] +name = "ckb-gen-types" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4a12020d50dd3757cde0fdc88d3837b7a2ab503fe38bd11be86ddace11318c77" +dependencies = [ + "cfg-if 1.0.0", + "ckb-error 0.112.1", + "ckb-fixed-hash 0.112.1", + "ckb-hash 0.112.1", + "ckb-occupied-capacity 0.112.1", "molecule", "numext-fixed-uint", ] @@ -374,13 +509,35 @@ dependencies = [ "blake2b-rs", ] +[[package]] +name = "ckb-hash" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25af660fc8746f7c756444e6aa47ede9a874206563b6a1ce1b230a5b86519392" +dependencies = [ + "blake2b-ref", + "blake2b-rs", +] + [[package]] name = "ckb-jsonrpc-types" version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d789a71538da07871c11aecbd28d6c632bb426bdfeed5fc2fa1b455e31152468" dependencies = [ - "ckb-types", + "ckb-types 0.111.0", + "faster-hex", + "serde", + "serde_json", +] + +[[package]] +name = "ckb-jsonrpc-types" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06798b5bacd7fd4125a34f1c9ebf45be59d50aff0ada003bb8b1c6634a447c73" +dependencies = [ + "ckb-types 0.112.1", "faster-hex", "serde", "serde_json", @@ -395,6 +552,15 @@ dependencies = [ "log", ] +[[package]] +name = "ckb-logger" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c8d8de618d1dbc59ba9e6338a55d17f370f89aa009064dcbdd7eb0c8e8782fe" +dependencies = [ + "log", +] + [[package]] name = "ckb-merkle-mountain-range" version = "0.5.2" @@ -410,9 +576,21 @@ version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dcd5b156c36f03ad6053e174e26a874088c8e9098c3a2e80ec93dc9831ecfac3" dependencies = [ - "ckb-jsonrpc-types", - "ckb-traits", - "ckb-types", + "ckb-jsonrpc-types 0.111.0", + "ckb-traits 0.111.0", + "ckb-types 0.111.0", + "serde", +] + +[[package]] +name = "ckb-mock-tx-types" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "accabfa378c927109844630e4c90e0d7e7e6d6a9174c232f194f490b09e4b757" +dependencies = [ + "ckb-jsonrpc-types 0.112.1", + "ckb-traits 0.112.1", + "ckb-types 0.112.1", "serde", ] @@ -422,8 +600,18 @@ version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "358ad364465a5a359575642c12952ba8735a148382789d65ddd5231cd21899fc" dependencies = [ - "ckb-occupied-capacity-core", - "ckb-occupied-capacity-macros", + "ckb-occupied-capacity-core 0.111.0", + "ckb-occupied-capacity-macros 0.111.0", +] + +[[package]] +name = "ckb-occupied-capacity" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be7132362f12a0495b3b24218afb4e774f9dc0d9254173d2444ec4ac1447461e" +dependencies = [ + "ckb-occupied-capacity-core 0.112.1", + "ckb-occupied-capacity-macros 0.112.1", ] [[package]] @@ -435,13 +623,33 @@ dependencies = [ "serde", ] +[[package]] +name = "ckb-occupied-capacity-core" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4ebe8725d6ee4feb9d376e9a600b2c78cc1dbde5aa754c9a47de871ab917635" +dependencies = [ + "serde", +] + [[package]] name = "ckb-occupied-capacity-macros" version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b1709e0f101026c4ef29b1593692e480b03cdb4e0dace1e348494c6554d50d35" dependencies = [ - "ckb-occupied-capacity-core", + "ckb-occupied-capacity-core 0.111.0", + "quote", + "syn 1.0.99", +] + +[[package]] +name = "ckb-occupied-capacity-macros" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "201a21d35a377b76440ce12ca62b39e548d019a6330fbdcb40ac0f73fe976cb3" +dependencies = [ + "ckb-occupied-capacity-core 0.112.1", "quote", "syn 1.0.99", ] @@ -453,8 +661,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "481e76388993d7e6e0dd797e8532c60398901787e28d0638ca114254257b8813" dependencies = [ "byteorder", - "ckb-hash", - "ckb-types", + "ckb-hash 0.111.0", + "ckb-types 0.111.0", + "eaglesong", + "log", + "serde", +] + +[[package]] +name = "ckb-pow" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5895b4799fbb7e537ef0a778493b8f8678284c2bb20b476edce3f3375d1c4aa1" +dependencies = [ + "byteorder", + "ckb-hash 0.112.1", + "ckb-types 0.112.1", "eaglesong", "log", "serde", @@ -470,6 +692,16 @@ dependencies = [ "serde", ] +[[package]] +name = "ckb-rational" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5134dae6f59b1c10457d2a5def081865407e756dd42dd4c7aaf5d6c6bc92b6d1" +dependencies = [ + "numext-fixed-uint", + "serde", +] + [[package]] name = "ckb-resource" version = "0.111.0" @@ -477,7 +709,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "03222b0613cf3f55cb181471d7a84879b6fba5e920e2e1c7ba2c2315614bd387" dependencies = [ "ckb-system-scripts", - "ckb-types", + "ckb-types 0.111.0", + "includedir", + "includedir_codegen", + "phf 0.8.0", + "serde", + "walkdir", +] + +[[package]] +name = "ckb-resource" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a3c79b7c1586ca652d150b2cfdc5ec8594055659f04e30f832178a14313cfff4" +dependencies = [ + "ckb-system-scripts", + "ckb-types 0.112.1", "includedir", "includedir_codegen", "phf 0.8.0", @@ -492,12 +739,30 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8c9075ad901eae97925f491b6be675d7b19bf7b10eaa94a88f6e8070c0cd00ba" dependencies = [ "byteorder", - "ckb-chain-spec", - "ckb-error", - "ckb-hash", - "ckb-logger", - "ckb-traits", - "ckb-types", + "ckb-chain-spec 0.111.0", + "ckb-error 0.111.0", + "ckb-hash 0.111.0", + "ckb-logger 0.111.0", + "ckb-traits 0.111.0", + "ckb-types 0.111.0", + "ckb-vm", + "faster-hex", + "serde", +] + +[[package]] +name = "ckb-script" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "058cb8c72a706bfc95c9b90f7c0256abbc4f44e9c5cabcbf7d1d882df977e82b" +dependencies = [ + "byteorder", + "ckb-chain-spec 0.112.1", + "ckb-error 0.112.1", + "ckb-hash 0.112.1", + "ckb-logger 0.112.1", + "ckb-traits 0.112.1", + "ckb-types 0.112.1", "ckb-vm", "faster-hex", "serde", @@ -513,16 +778,16 @@ dependencies = [ "bech32", "bitflags", "bytes", - "ckb-chain-spec", - "ckb-crypto", - "ckb-dao-utils", - "ckb-hash", - "ckb-jsonrpc-types", - "ckb-mock-tx-types", - "ckb-resource", - "ckb-script", - "ckb-traits", - "ckb-types", + "ckb-chain-spec 0.111.0", + "ckb-crypto 0.111.0", + "ckb-dao-utils 0.111.0", + "ckb-hash 0.111.0", + "ckb-jsonrpc-types 0.111.0", + "ckb-mock-tx-types 0.111.0", + "ckb-resource 0.111.0", + "ckb-script 0.111.0", + "ckb-traits 0.111.0", + "ckb-types 0.111.0", "dashmap", "derive-getters", "dyn-clone", @@ -564,6 +829,12 @@ version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5c03dd01263a66eaf171fb1bbadd12d80a0b54abe19aa55a2c53c5ae3300cda" +[[package]] +name = "ckb-systemtime" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ace369d09f2a4d5d0e0b97359cf34e3282a5a90171f685e8bbab1aa21e80cd54" + [[package]] name = "ckb-testtool" version = "0.10.0" @@ -571,16 +842,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "61f7426eb44c6cfc703a68fb99c74b675a378fdca12df5af94683b27a60d377e" dependencies = [ "ckb-always-success-script", - "ckb-chain-spec", - "ckb-crypto", - "ckb-error", - "ckb-hash", - "ckb-jsonrpc-types", - "ckb-resource", - "ckb-script", - "ckb-traits", - "ckb-types", - "ckb-verification", + "ckb-chain-spec 0.111.0", + "ckb-crypto 0.111.0", + "ckb-error 0.111.0", + "ckb-hash 0.111.0", + "ckb-jsonrpc-types 0.111.0", + "ckb-resource 0.111.0", + "ckb-script 0.111.0", + "ckb-traits 0.111.0", + "ckb-types 0.111.0", + "ckb-verification 0.111.0", "lazy_static", "rand 0.8.5", ] @@ -590,17 +861,17 @@ name = "ckb-testtool" version = "0.10.1" dependencies = [ "ckb-always-success-script", - "ckb-chain-spec", - "ckb-crypto", - "ckb-error", - "ckb-hash", - "ckb-jsonrpc-types", - "ckb-mock-tx-types", - "ckb-resource", - "ckb-script", - "ckb-traits", - "ckb-types", - "ckb-verification", + "ckb-chain-spec 0.112.1", + "ckb-crypto 0.112.1", + "ckb-error 0.112.1", + "ckb-hash 0.112.1", + "ckb-jsonrpc-types 0.112.1", + "ckb-mock-tx-types 0.112.1", + "ckb-resource 0.112.1", + "ckb-script 0.112.1", + "ckb-traits 0.112.1", + "ckb-types 0.112.1", + "ckb-verification 0.112.1", "lazy_static", "rand 0.8.5", ] @@ -611,7 +882,16 @@ version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca049aba2cb2d1208c6044accb497b17290ad56de629f6a4b95eded67a43fd40" dependencies = [ - "ckb-types", + "ckb-types 0.111.0", +] + +[[package]] +name = "ckb-traits" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3396b8f328bc76bdfd9bc14ddd984a07d08120cd4e661ba1dc23fecb3a7607a3" +dependencies = [ + "ckb-types 0.112.1", ] [[package]] @@ -622,15 +902,41 @@ checksum = "b6ec737e4957418bbd0f4091e8565a89bbd8f6fc37a20360820e44d1f1e44e58" dependencies = [ "bit-vec", "bytes", - "ckb-channel", - "ckb-constant", - "ckb-error", - "ckb-fixed-hash", - "ckb-gen-types", - "ckb-hash", + "ckb-channel 0.111.0", + "ckb-constant 0.111.0", + "ckb-error 0.111.0", + "ckb-fixed-hash 0.111.0", + "ckb-gen-types 0.111.0", + "ckb-hash 0.111.0", + "ckb-merkle-mountain-range", + "ckb-occupied-capacity 0.111.0", + "ckb-rational 0.111.0", + "derive_more", + "golomb-coded-set", + "merkle-cbt", + "molecule", + "numext-fixed-uint", + "once_cell", + "paste", +] + +[[package]] +name = "ckb-types" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2df7c7410664bc917f1b663c574ec7c0e25711fe4f63eb0043c47c197afb0875" +dependencies = [ + "bit-vec", + "bytes", + "ckb-channel 0.112.1", + "ckb-constant 0.112.1", + "ckb-error 0.112.1", + "ckb-fixed-hash 0.112.1", + "ckb-gen-types 0.112.1", + "ckb-hash 0.112.1", "ckb-merkle-mountain-range", - "ckb-occupied-capacity", - "ckb-rational", + "ckb-occupied-capacity 0.112.1", + "ckb-rational 0.112.1", "derive_more", "golomb-coded-set", "merkle-cbt", @@ -652,22 +958,54 @@ dependencies = [ "regex", ] +[[package]] +name = "ckb-util" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e6326a9adcfe1f4afa14f1a0da267e5718873e28cc271a5e03fc57ff02ce233" +dependencies = [ + "linked-hash-map", + "once_cell", + "parking_lot", + "regex", +] + [[package]] name = "ckb-verification" version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fe3338bb8cf49c5a21de636eeb448deeba1e379491d34b67f2201fc77a08e215" dependencies = [ - "ckb-chain-spec", - "ckb-dao", - "ckb-dao-utils", - "ckb-error", - "ckb-pow", - "ckb-script", - "ckb-systemtime", - "ckb-traits", - "ckb-types", - "ckb-verification-traits", + "ckb-chain-spec 0.111.0", + "ckb-dao 0.111.0", + "ckb-dao-utils 0.111.0", + "ckb-error 0.111.0", + "ckb-pow 0.111.0", + "ckb-script 0.111.0", + "ckb-systemtime 0.111.0", + "ckb-traits 0.111.0", + "ckb-types 0.111.0", + "ckb-verification-traits 0.111.0", + "derive_more", + "lru", +] + +[[package]] +name = "ckb-verification" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56d157e70aea7d47af07b96415c952a7d97810572c659f8da2e9ecb6f98a1c7c" +dependencies = [ + "ckb-chain-spec 0.112.1", + "ckb-dao 0.112.1", + "ckb-dao-utils 0.112.1", + "ckb-error 0.112.1", + "ckb-pow 0.112.1", + "ckb-script 0.112.1", + "ckb-systemtime 0.112.1", + "ckb-traits 0.112.1", + "ckb-types 0.112.1", + "ckb-verification-traits 0.112.1", "derive_more", "lru", ] @@ -679,7 +1017,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba1bbfdeff1f930f26c60103b59442494dba83493254bb255f1ba318be2f27fe" dependencies = [ "bitflags", - "ckb-error", + "ckb-error 0.111.0", +] + +[[package]] +name = "ckb-verification-traits" +version = "0.112.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d43456c274b362c89a18388a95418f18adfebb3ab25950a09e267f00284e66fd" +dependencies = [ + "bitflags", + "ckb-error 0.112.1", ] [[package]] diff --git a/crates/tests/test-contract/contracts/test-contract/Cargo.toml b/crates/tests/test-contract/contracts/test-contract/Cargo.toml index d26bd80..a2e5378 100644 --- a/crates/tests/test-contract/contracts/test-contract/Cargo.toml +++ b/crates/tests/test-contract/contracts/test-contract/Cargo.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-std = "0.14.0" +ckb-std = "0.15.1" diff --git a/crates/testtool/Cargo.toml b/crates/testtool/Cargo.toml index 2201ac8..a2c448f 100644 --- a/crates/testtool/Cargo.toml +++ b/crates/testtool/Cargo.toml @@ -13,14 +13,14 @@ repository = "https://github.com/nervosnetwork/capsule" ckb-always-success-script = "0.0.1" rand = "0.8" lazy_static = "1.4" -ckb-chain-spec = "0.111.0" -ckb-types = "0.111.0" -ckb-error = "0.111.0" -ckb-script = "0.111.0" -ckb-hash = "0.111.0" -ckb-jsonrpc-types = "0.111.0" -ckb-crypto = "0.111.0" -ckb-resource = "0.111.0" -ckb-verification = "0.111.0" -ckb-traits = "0.111.0" -ckb-mock-tx-types = "0.111.0" +ckb-chain-spec = "0.112.1" +ckb-types = "0.112.1" +ckb-error = "0.112.1" +ckb-script = "0.112.1" +ckb-hash = "0.112.1" +ckb-jsonrpc-types = "0.112.1" +ckb-crypto = "0.112.1" +ckb-resource = "0.112.1" +ckb-verification = "0.112.1" +ckb-traits = "0.112.1" +ckb-mock-tx-types = "0.112.1" diff --git a/templates/rust/contract/Cargo-manifest.toml b/templates/rust/contract/Cargo-manifest.toml index 61b6af9..ff9db90 100644 --- a/templates/rust/contract/Cargo-manifest.toml +++ b/templates/rust/contract/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-std = "0.14.0" +ckb-std = "0.15.1" From e4d5daee9d737e1006cffd49204f74af6e6582bd Mon Sep 17 00:00:00 2001 From: jjy Date: Wed, 7 Feb 2024 17:00:14 +0800 Subject: [PATCH 2/2] chore: bump ckb-testtool version 0.10.2 --- crates/testtool/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/testtool/Cargo.toml b/crates/testtool/Cargo.toml index a2c448f..ade793b 100644 --- a/crates/testtool/Cargo.toml +++ b/crates/testtool/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ckb-testtool" -version = "0.10.1" +version = "0.10.2" authors = ["Nervos Network"] edition = "2021" license = "MIT"