diff --git a/Cargo.lock b/Cargo.lock index 75ceaab..8e6668c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -245,6 +245,15 @@ dependencies = [ "crossbeam-channel", ] +[[package]] +name = "ckb-channel" +version = "0.110.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d0949a80267a74619af574950251b3313c850e16568ad13ada115fb1c99d775" +dependencies = [ + "crossbeam-channel", +] + [[package]] name = "ckb-error" version = "0.101.8" @@ -269,6 +278,18 @@ dependencies = [ "thiserror", ] +[[package]] +name = "ckb-error" +version = "0.110.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d627d52ba60a88534a6e0d3af759f18bc82341895fbfad6dffaa4373278c93cd" +dependencies = [ + "anyhow", + "ckb-occupied-capacity 0.110.1", + "derive_more", + "thiserror", +] + [[package]] name = "ckb-fixed-hash" version = "0.101.8" @@ -289,6 +310,16 @@ dependencies = [ "ckb-fixed-hash-macros 0.104.0", ] +[[package]] +name = "ckb-fixed-hash" +version = "0.110.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f5072b9497962b0d0f64d2894081aee85f84a72e0dbda4bb6511a5fc50256e92" +dependencies = [ + "ckb-fixed-hash-core 0.110.1", + "ckb-fixed-hash-macros 0.110.1", +] + [[package]] name = "ckb-fixed-hash-core" version = "0.101.8" @@ -311,6 +342,17 @@ dependencies = [ "thiserror", ] +[[package]] +name = "ckb-fixed-hash-core" +version = "0.110.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa3b9a17c00132cfa9d414d091a8ec7c3fd7b711056140b9771d3429192e1a37" +dependencies = [ + "faster-hex", + "serde", + "thiserror", +] + [[package]] name = "ckb-fixed-hash-macros" version = "0.101.8" @@ -335,6 +377,18 @@ dependencies = [ "syn", ] +[[package]] +name = "ckb-fixed-hash-macros" +version = "0.110.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0152fab35135f64a05ec83b36320e2d36f168e99b4b7e132e3b46a3b35d2b131" +dependencies = [ + "ckb-fixed-hash-core 0.110.1", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "ckb-hash" version = "0.101.8" @@ -355,6 +409,16 @@ dependencies = [ "blake2b-rs 0.2.0", ] +[[package]] +name = "ckb-hash" +version = "0.110.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39bc0c99665a84a4134fc43045e92691709d1935318c6dcba7142ba17d521732" +dependencies = [ + "blake2b-ref 0.2.1", + "blake2b-rs 0.2.0", +] + [[package]] name = "ckb-jsonrpc-types" version = "0.104.0" @@ -381,6 +445,15 @@ dependencies = [ "rust-ini", ] +[[package]] +name = "ckb-merkle-mountain-range" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "56ccb671c5921be8a84686e6212ca184cb1d7c51cadcdbfcbd1cc3f042f5dfb8" +dependencies = [ + "cfg-if 1.0.0", +] + [[package]] name = "ckb-occupied-capacity" version = "0.101.8" @@ -401,6 +474,16 @@ dependencies = [ "ckb-occupied-capacity-macros 0.104.0", ] +[[package]] +name = "ckb-occupied-capacity" +version = "0.110.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7548e17a13650ffb86ea1de2ab7d45eb69293d71a10bbb4da716e5cb577e4c8d" +dependencies = [ + "ckb-occupied-capacity-core 0.110.1", + "ckb-occupied-capacity-macros 0.110.1", +] + [[package]] name = "ckb-occupied-capacity-core" version = "0.101.8" @@ -419,6 +502,15 @@ dependencies = [ "serde", ] +[[package]] +name = "ckb-occupied-capacity-core" +version = "0.110.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d69e5061b60a09cc6a228cacab093944e553d2a0353fbf48f3e091db1c074d0" +dependencies = [ + "serde", +] + [[package]] name = "ckb-occupied-capacity-macros" version = "0.101.8" @@ -441,6 +533,17 @@ dependencies = [ "syn", ] +[[package]] +name = "ckb-occupied-capacity-macros" +version = "0.110.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26ef78f6d9e96c3d472b4a4b405d18f6ab5473c74c9fda5f9f547bb88dbeb80a" +dependencies = [ + "ckb-occupied-capacity-core 0.110.1", + "quote", + "syn", +] + [[package]] name = "ckb-rational" version = "0.101.8" @@ -461,6 +564,16 @@ dependencies = [ "serde", ] +[[package]] +name = "ckb-rational" +version = "0.110.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "883e1dd209110a7861f1523a475bba164ebd9b6b6d7c45fee7830a45901b11f4" +dependencies = [ + "numext-fixed-uint", + "serde", +] + [[package]] name = "ckb-rocksdb" version = "0.18.3" @@ -515,6 +628,29 @@ dependencies = [ "once_cell", ] +[[package]] +name = "ckb-types" +version = "0.110.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0db6894a5e8b06331a4bdc9c9c2b0fab9257bb3cf9abaa70771539a6551e6413" +dependencies = [ + "bit-vec", + "bytes", + "ckb-channel 0.110.1", + "ckb-error 0.110.1", + "ckb-fixed-hash 0.110.1", + "ckb-hash 0.110.1", + "ckb-merkle-mountain-range", + "ckb-occupied-capacity 0.110.1", + "ckb-rational 0.110.1", + "derive_more", + "golomb-coded-set", + "merkle-cbt", + "molecule", + "numext-fixed-uint", + "once_cell", +] + [[package]] name = "clang-sys" version = "1.3.1" @@ -549,7 +685,7 @@ dependencies = [ "chrono", "ckb-jsonrpc-types", "ckb-rocksdb", - "ckb-types 0.104.0", + "ckb-types 0.110.1", "cota-smt", "crc", "diesel", @@ -897,6 +1033,15 @@ dependencies = [ "regex", ] +[[package]] +name = "golomb-coded-set" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c7076c0cd6257d84b785b0f22c36443dd47a5e86a1256d7ef82c8cb88ea9a7e" +dependencies = [ + "siphasher", +] + [[package]] name = "h2" version = "0.3.12" @@ -1839,6 +1984,12 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" +[[package]] +name = "siphasher" +version = "0.3.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" + [[package]] name = "slab" version = "0.4.5" diff --git a/Cargo.toml b/Cargo.toml index 49f313b..d537e27 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ dotenv = "0.15.0" molecule = "0.7.2" serde = { version = "1.0", features = [ "derive" ] } sparse-merkle-tree = "0.5.3" -ckb-types = "=0.104.0" +ckb-types = "=0.110.1" ckb-jsonrpc-types = ">=0.104.0" parking_lot = "0.12.1" reqwest = { version = "0.11", features = ["json"] }