diff --git a/Cargo.lock b/Cargo.lock index 7dfbb93..b496112 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -245,6 +245,15 @@ dependencies = [ "crossbeam-channel", ] +[[package]] +name = "ckb-channel" +version = "0.105.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2fe8c40d484829fa167aec82fc8303cf1c79b78ba287b8b1eec0f63029652b1a" +dependencies = [ + "crossbeam-channel", +] + [[package]] name = "ckb-error" version = "0.101.8" @@ -269,6 +278,18 @@ dependencies = [ "thiserror", ] +[[package]] +name = "ckb-error" +version = "0.105.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7bc3b8ee851e82c3fce70db7147aca1b97c5ecb3f43133eedff8b4852fb9ded1" +dependencies = [ + "anyhow", + "ckb-occupied-capacity 0.105.0", + "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.105.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d55a92814a1e84f06aa4c35a44dd40e04866cf898d91e1c9ced3f771f048575" +dependencies = [ + "ckb-fixed-hash-core 0.105.0", + "ckb-fixed-hash-macros 0.105.0", +] + [[package]] name = "ckb-fixed-hash-core" version = "0.101.8" @@ -311,6 +342,17 @@ dependencies = [ "thiserror", ] +[[package]] +name = "ckb-fixed-hash-core" +version = "0.105.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f82d68b2ce7484aa17e47c6068ca0d19b09b6b470a9ae8b8bc9bf6063783e59" +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.105.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "337d501a3c5d8b95044317a8315429161a962d6d6312f4b3a13d0c4d99e59727" +dependencies = [ + "ckb-fixed-hash-core 0.105.0", + "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.105.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "66f7537f6536695b285dc179410ebc612a2003828093122294345fc3153464ba" +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.105.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06dcff0cbee8a105abbd9d018a5218ea502ecfb571d32090787644a424b521fe" +dependencies = [ + "ckb-occupied-capacity-core 0.105.0", + "ckb-occupied-capacity-macros 0.105.0", +] + [[package]] name = "ckb-occupied-capacity-core" version = "0.101.8" @@ -419,6 +502,15 @@ dependencies = [ "serde", ] +[[package]] +name = "ckb-occupied-capacity-core" +version = "0.105.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e64d5710aa5de399338d3f2a25bf1a8eab1cad5e8398af0bb5dcd6293a3925df" +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.105.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69acf60622cb515e1f28813a0828b462150f99e3be497d46e37934cec968f09c" +dependencies = [ + "ckb-occupied-capacity-core 0.105.0", + "quote", + "syn", +] + [[package]] name = "ckb-rational" version = "0.101.8" @@ -461,6 +564,16 @@ dependencies = [ "serde", ] +[[package]] +name = "ckb-rational" +version = "0.105.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a2b57963d37c9ec47cf6b2c047ffe239f1ba419c8dae9cf5a8773d5cbb25c25" +dependencies = [ + "numext-fixed-uint", + "serde", +] + [[package]] name = "ckb-rocksdb" version = "0.18.3" @@ -515,6 +628,28 @@ dependencies = [ "once_cell", ] +[[package]] +name = "ckb-types" +version = "0.105.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b69eebfed51abab5d35de898a8bd9051e5336d271f1679d935fb1fc0fb4dc84" +dependencies = [ + "bit-vec", + "bytes", + "ckb-channel 0.105.0", + "ckb-error 0.105.0", + "ckb-fixed-hash 0.105.0", + "ckb-hash 0.105.0", + "ckb-merkle-mountain-range", + "ckb-occupied-capacity 0.105.0", + "ckb-rational 0.105.0", + "derive_more", + "merkle-cbt", + "molecule", + "numext-fixed-uint", + "once_cell", +] + [[package]] name = "clang-sys" version = "1.3.1" @@ -549,7 +684,7 @@ dependencies = [ "chrono", "ckb-jsonrpc-types", "ckb-rocksdb", - "ckb-types 0.104.0", + "ckb-types 0.105.0", "cota-smt", "crc", "diesel", diff --git a/Cargo.toml b/Cargo.toml index 0c9ac33..fbf7863 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.105.0" ckb-jsonrpc-types = ">=0.104.0" parking_lot = "0.12.1" reqwest = { version = "0.11", features = ["json"] }