diff --git a/Cargo.lock b/Cargo.lock index d95d93e8d..e15d5d25c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -386,12 +386,6 @@ dependencies = [ "wyz", ] -[[package]] -name = "blake2b-ref" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95916998c798756098a4eb1b3f2cd510659705a9817bf203d61abd30fbec3e7b" - [[package]] name = "blake2b-ref" version = "0.3.1" @@ -577,9 +571,9 @@ dependencies = [ [[package]] name = "ckb-chain-spec" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5581d1578e3a0bc6f48f7e932974367769f9a19aa16bc9f1161120597ad0d572" +checksum = "dbd58081d4ac4f08d068b52c5a07f0b379d93aad0dfa8344c6890429a9b73c2b" dependencies = [ "ckb-constant", "ckb-crypto", @@ -599,24 +593,24 @@ dependencies = [ [[package]] name = "ckb-channel" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "764d1ccbd8dcab0ab439d3024daa88f360730c9226a55af827696c933043ba5f" +checksum = "701e6829c3dcbae46dd2442de63d080046480a6c2bb4951dbf419ad092459402" dependencies = [ "crossbeam-channel", ] [[package]] name = "ckb-constant" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86674aaa6bafbf7b276c6b5daeb2831a78ab2f3581a5c06ecce1ea0f66c7187c" +checksum = "9d5c980d4724770f72a37bceffa26ea64dd914891e45e856e2a3792fdb4a5a18" [[package]] name = "ckb-crypto" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ad1f5f2cf38dcb74536079f6215ce858ebf383a1a48872e8792061c5b27dce8" +checksum = "df80db694e42b64a5774ae551daff3c8310cd99bb528643dbe0dd409abb298e7" dependencies = [ "ckb-fixed-hash", "faster-hex 0.6.1", @@ -628,9 +622,9 @@ dependencies = [ [[package]] name = "ckb-dao-utils" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "931a1d2894abae60530bd9eed81aca34045c7690a61c307491cbd696ab8239f1" +checksum = "5e158ce5a4e9d1fcd08d9dee87332474572c629c6273cca0aea80ba24892a403" dependencies = [ "byteorder", "ckb-error", @@ -639,9 +633,9 @@ dependencies = [ [[package]] name = "ckb-error" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d58be6e890d6b8c68b1a126b1476b228cb307ea2c39ec3cff7e68f7b27023e4" +checksum = "34cfd733cabcb4262ee679c02733864b13c8fa879e3aabc078fe0ec727cd95d6" dependencies = [ "anyhow", "ckb-occupied-capacity", @@ -651,9 +645,9 @@ dependencies = [ [[package]] name = "ckb-fixed-hash" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "999568008a3c4ade53fb034daae13b22b0b16229c48b87679ddf8c7a0c766743" +checksum = "3b1dfab045fffa31cae9680d73e1f09833ca1abfb807dc4b9544739c94c23fd0" dependencies = [ "ckb-fixed-hash-core", "ckb-fixed-hash-macros", @@ -661,9 +655,9 @@ dependencies = [ [[package]] name = "ckb-fixed-hash-core" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5035bf7533976ffb1e70984ed8048733d12ba32f41edd32916870dea7eaec0b5" +checksum = "bdd1727a6ecd4d0bcab604cb1ef707fe92e939fa6e9a438f9f25bf05208cb080" dependencies = [ "faster-hex 0.6.1", "serde", @@ -672,9 +666,9 @@ dependencies = [ [[package]] name = "ckb-fixed-hash-macros" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dff2f25b239190314a7cbb463db17365f29a89ecb6978d0237e850fec270f578" +checksum = "7b5da34c32585c35715fcde4e3a1dd3b0346d7af43506c5e51c613f01483e4f9" dependencies = [ "ckb-fixed-hash-core", "proc-macro2", @@ -682,21 +676,36 @@ dependencies = [ "syn 1.0.107", ] +[[package]] +name = "ckb-gen-types" +version = "0.111.0" +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", + "molecule", + "numext-fixed-uint", +] + [[package]] name = "ckb-hash" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6dc5566890c8e2a43f87c3ee093c20321fdb3fb3081e0bc394c647ef718e0a0b" +checksum = "8c88e5e2d6454be488fa5cf8b49175879353c6af969ff210dd6416f315b53120" dependencies = [ - "blake2b-ref 0.2.1", + "blake2b-ref", "blake2b-rs", ] [[package]] name = "ckb-jsonrpc-types" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e9b05336ec8f108c5a2a926c83d1a8b1bae24563ed8440ff3c8e94708f4f2c7" +checksum = "d789a71538da07871c11aecbd28d6c632bb426bdfeed5fc2fa1b455e31152468" dependencies = [ "ckb-types", "faster-hex 0.6.1", @@ -706,9 +715,9 @@ dependencies = [ [[package]] name = "ckb-logger" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fba08d0db98d1f636ecb93260af14a15365ec42e4db68f9940a82e9d42f4d984" +checksum = "939fa09ca3534248d3d452552546f016fc7e11346644fbc5b55d2ad38d3e80e7" dependencies = [ "log", ] @@ -724,9 +733,9 @@ dependencies = [ [[package]] name = "ckb-occupied-capacity" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00e960d041bb35dbc3dd382279d3b21787d543a5513184e2861249379c7fc8db" +checksum = "358ad364465a5a359575642c12952ba8735a148382789d65ddd5231cd21899fc" dependencies = [ "ckb-occupied-capacity-core", "ckb-occupied-capacity-macros", @@ -734,18 +743,18 @@ dependencies = [ [[package]] name = "ckb-occupied-capacity-core" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d7de6492bfb72f0e28342f765dd73c8d54a799bf7ffee0f15515c162b20edae" +checksum = "de2dc06db98f8a995cb7145bc56dbd17bb0c8ab2e59a07aaa40f2c956c2451dd" dependencies = [ "serde", ] [[package]] name = "ckb-occupied-capacity-macros" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37c84bf32eddc68ae9b70b2d13577eb107572e7dce6b42126798e865bca5587a" +checksum = "b1709e0f101026c4ef29b1593692e480b03cdb4e0dace1e348494c6554d50d35" dependencies = [ "ckb-occupied-capacity-core", "quote", @@ -754,9 +763,9 @@ dependencies = [ [[package]] name = "ckb-pow" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecb43c6f62b574eb6f7e59caae8d3061846a96e72713dd373ed56a2e21c7326e" +checksum = "481e76388993d7e6e0dd797e8532c60398901787e28d0638ca114254257b8813" dependencies = [ "byteorder", "ckb-hash", @@ -768,9 +777,9 @@ dependencies = [ [[package]] name = "ckb-rational" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "190a827525739bc45ffe7cd672802d0c67848c5c647ae66fa24cb4f3a09fb951" +checksum = "bd3959391a4fb05d6a2578aa8db75732ada1ce381fb34d6eeaf09d395702e63c" dependencies = [ "numext-fixed-uint", "serde", @@ -778,9 +787,9 @@ dependencies = [ [[package]] name = "ckb-resource" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a3c63fe7b27bc03c6eb08c11309f3d59de7620a1972f591e2f93989e3ef5806" +checksum = "03222b0613cf3f55cb181471d7a84879b6fba5e920e2e1c7ba2c2315614bd387" dependencies = [ "ckb-system-scripts", "ckb-types", @@ -793,9 +802,9 @@ dependencies = [ [[package]] name = "ckb-script" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb09cac8d0c7f7e9c4b29dea60a5cc0f445329096520a6ca08bb3df257a7a3af" +checksum = "8c9075ad901eae97925f491b6be675d7b19bf7b10eaa94a88f6e8070c0cd00ba" dependencies = [ "byteorder", "ckb-chain-spec", @@ -804,7 +813,7 @@ dependencies = [ "ckb-logger", "ckb-traits", "ckb-types", - "ckb-vm 0.24.0", + "ckb-vm 0.24.6", "faster-hex 0.6.1", "serde", ] @@ -824,18 +833,18 @@ dependencies = [ [[package]] name = "ckb-traits" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e61bc797d736c06de7090f35c144a98acb351d5f713ec4ad84177f388ede8740" +checksum = "ca049aba2cb2d1208c6044accb497b17290ad56de629f6a4b95eded67a43fd40" dependencies = [ "ckb-types", ] [[package]] name = "ckb-types" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f805202ac80736928b61d1d7fd9e71b3fecf6b08ce3ce3571dd47faaefd3ec20" +checksum = "b6ec737e4957418bbd0f4091e8565a89bbd8f6fc37a20360820e44d1f1e44e58" dependencies = [ "bit-vec", "bytes", @@ -843,6 +852,7 @@ dependencies = [ "ckb-constant", "ckb-error", "ckb-fixed-hash", + "ckb-gen-types", "ckb-hash", "ckb-merkle-mountain-range", "ckb-occupied-capacity", @@ -858,9 +868,9 @@ dependencies = [ [[package]] name = "ckb-util" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "842c927ba2bea1bbca88476ec09ada66eea153e2e77fc613bb72b1b95fae5192" +checksum = "011b907b18aa706fc224a1309f14eadd9cc14c42cf2258ca3010d1324bc20f10" dependencies = [ "linked-hash-map", "once_cell", @@ -870,14 +880,13 @@ dependencies = [ [[package]] name = "ckb-vm" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d77a1ce8d1ed8b18041d194ffe0d647c3a707af9347f49b5f543317c73943634" +version = "0.24.1-l2" +source = "git+https://github.com/nervosnetwork/ckb-vm.git?branch=release-0.24-l2#22609451cb9643aab9ea282a237799fa2c8dbbc4" dependencies = [ "byteorder", "bytes", "cc", - "ckb-vm-definitions 0.24.0", + "ckb-vm-definitions 0.24.1-l2", "derive_more", "goblin 0.2.3", "goblin 0.4.0", @@ -888,13 +897,14 @@ dependencies = [ [[package]] name = "ckb-vm" -version = "0.24.1-l2" -source = "git+https://github.com/nervosnetwork/ckb-vm.git?branch=release-0.24-l2#22609451cb9643aab9ea282a237799fa2c8dbbc4" +version = "0.24.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0cc004a826b9bc9319ffae0b8415690e1b5f1482266d55fbd43843aa40ddcd63" dependencies = [ "byteorder", "bytes", "cc", - "ckb-vm-definitions 0.24.1-l2", + "ckb-vm-definitions 0.24.6", "derive_more", "goblin 0.2.3", "goblin 0.4.0", @@ -905,14 +915,17 @@ dependencies = [ [[package]] name = "ckb-vm-definitions" -version = "0.24.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "328c7a6b5664483d5c02fae7b0ada0c407660e7064b2f1505ee6f5d07a4dbf2b" +version = "0.24.1-l2" +source = "git+https://github.com/nervosnetwork/ckb-vm.git?branch=release-0.24-l2#22609451cb9643aab9ea282a237799fa2c8dbbc4" [[package]] name = "ckb-vm-definitions" -version = "0.24.1-l2" -source = "git+https://github.com/nervosnetwork/ckb-vm.git?branch=release-0.24-l2#22609451cb9643aab9ea282a237799fa2c8dbbc4" +version = "0.24.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c4ced3ff9d79b53d93c106720f6c1f855694290e33581850e05c859500eee83f" +dependencies = [ + "paste", +] [[package]] name = "clang-sys" @@ -1922,7 +1935,7 @@ dependencies = [ name = "gw-hash" version = "1.14.0" dependencies = [ - "blake2b-ref 0.3.1", + "blake2b-ref", ] [[package]] diff --git a/crates/block-producer/Cargo.toml b/crates/block-producer/Cargo.toml index 2549dcc55..319c74cb9 100644 --- a/crates/block-producer/Cargo.toml +++ b/crates/block-producer/Cargo.toml @@ -21,10 +21,10 @@ gw-utils = { path = "../utils" } gw-polyjuice-sender-recover = { path = "../polyjuice-sender-recover" } gw-telemetry = { path = "../telemetry" } gw-metrics = { path = "../metrics" } -ckb-crypto = "0.111.0-rc8" -ckb-fixed-hash = "0.111.0-rc8" -ckb-types = "0.111.0-rc8" -ckb-chain-spec = "0.111.0-rc8" +ckb-crypto = "0.111.0" +ckb-fixed-hash = "0.111.0" +ckb-types = "0.111.0" +ckb-chain-spec = "0.111.0" anyhow = "1.0" serde = { version = "1.0", features = ["derive"] } async-channel = "1.4.2" diff --git a/crates/builtin-binaries/Cargo.toml b/crates/builtin-binaries/Cargo.toml index 342759387..26b5fcc36 100644 --- a/crates/builtin-binaries/Cargo.toml +++ b/crates/builtin-binaries/Cargo.toml @@ -23,6 +23,6 @@ sha2 = "0.10.6" [build-dependencies] includedir_codegen = "0.6.0" -ckb-fixed-hash = "0.111.0-rc8" +ckb-fixed-hash = "0.111.0" anyhow = "1.0" sha2 = "0.10.6" diff --git a/crates/chain/Cargo.toml b/crates/chain/Cargo.toml index 271154296..a6b19f9b3 100644 --- a/crates/chain/Cargo.toml +++ b/crates/chain/Cargo.toml @@ -20,7 +20,7 @@ gw-jsonrpc-types = { path = "../jsonrpc-types" } gw-utils = { path = "../utils" } gw-telemetry = { path = "../telemetry" } gw-metrics = { path = "../metrics" } -ckb-fixed-hash = "0.111.0-rc8" +ckb-fixed-hash = "0.111.0" anyhow = "1.0" thiserror = "1.0" lazy_static = "1.4" diff --git a/crates/challenge/Cargo.toml b/crates/challenge/Cargo.toml index f9f921dba..991a0942f 100644 --- a/crates/challenge/Cargo.toml +++ b/crates/challenge/Cargo.toml @@ -17,11 +17,11 @@ gw-jsonrpc-types = { path = "../jsonrpc-types" } gw-rpc-client = { path = "../rpc-client" } gw-traits = { path = "../traits" } gw-utils = { path = "../utils" } -ckb-fixed-hash = "0.111.0-rc8" -ckb-types = "0.111.0-rc8" -ckb-script = "0.111.0-rc8" -ckb-traits = "0.111.0-rc8" -ckb-chain-spec = "0.111.0-rc8" +ckb-fixed-hash = "0.111.0" +ckb-types = "0.111.0" +ckb-script = "0.111.0" +ckb-traits = "0.111.0" +ckb-chain-spec = "0.111.0" anyhow = "1.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" diff --git a/crates/config/Cargo.toml b/crates/config/Cargo.toml index 0344399c3..9109f0aa8 100644 --- a/crates/config/Cargo.toml +++ b/crates/config/Cargo.toml @@ -13,7 +13,7 @@ no-builtin = ["gw-builtin-binaries/no-builtin"] [dependencies] gw-jsonrpc-types = { path = "../jsonrpc-types" } gw-builtin-binaries = { path = "../builtin-binaries" } -ckb-fixed-hash = "0.111.0-rc8" +ckb-fixed-hash = "0.111.0" serde = { version = "1.0", features = ["derive"] } hex = "0.4" lazy_static = "1.4" diff --git a/crates/generator/Cargo.toml b/crates/generator/Cargo.toml index 5c53beeb9..dbb04b32d 100644 --- a/crates/generator/Cargo.toml +++ b/crates/generator/Cargo.toml @@ -20,7 +20,7 @@ gw-store = { path = "../store" } gw-traits = { path = "../traits" } gw-utils = { path = "../utils"} gw-jsonrpc-types = { path = "../jsonrpc-types" } -ckb-types = "0.111.0-rc8" +ckb-types = "0.111.0" anyhow = "1.0" blake2b-rs = "0.2" # Use crates.io version if our changes are merged. diff --git a/crates/godwoken-bin/Cargo.toml b/crates/godwoken-bin/Cargo.toml index dd0785e1b..00a4f077b 100644 --- a/crates/godwoken-bin/Cargo.toml +++ b/crates/godwoken-bin/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" [dependencies] anyhow = "1.0" -ckb-types = "0.111.0-rc8" +ckb-types = "0.111.0" clap = { version = "3", features = ["derive"] } indicatif = "0.16" gw-block-producer = { path = "../block-producer" } diff --git a/crates/jsonrpc-types/Cargo.toml b/crates/jsonrpc-types/Cargo.toml index 77191e632..e2c2deb6f 100644 --- a/crates/jsonrpc-types/Cargo.toml +++ b/crates/jsonrpc-types/Cargo.toml @@ -11,8 +11,8 @@ serde = { version = "1.0", features = ["derive"] } faster-hex = "0.4" gw-types = { path = "../../gwos/crates/types" } gw-common = { path = "../../gwos/crates/common" } -ckb-jsonrpc-types = "0.111.0-rc8" -ckb-fixed-hash = "0.111.0-rc8" +ckb-jsonrpc-types = "0.111.0" +ckb-fixed-hash = "0.111.0" anyhow = "1.0" serde_repr = "0.1.10" serde_json = "1.0.94" diff --git a/crates/replay-chain/Cargo.toml b/crates/replay-chain/Cargo.toml index 1dbf9debb..9a0e9349c 100644 --- a/crates/replay-chain/Cargo.toml +++ b/crates/replay-chain/Cargo.toml @@ -19,8 +19,8 @@ gw-jsonrpc-types = { path = "../jsonrpc-types" } gw-rpc-client = { path = "../rpc-client" } gw-utils = { path = "../utils" } clap = "3" -ckb-fixed-hash = "0.111.0-rc8" -ckb-types = "0.111.0-rc8" +ckb-fixed-hash = "0.111.0" +ckb-types = "0.111.0" anyhow = "1.0" thiserror = "1.0" lazy_static = "1.4" diff --git a/crates/rpc-client/Cargo.toml b/crates/rpc-client/Cargo.toml index b5e44de2e..c73b50b31 100644 --- a/crates/rpc-client/Cargo.toml +++ b/crates/rpc-client/Cargo.toml @@ -11,8 +11,8 @@ gw-common = { path = "../../gwos/crates/common" } gw-config = { path = "../config" } gw-types = { path = "../../gwos/crates/types" } gw-jsonrpc-types = { path = "../jsonrpc-types" } -ckb-fixed-hash = "0.111.0-rc8" -ckb-types = "0.111.0-rc8" +ckb-fixed-hash = "0.111.0" +ckb-types = "0.111.0" anyhow = "1.0" serde = { version = "1.0", features = ["derive"] } log = "0.4.14" diff --git a/crates/rpc-server/Cargo.toml b/crates/rpc-server/Cargo.toml index 0cf11e443..38dfc1953 100644 --- a/crates/rpc-server/Cargo.toml +++ b/crates/rpc-server/Cargo.toml @@ -25,9 +25,9 @@ gw-rpc-client = { path = "../rpc-client" } gw-telemetry = { path = "../telemetry" } gw-metrics = { path = "../metrics" } faster-hex = "0.4" -ckb-crypto = "0.111.0-rc8" -ckb-fixed-hash = "0.111.0-rc8" -ckb-types = "0.111.0-rc8" +ckb-crypto = "0.111.0" +ckb-fixed-hash = "0.111.0" +ckb-types = "0.111.0" anyhow = "1.0" serde = { version = "1.0", features = ["derive"] } futures = "0.3.13" diff --git a/crates/tests/Cargo.toml b/crates/tests/Cargo.toml index ccbf0fee3..97895a9a8 100644 --- a/crates/tests/Cargo.toml +++ b/crates/tests/Cargo.toml @@ -34,14 +34,14 @@ lazy_static = "1.4" secp256k1 = { version = "0.24", features = ["recovery", "rand-std"] } sha3 = "0.10.6" hex = "0.4.2" -ckb-script = "0.111.0-rc8" -ckb-chain-spec = "0.111.0-rc8" -ckb-types = "0.111.0-rc8" -ckb-error = "0.111.0-rc8" -ckb-crypto = "0.111.0-rc8" -ckb-hash = "0.111.0-rc8" -ckb-traits = "0.111.0-rc8" -ckb-fixed-hash = "0.111.0-rc8" +ckb-script = "0.111.0" +ckb-chain-spec = "0.111.0" +ckb-types = "0.111.0" +ckb-error = "0.111.0" +ckb-crypto = "0.111.0" +ckb-hash = "0.111.0" +ckb-traits = "0.111.0" +ckb-fixed-hash = "0.111.0" rand = "0.8" serde = "1.0" serde_json = "1.0" diff --git a/crates/tests/src/script_tests/delegate_cell_lock.rs b/crates/tests/src/script_tests/delegate_cell_lock.rs index fc214e9e1..2163e01ad 100644 --- a/crates/tests/src/script_tests/delegate_cell_lock.rs +++ b/crates/tests/src/script_tests/delegate_cell_lock.rs @@ -96,8 +96,7 @@ fn test_delegate_cell_lock_case(case: Case) { }; let witness = witness_args.as_bytes().pack(); - let mut tx = ckb_types::packed::Transaction::default() - .as_advanced_builder() + let mut tx = ckb_types::core::TransactionView::new_advanced_builder() .input(CellInput::new_builder().previous_output(input).build()) .witness(witness) .cell_dep( diff --git a/crates/tools/Cargo.toml b/crates/tools/Cargo.toml index 467999cbe..32e91d11c 100644 --- a/crates/tools/Cargo.toml +++ b/crates/tools/Cargo.toml @@ -18,14 +18,14 @@ lazy_static = "1.4" secp256k1 = "0.24" sha3 = "0.10.6" reqwest = { version = "0.11", features = ["json", "blocking"] } -ckb-jsonrpc-types = "0.111.0-rc8" -ckb-types = "0.111.0-rc8" -ckb-resource = "0.111.0-rc8" -ckb-hash = "0.111.0-rc8" -ckb-fixed-hash = "0.111.0-rc8" -ckb-crypto = "0.111.0-rc8" -ckb-traits = "0.111.0-rc8" -ckb-dao-utils = "0.111.0-rc8" +ckb-jsonrpc-types = "0.111.0" +ckb-types = "0.111.0" +ckb-resource = "0.111.0" +ckb-hash = "0.111.0" +ckb-fixed-hash = "0.111.0" +ckb-crypto = "0.111.0" +ckb-traits = "0.111.0" +ckb-dao-utils = "0.111.0" gw-types = { path = "../../gwos/crates/types" } gw-config = { path = "../config" } gw-common = { path = "../../gwos/crates/common" } @@ -48,7 +48,7 @@ parking_lot = "0.12" toml = "0.7.1" [dev-dependencies] -ckb-chain-spec = "0.111.0-rc8" -ckb-script = "0.111.0-rc8" +ckb-chain-spec = "0.111.0" +ckb-script = "0.111.0" [features] diff --git a/crates/utils/Cargo.toml b/crates/utils/Cargo.toml index a5cbbcdcc..c0b11c7dd 100644 --- a/crates/utils/Cargo.toml +++ b/crates/utils/Cargo.toml @@ -15,14 +15,14 @@ gw-jsonrpc-types = { path = "../jsonrpc-types" } gw-store = { path = "../store" } anyhow = "1.0" faster-hex = "0.4" -ckb-crypto = "0.111.0-rc8" +ckb-crypto = "0.111.0" sha2 = "0.10.6" sha3 = "0.10.6" secp256k1 = "0.24" log = "0.4" rand = { version = "0.8.5", features = ["min_const_gen"] } -ckb-types = "0.111.0-rc8" -ckb-chain-spec = "0.111.0-rc8" +ckb-types = "0.111.0" +ckb-chain-spec = "0.111.0" tokio = "1" zstd = "0.11.2" ethabi = { version = "18.0.0", default-features = false, features = ["thiserror", "std"] } diff --git a/gwos/crates/types/Cargo.toml b/gwos/crates/types/Cargo.toml index d1c1dc5a9..aa051694f 100644 --- a/gwos/crates/types/Cargo.toml +++ b/gwos/crates/types/Cargo.toml @@ -15,8 +15,8 @@ deprecated = [] molecule = { version = "0.7.3", default-features = false } cfg-if = "1" gw-hash = { path = "../hash", default-features = false } -ckb-fixed-hash = { version = "0.111.0-rc8", optional = true } -ckb-types = { version = "0.111.0-rc8", default-features = false, optional = true } +ckb-fixed-hash = { version = "0.111.0", optional = true } +ckb-types = { version = "0.111.0", default-features = false, optional = true } primitive-types = { version = "0.12", default-features = false, features = [ "impl-serde", "impl-rlp" ] } [build-dependencies] diff --git a/web3/Cargo.lock b/web3/Cargo.lock index 7aff29ef0..d31b950c4 100644 --- a/web3/Cargo.lock +++ b/web3/Cargo.lock @@ -535,7 +535,7 @@ dependencies = [ [[package]] name = "ckb-channel" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "764d1ccbd8dcab0ab439d3024daa88f360730c9226a55af827696c933043ba5f" dependencies = [ @@ -544,13 +544,13 @@ dependencies = [ [[package]] name = "ckb-constant" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "86674aaa6bafbf7b276c6b5daeb2831a78ab2f3581a5c06ecce1ea0f66c7187c" [[package]] name = "ckb-error" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d58be6e890d6b8c68b1a126b1476b228cb307ea2c39ec3cff7e68f7b27023e4" dependencies = [ @@ -562,7 +562,7 @@ dependencies = [ [[package]] name = "ckb-fixed-hash" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "999568008a3c4ade53fb034daae13b22b0b16229c48b87679ddf8c7a0c766743" dependencies = [ @@ -572,7 +572,7 @@ dependencies = [ [[package]] name = "ckb-fixed-hash-core" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5035bf7533976ffb1e70984ed8048733d12ba32f41edd32916870dea7eaec0b5" dependencies = [ @@ -583,7 +583,7 @@ dependencies = [ [[package]] name = "ckb-fixed-hash-macros" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dff2f25b239190314a7cbb463db17365f29a89ecb6978d0237e850fec270f578" dependencies = [ @@ -595,7 +595,7 @@ dependencies = [ [[package]] name = "ckb-hash" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6dc5566890c8e2a43f87c3ee093c20321fdb3fb3081e0bc394c647ef718e0a0b" dependencies = [ @@ -605,7 +605,7 @@ dependencies = [ [[package]] name = "ckb-jsonrpc-types" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7e9b05336ec8f108c5a2a926c83d1a8b1bae24563ed8440ff3c8e94708f4f2c7" dependencies = [ @@ -626,7 +626,7 @@ dependencies = [ [[package]] name = "ckb-occupied-capacity" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "00e960d041bb35dbc3dd382279d3b21787d543a5513184e2861249379c7fc8db" dependencies = [ @@ -636,7 +636,7 @@ dependencies = [ [[package]] name = "ckb-occupied-capacity-core" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0d7de6492bfb72f0e28342f765dd73c8d54a799bf7ffee0f15515c162b20edae" dependencies = [ @@ -645,7 +645,7 @@ dependencies = [ [[package]] name = "ckb-occupied-capacity-macros" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "37c84bf32eddc68ae9b70b2d13577eb107572e7dce6b42126798e865bca5587a" dependencies = [ @@ -656,7 +656,7 @@ dependencies = [ [[package]] name = "ckb-rational" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "190a827525739bc45ffe7cd672802d0c67848c5c647ae66fa24cb4f3a09fb951" dependencies = [ @@ -666,7 +666,7 @@ dependencies = [ [[package]] name = "ckb-types" -version = "0.111.0-rc8" +version = "0.111.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f805202ac80736928b61d1d7fd9e71b3fecf6b08ce3ce3571dd47faaefd3ec20" dependencies = [ diff --git a/web3/crates/indexer/Cargo.toml b/web3/crates/indexer/Cargo.toml index 96ce1236b..76c2d0165 100644 --- a/web3/crates/indexer/Cargo.toml +++ b/web3/crates/indexer/Cargo.toml @@ -10,8 +10,8 @@ edition = "2021" gw-types = { path = "../../../gwos/crates/types" } gw-common = { path = "../../../gwos/crates/common" } gw-jsonrpc-types = { path = "../../../crates/jsonrpc-types" } -ckb-hash = "0.111.0-rc8" -ckb-types = "0.111.0-rc8" +ckb-hash = "0.111.0" +ckb-types = "0.111.0" anyhow = { version = "1.0", features = ["backtrace"] } smol = "1.2.5" thiserror = "1.0" diff --git a/web3/crates/rpc-client/Cargo.toml b/web3/crates/rpc-client/Cargo.toml index e421721d4..3ec6ad267 100644 --- a/web3/crates/rpc-client/Cargo.toml +++ b/web3/crates/rpc-client/Cargo.toml @@ -10,8 +10,8 @@ edition = "2021" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" reqwest = { version = "0.11", features = ["json", "blocking"] } -ckb-jsonrpc-types = "0.111.0-rc8" -ckb-types = "0.111.0-rc8" +ckb-jsonrpc-types = "0.111.0" +ckb-types = "0.111.0" gw-types = { path = "../../../gwos/crates/types" } gw-common = { path = "../../../gwos/crates/common" } gw-jsonrpc-types = { path = "../../../crates/jsonrpc-types" }