diff --git a/Cargo.lock b/Cargo.lock index 75ceaab..9546e09 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -245,6 +245,15 @@ dependencies = [ "crossbeam-channel", ] +[[package]] +name = "ckb-channel" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "920f26cc48cadcaf6f7bcc3960fde9f9f355633b6361da8ef31e1e1c00fc8858" +dependencies = [ + "crossbeam-channel", +] + [[package]] name = "ckb-error" version = "0.101.8" @@ -269,6 +278,18 @@ dependencies = [ "thiserror", ] +[[package]] +name = "ckb-error" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446a519d8a847d97f1c8ece739dc1748751a9a2179249c96c45cced0825a7aa5" +dependencies = [ + "anyhow", + "ckb-occupied-capacity 0.108.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.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00cbbc455b23748b32e06d16628a03e30d56ffa057f17093fdf5b42d4fb6c879" +dependencies = [ + "ckb-fixed-hash-core 0.108.0", + "ckb-fixed-hash-macros 0.108.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.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf4e644a4e026625b4be5a04cdf6c02043080e79feaf77d9cdbb2f0e6553f751" +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.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1cfc980ef88c217825172eb46df269f47890f5e78a38214416f13b3bd17a4b4" +dependencies = [ + "ckb-fixed-hash-core 0.108.0", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "ckb-hash" version = "0.101.8" @@ -355,13 +409,23 @@ dependencies = [ "blake2b-rs 0.2.0", ] +[[package]] +name = "ckb-hash" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53d9b683e89ae4ffdd5aaf4172eab00b6bbe7ea24e2abf77d3eb850ba36e8983" +dependencies = [ + "blake2b-ref 0.2.1", + "blake2b-rs 0.2.0", +] + [[package]] name = "ckb-jsonrpc-types" -version = "0.104.0" +version = "0.108.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "520d1cc13b7d5ea93a2b9a28362555410e6621e8141eb1289a0547e0c5ef6e46" +checksum = "ac087657eaf964e729f40b3c929d3dac74a2cd8bb38d5e588756e2495711f810" dependencies = [ - "ckb-types 0.104.0", + "ckb-types 0.108.0", "faster-hex", "serde", "serde_json", @@ -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.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2d2a1dd0d4ba5dafba1e30d437c1148b20f42edb76b6794323e05bda626754eb" +dependencies = [ + "ckb-occupied-capacity-core 0.108.0", + "ckb-occupied-capacity-macros 0.108.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.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ebba3d564098a84c83f4740e1dce48a5e2da759becdb47e3c7965f0808e6e92" +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.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6321bba85cdf9724029d8c906851dd4a90906869b42f9100b16645a1261d4c" +dependencies = [ + "ckb-occupied-capacity-core 0.108.0", + "quote", + "syn", +] + [[package]] name = "ckb-rational" version = "0.101.8" @@ -461,6 +564,16 @@ dependencies = [ "serde", ] +[[package]] +name = "ckb-rational" +version = "0.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2519249f8d47fa758d3fb3cf3049327c69ce0f2acd79d61427482c8661d3dbd" +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.108.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c22b3b1ca8f88a8f48e2f73321c0605281c9c6f1e1c4d651c6138265c22291e" +dependencies = [ + "bit-vec", + "bytes", + "ckb-channel 0.108.0", + "ckb-error 0.108.0", + "ckb-fixed-hash 0.108.0", + "ckb-hash 0.108.0", + "ckb-merkle-mountain-range", + "ckb-occupied-capacity 0.108.0", + "ckb-rational 0.108.0", + "derive_more", + "merkle-cbt", + "molecule", + "numext-fixed-uint", + "once_cell", +] + [[package]] name = "clang-sys" version = "1.3.1" diff --git a/Cargo.toml b/Cargo.toml index 49f313b..3abd615 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ molecule = "0.7.2" serde = { version = "1.0", features = [ "derive" ] } sparse-merkle-tree = "0.5.3" ckb-types = "=0.104.0" -ckb-jsonrpc-types = ">=0.104.0" +ckb-jsonrpc-types = ">=0.108.0" parking_lot = "0.12.1" reqwest = { version = "0.11", features = ["json"] } serde_json = "1.0"