From 35cdb87bc4aaa1cfc87bedf5eba390aa27c8401f Mon Sep 17 00:00:00 2001 From: Josh Jones Date: Wed, 18 Oct 2023 14:39:55 +0100 Subject: [PATCH] fix issues from merge conflict resolution --- Cargo.lock | 616 ++++++++++++++++--------------------------- ipld/amt/src/amt.rs | 4 +- ipld/amt/src/iter.rs | 12 - 3 files changed, 226 insertions(+), 406 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index cf53e3af0..9e2d3a011 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -11,16 +11,6 @@ dependencies = [ "gimli 0.27.3", ] -[[package]] -name = "addr2line" -version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" -dependencies = [ - "gimli 0.28.0", - "gimli 0.27.3", -] - [[package]] name = "addr2line" version = "0.21.0" @@ -73,61 +63,17 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" -[[package]] -name = "anstream" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ab91ebe16eb252986481c5b62f6098f3b698a45e34b5b98200cf20dd2484a44" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-query", - "anstyle-wincon", - "colorchoice", - "utf8parse", -] - [[package]] name = "anstyle" version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" -[[package]] -name = "anstyle-parse" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140" -dependencies = [ - "utf8parse", -] - -[[package]] -name = "anstyle-query" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" -dependencies = [ - "windows-sys", -] - -[[package]] -name = "anstyle-wincon" -version = "3.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628" -dependencies = [ - "anstyle", - "windows-sys", -] - [[package]] name = "anyhow" version = "1.0.75" -version = "1.0.75" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" -checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" dependencies = [ "backtrace", ] @@ -172,10 +118,8 @@ dependencies = [ [[package]] name = "async-channel" version = "1.9.0" -version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" -checksum = "81953c529336010edd6d8e358f886d9581267795c61b19475b71314bffa46d35" dependencies = [ "concurrent-queue", "event-listener", @@ -234,10 +178,8 @@ dependencies = [ [[package]] name = "async-lock" version = "2.8.0" -version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" -checksum = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" dependencies = [ "event-listener", ] @@ -301,20 +243,15 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "backtrace" version = "0.3.69" -version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" -checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" dependencies = [ - "addr2line 0.21.0", "addr2line 0.21.0", "cc", "cfg-if", "libc", "miniz_oxide", "object 0.32.1", - "miniz_oxide", - "object 0.32.1", "rustc-demangle", ] @@ -336,6 +273,30 @@ version = "0.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ba43ea6f343b788c8764558649e08df62f86c6ef251fdaeb1ffd010a9ae50a2" +[[package]] +name = "bellpepper" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0271a107b5f600ee41bdafbb3c8ddf4afa52983d4b078917d89dbb920116e987" +dependencies = [ + "bellpepper-core", + "byteorder", + "ff", +] + +[[package]] +name = "bellpepper-core" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2c9a1b2f748c59938bc72165ebdf34efffeecee9cfbe0bb7d6b01aea21cd523" +dependencies = [ + "blake2s_simd 1.0.2", + "byteorder", + "ff", + "serde", + "thiserror", +] + [[package]] name = "bellperson" version = "0.26.0" @@ -363,6 +324,7 @@ dependencies = [ "rustversion", "serde", "sha2 0.10.8", + "supraseal-c2", "thiserror", ] @@ -480,9 +442,9 @@ dependencies = [ [[package]] name = "bls-signatures" -version = "0.13.1" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1659e487883b92123806f16ff3568dd57563991231d187d29b23eea5d910e800" +checksum = "ecc7fce0356b52c2483bb6188cc8bdc11add526bce75d1a44e5e5d889a6ab008" dependencies = [ "bls12_381", "blst", @@ -514,10 +476,8 @@ dependencies = [ [[package]] name = "blst" version = "0.3.11" -version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c94087b935a822949d3291a9989ad2b2051ea141eda0fd4e478a75f6aa3e604b" -checksum = "c94087b935a822949d3291a9989ad2b2051ea141eda0fd4e478a75f6aa3e604b" dependencies = [ "cc", "glob", @@ -527,9 +487,9 @@ dependencies = [ [[package]] name = "blstrs" -version = "0.6.2" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ff3694b352ece02eb664a09ffb948ee69b35afa2e6ac444a6b8cb9d515deebd" +checksum = "7a8a8ed6fefbeef4a8c7b460e4110e12c5e22a5b7cf32621aae6ad650c4dcf29" dependencies = [ "blst", "byte-slice-cast", @@ -602,14 +562,11 @@ dependencies = [ [[package]] name = "cc" version = "1.0.83" -version = "1.0.83" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" -checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" dependencies = [ "jobserver", "libc", - "libc", ] [[package]] @@ -697,15 +654,6 @@ dependencies = [ "inout", ] -[[package]] -name = "cl-sys" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4febd824a957638c066180fbf72b2bed5bcee33740773f3dc59fe91f0a3e6595" -dependencies = [ - "libc", -] - [[package]] name = "cl3" version = "0.9.2" @@ -725,7 +673,6 @@ checksum = "d04704f56c2cde07f43e8e2c154b43f216dc5c92fc98ada720177362f953b956" dependencies = [ "clap_builder", "clap_derive", - "clap_derive", ] [[package]] @@ -736,16 +683,13 @@ checksum = "0e231faeaca65ebd1ea3c737966bf858971cd38c3849107aa3ea7de90a804e45" dependencies = [ "anstyle", "clap_lex", - "strsim", ] [[package]] name = "clap_derive" version = "4.4.2" -version = "4.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0862016ff20d69b84ef8247369fabf5c008a7417002411897d40ee1f4532b873" -checksum = "0862016ff20d69b84ef8247369fabf5c008a7417002411897d40ee1f4532b873" dependencies = [ "heck", "proc-macro2", @@ -756,29 +700,18 @@ dependencies = [ [[package]] name = "clap_lex" version = "0.5.1" -version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961" -[[package]] -name = "colorchoice" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" - [[package]] name = "colored" version = "2.0.4" -version = "2.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2674ec482fbc38012cf31e6c42ba0177b431a0cb6f15fe40efa5aab1bda516f6" -checksum = "2674ec482fbc38012cf31e6c42ba0177b431a0cb6f15fe40efa5aab1bda516f6" dependencies = [ - "is-terminal", "is-terminal", "lazy_static", "windows-sys", - "windows-sys", ] [[package]] @@ -843,28 +776,26 @@ dependencies = [ [[package]] name = "cpufeatures" version = "0.2.9" -version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" -checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" dependencies = [ "libc", ] [[package]] name = "cranelift-bforest" -version = "0.97.2" +version = "0.99.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7aae6f552c4c0ccfb30b9559b77bc985a387d998e1736cbbe6b14c903f3656cf" +checksum = "5a91a1ccf6fb772808742db2f51e2179f25b1ec559cbe39ea080c72ff61caf8f" dependencies = [ "cranelift-entity", ] [[package]] name = "cranelift-codegen" -version = "0.97.2" +version = "0.99.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95551de96900cefae691ce895ff2abc691ae3a0b97911a76b45faf99e432937b" +checksum = "169db1a457791bff4fd1fc585bb5cc515609647e0420a7d5c98d7700c59c2d00" dependencies = [ "bumpalo", "cranelift-bforest", @@ -874,7 +805,6 @@ dependencies = [ "cranelift-entity", "cranelift-isle", "gimli 0.27.3", - "gimli 0.27.3", "hashbrown 0.13.2", "log", "regalloc2", @@ -884,42 +814,42 @@ dependencies = [ [[package]] name = "cranelift-codegen-meta" -version = "0.97.2" +version = "0.99.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36a3ad7b2bb03de3383f258b00ca29d80234bebd5130cb6ef3bae37ada5baab0" +checksum = "3486b93751ef19e6d6eef66d2c0e83ed3d2ba01da1919ed2747f2f7bd8ba3419" dependencies = [ "cranelift-codegen-shared", ] [[package]] name = "cranelift-codegen-shared" -version = "0.97.2" +version = "0.99.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "915918fee4142c85fb04bafe0bcd697e2fd6c15a260301ea6f8d2ea332a30e86" +checksum = "86a1205ab18e7cd25dc4eca5246e56b506ced3feb8d95a8d776195e48d2cd4ef" [[package]] name = "cranelift-control" -version = "0.97.2" +version = "0.99.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "37e447d548cd7f4fcb87fbd10edbd66a4f77966d17785ed50a08c8f3835483c8" +checksum = "1b108cae0f724ddfdec1871a0dc193a607e0c2d960f083cfefaae8ccf655eff2" dependencies = [ "arbitrary", ] [[package]] name = "cranelift-entity" -version = "0.97.2" +version = "0.99.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d8ab3352a1e5966968d7ab424bd3de8e6b58314760745c3817c2eec3fa2f918" +checksum = "720444006240622798665bfc6aa8178e2eed556da342fda62f659c5267c3c659" dependencies = [ "serde", ] [[package]] name = "cranelift-frontend" -version = "0.97.2" +version = "0.99.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bffa38431f7554aa1594f122263b87c9e04abc55c9f42b81d37342ac44f79f0" +checksum = "b7a94c4c5508b7407e125af9d5320694b7423322e59a4ac0d07919ae254347ca" dependencies = [ "cranelift-codegen", "log", @@ -929,15 +859,15 @@ dependencies = [ [[package]] name = "cranelift-isle" -version = "0.97.2" +version = "0.99.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84cef66a71c77938148b72bf006892c89d6be9274a08f7e669ff15a56145d701" +checksum = "ef1f888d0845dcd6be4d625b91d9d8308f3d95bed5c5d4072ce38e1917faa505" [[package]] name = "cranelift-native" -version = "0.97.2" +version = "0.99.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f33c7e5eb446e162d2d10b17fe68e1f091020cc2e4e38b5501c21099600b0a1b" +checksum = "9ad5966da08f1e96a3ae63be49966a85c9b249fa465f8cf1b66469a82b1004a0" dependencies = [ "cranelift-codegen", "libc", @@ -946,9 +876,9 @@ dependencies = [ [[package]] name = "cranelift-wasm" -version = "0.97.2" +version = "0.99.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "632f7b64fa6a8c5b980eb6a17ef22089e15cb9f779f1ed3bd3072beab0686c09" +checksum = "0d8635c88b424f1d232436f683a301143b36953cd98fc6f86f7bac862dfeb6f5" dependencies = [ "cranelift-codegen", "cranelift-entity", @@ -980,7 +910,6 @@ dependencies = [ "cast", "ciborium", "clap", - "clap", "criterion-plot", "futures", "is-terminal", @@ -1256,7 +1185,7 @@ dependencies = [ "once_cell", "rayon", "rust-gpu-tools", - "sha2 0.10.7", + "sha2 0.10.8", "thiserror", "yastl", ] @@ -1287,10 +1216,8 @@ dependencies = [ [[package]] name = "either" version = "1.9.0" -version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" -checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" [[package]] name = "env_logger" @@ -1321,12 +1248,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" -[[package]] -name = "equivalent" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" - [[package]] name = "errno" version = "0.3.5" @@ -1460,7 +1381,7 @@ dependencies = [ "fvm_actor_utils", "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_shared 4.0.0-alpha.4", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "num-derive 0.3.3", "num-traits", "serde", @@ -1469,24 +1390,19 @@ dependencies = [ [[package]] name = "fil_actor_bundler" version = "6.1.0" -version = "6.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e0b1448c65c9a054c640fc086e03b730919ca4feca697c34ed3bda9f16aa982f" -checksum = "e0b1448c65c9a054c640fc086e03b730919ca4feca697c34ed3bda9f16aa982f" dependencies = [ "anyhow", "async-std", "cid 0.10.1", "clap", - "cid 0.10.1", - "clap", "futures", "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_ipld_car 0.7.1", + "fvm_ipld_car 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde", "serde_ipld_dagcbor", - "serde_ipld_dagcbor", "serde_json", ] @@ -1498,10 +1414,9 @@ dependencies = [ "fil_actors_runtime", "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_shared 4.0.0-alpha.4", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "log", "num-derive 0.3.3", - "num-derive 0.3.3", "num-traits", "serde", ] @@ -1519,11 +1434,10 @@ dependencies = [ "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_hamt 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_shared 4.0.0-alpha.4", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static", "log", "num-derive 0.3.3", - "num-derive 0.3.3", "num-traits", "serde", ] @@ -1539,12 +1453,11 @@ dependencies = [ "fil_actors_runtime", "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_shared 4.0.0-alpha.4", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "hex-literal", "log", "multihash 0.18.1", "num-derive 0.3.3", - "num-derive 0.3.3", "num-traits", "rlp", "serde", @@ -1559,10 +1472,9 @@ dependencies = [ "frc42_dispatch", "fvm_actor_utils", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_shared 4.0.0-alpha.4", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "hex-literal", "num-derive 0.3.3", - "num-derive 0.3.3", "num-traits", "serde", ] @@ -1580,13 +1492,12 @@ dependencies = [ "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_kamt 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_shared 4.0.0-alpha.4", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "hex", "hex-literal", "log", "multihash 0.18.1", "num-derive 0.3.3", - "num-derive 0.3.3", "num-traits", "serde", "substrate-bn", @@ -1604,10 +1515,9 @@ dependencies = [ "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_hamt 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_shared 4.0.0-alpha.4", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "log", "num-derive 0.3.3", - "num-derive 0.3.3", "num-traits", "serde", ] @@ -1622,16 +1532,15 @@ dependencies = [ "fil_actors_runtime", "frc42_dispatch", "frc46_token", - "fvm_ipld_bitfield 0.6.0", + "fvm_ipld_bitfield 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_hamt 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_shared 4.0.0-alpha.4", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "integer-encoding 3.0.4", "libipld-core 0.13.1", "log", "num-derive 0.3.3", - "num-derive 0.3.3", "num-traits", "serde", ] @@ -1647,18 +1556,17 @@ dependencies = [ "cid 0.10.1", "fil_actors_runtime", "frc42_dispatch", - "fvm_ipld_amt 0.6.2", - "fvm_ipld_bitfield 0.6.0", + "fvm_ipld_amt 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", + "fvm_ipld_bitfield 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_hamt 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_shared 4.0.0-alpha.4", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "itertools 0.10.5", "lazy_static", "log", "multihash 0.18.1", "num-derive 0.3.3", - "num-derive 0.3.3", "num-traits", "serde", ] @@ -1676,7 +1584,7 @@ dependencies = [ "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_hamt 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_shared 4.0.0-alpha.4", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "indexmap 1.9.3", "integer-encoding 3.0.4", "num-derive 0.3.3", @@ -1695,7 +1603,7 @@ dependencies = [ "frc42_dispatch", "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_shared 4.0.0-alpha.4", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "num-derive 0.3.3", "num-traits", "serde", @@ -1718,13 +1626,12 @@ dependencies = [ "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_hamt 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_shared 4.0.0-alpha.4", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "indexmap 1.9.3", "integer-encoding 3.0.4", "lazy_static", "log", "num-derive 0.3.3", - "num-derive 0.3.3", "num-traits", "serde", ] @@ -1737,11 +1644,10 @@ dependencies = [ "fil_actors_runtime", "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_shared 4.0.0-alpha.4", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static", "log", "num-derive 0.3.3", - "num-derive 0.3.3", "num-traits", "serde", ] @@ -1756,7 +1662,7 @@ dependencies = [ "fil_actors_runtime", "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_shared 4.0.0-alpha.4", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "num-derive 0.3.3", "num-traits", "serde", @@ -1776,11 +1682,10 @@ dependencies = [ "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_hamt 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_shared 4.0.0-alpha.4", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static", "log", "num-derive 0.3.3", - "num-derive 0.3.3", "num-traits", "serde", ] @@ -1792,7 +1697,7 @@ source = "git+https://github.com/filecoin-project/builtin-actors?branch=master#b dependencies = [ "fil_actors_runtime", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_shared 4.0.0-alpha.4", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "hex", "serde", "uint", @@ -1808,20 +1713,19 @@ dependencies = [ "byteorder", "castaway", "cid 0.10.1", - "fvm_ipld_amt 0.6.2", - "fvm_ipld_bitfield 0.6.0", + "fvm_ipld_amt 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", + "fvm_ipld_bitfield 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_hamt 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_sdk 4.0.0-alpha.4", - "fvm_shared 4.0.0-alpha.4", + "fvm_sdk 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "integer-encoding 3.0.4", "itertools 0.10.5", "log", "multihash 0.18.1", "num", "num-derive 0.3.3", - "num-derive 0.3.3", "num-traits", "paste", "regex", @@ -1849,7 +1753,6 @@ source = "git+https://github.com/filecoin-project/builtin-actors?branch=master#b dependencies = [ "cid 0.10.1", "clap", - "clap", "fil_actor_account", "fil_actor_bundler", "fil_actor_cron", @@ -1908,9 +1811,10 @@ dependencies = [ "cid 0.10.1", "fvm_gas_calibration_shared", "fvm_ipld_encoding 0.4.0", - "fvm_sdk 3.3.0", - "fvm_shared 3.5.0", - "num-derive 0.3.3", + "fvm_sdk 4.0.0-alpha.4", + "fvm_shared 4.0.0-alpha.4", + "libipld", + "num-derive 0.4.1", "num-traits", "serde", ] @@ -2090,10 +1994,8 @@ dependencies = [ [[package]] name = "filetime" version = "0.2.22" -version = "0.2.22" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4029edd3e734da6fe05b6cd7bd2960760a616bd2ddd0d59a0124746d6272af0" -checksum = "d4029edd3e734da6fe05b6cd7bd2960760a616bd2ddd0d59a0124746d6272af0" dependencies = [ "cfg-if", "libc", @@ -2109,7 +2011,6 @@ checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" dependencies = [ "crc32fast", "miniz_oxide", - "miniz_oxide", ] [[package]] @@ -2163,39 +2064,33 @@ dependencies = [ [[package]] name = "frc42_dispatch" version = "5.0.0-alpha.1" -version = "5.0.0-alpha.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "646103488de23b15af472fd22e81f16eacf821e2b6b921f16961315e192fa34f" -checksum = "646103488de23b15af472fd22e81f16eacf821e2b6b921f16961315e192fa34f" dependencies = [ "frc42_hasher", "frc42_macros", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_sdk 4.0.0-alpha.4", - "fvm_shared 4.0.0-alpha.4", + "fvm_sdk 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror", ] [[package]] name = "frc42_hasher" version = "3.0.0-alpha.1" -version = "3.0.0-alpha.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "19727efce9e1cdd535791c75de2d9813080d2ab39c0434ec9e7a6c858df6a926" -checksum = "19727efce9e1cdd535791c75de2d9813080d2ab39c0434ec9e7a6c858df6a926" dependencies = [ - "fvm_sdk 4.0.0-alpha.4", - "fvm_shared 4.0.0-alpha.4", + "fvm_sdk 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "thiserror", ] [[package]] name = "frc42_macros" version = "3.0.0-alpha.1" -version = "3.0.0-alpha.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b08689c30919b9706463b63809b6ee02b5a7ca34307ca7afd5fd39da48bfff42" -checksum = "b08689c30919b9706463b63809b6ee02b5a7ca34307ca7afd5fd39da48bfff42" dependencies = [ "blake2b_simd", "frc42_hasher", @@ -2207,10 +2102,8 @@ dependencies = [ [[package]] name = "frc46_token" version = "9.0.0-alpha.1" -version = "9.0.0-alpha.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9576de352ca5767fcaa7b8bb9ba3cf973b0f1db3afbb44f6a471f2fdc14fa87d" -checksum = "9576de352ca5767fcaa7b8bb9ba3cf973b0f1db3afbb44f6a471f2fdc14fa87d" dependencies = [ "cid 0.10.1", "frc42_dispatch", @@ -2218,8 +2111,8 @@ dependencies = [ "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_hamt 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_sdk 4.0.0-alpha.4", - "fvm_shared 4.0.0-alpha.4", + "fvm_sdk 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "integer-encoding 4.0.0", "num-traits", "serde", @@ -2297,7 +2190,6 @@ version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" dependencies = [ - "fastrand 1.9.0", "fastrand 1.9.0", "futures-core", "futures-io", @@ -2394,7 +2286,6 @@ version = "0.1.0" dependencies = [ "anyhow", "clap", - "clap", "env_logger 0.10.0", "fvm", "fvm_integration_tests", @@ -2418,18 +2309,16 @@ dependencies = [ [[package]] name = "fvm_actor_utils" version = "9.0.0-alpha.1" -version = "9.0.0-alpha.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5bdb80dc2a6e3a6ccefd0c04c762ee96c6f1596367282da437ecb47fa046533d" -checksum = "5bdb80dc2a6e3a6ccefd0c04c762ee96c6f1596367282da437ecb47fa046533d" dependencies = [ "anyhow", "cid 0.10.1", "frc42_dispatch", "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_sdk 4.0.0-alpha.4", - "fvm_shared 4.0.0-alpha.4", + "fvm_sdk 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits", "serde", "serde_tuple", @@ -2476,8 +2365,8 @@ dependencies = [ name = "fvm_gas_calibration_shared" version = "0.1.0" dependencies = [ - "fvm_shared 3.5.0", - "num-derive 0.3.3", + "fvm_shared 4.0.0-alpha.4", + "num-derive 0.4.1", "num-traits", "serde", "serde_json", @@ -2536,10 +2425,8 @@ dependencies = [ [[package]] name = "fvm_ipld_amt" version = "0.6.2" -version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5fea333475130094f27ce67809aae3f69eb5247541d835950b7c5da733dbbb34" -checksum = "5fea333475130094f27ce67809aae3f69eb5247541d835950b7c5da733dbbb34" dependencies = [ "anyhow", "cid 0.10.1", @@ -2570,12 +2457,9 @@ dependencies = [ [[package]] name = "fvm_ipld_bitfield" version = "0.6.0" -version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "da94287cafa663c2e295fe45c4c9dbf5ab7b52f648568f9ae3823deaf9873a89" -checksum = "da94287cafa663c2e295fe45c4c9dbf5ab7b52f648568f9ae3823deaf9873a89" dependencies = [ - "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde", "thiserror", @@ -2611,9 +2495,9 @@ dependencies = [ "futures", "fvm_ipld_blockstore 0.2.0", "fvm_ipld_encoding 0.4.0", - "integer-encoding 3.0.4", "serde", "thiserror", + "unsigned-varint", ] [[package]] @@ -2641,7 +2525,6 @@ dependencies = [ "multihash 0.18.1", "serde", "serde_ipld_dagcbor", - "serde_ipld_dagcbor", "serde_json", "serde_repr", "serde_tuple", @@ -2660,7 +2543,6 @@ dependencies = [ "multihash 0.18.1", "serde", "serde_ipld_dagcbor", - "serde_ipld_dagcbor", "serde_repr", "serde_tuple", "thiserror", @@ -2669,34 +2551,25 @@ dependencies = [ [[package]] name = "fvm_ipld_hamt" version = "0.8.0" -version = "0.8.0" dependencies = [ "anyhow", "byteorder", "cid 0.10.1", "criterion", - "criterion", "forest_hash_utils", "fvm_ipld_blockstore 0.2.0", "fvm_ipld_encoding 0.4.0", "hex", - "fvm_ipld_blockstore 0.2.0", - "fvm_ipld_encoding 0.4.0", - "hex", "libipld-core 0.16.0", "multihash 0.18.1", "once_cell", "quickcheck", "quickcheck_macros", "rand", - "quickcheck", - "quickcheck_macros", - "rand", "serde", "sha2 0.10.8", "thiserror", "unsigned-varint", - "unsigned-varint", ] [[package]] @@ -2704,8 +2577,6 @@ name = "fvm_ipld_hamt" version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "03a53e14c789449cec999ca0e93d909490c921b967adb7a9ec8f12286fb809bd" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03a53e14c789449cec999ca0e93d909490c921b967adb7a9ec8f12286fb809bd" dependencies = [ "anyhow", "byteorder", @@ -2713,8 +2584,6 @@ dependencies = [ "forest_hash_utils", "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "libipld-core 0.16.0", "multihash 0.18.1", "once_cell", @@ -2780,16 +2649,13 @@ dependencies = [ [[package]] name = "fvm_sdk" version = "4.0.0-alpha.4" -version = "4.0.0-alpha.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "081816d6e5b7832beca5f906e16108e63a288b8b0c314bacbd47e56348a7fd63" -checksum = "081816d6e5b7832beca5f906e16108e63a288b8b0c314bacbd47e56348a7fd63" dependencies = [ - "byteorder", "byteorder", "cid 0.10.1", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_shared 4.0.0-alpha.4", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static", "log", "num-traits", @@ -2798,39 +2664,32 @@ dependencies = [ [[package]] name = "fvm_shared" -version = "3.5.0" +version = "4.0.0-alpha.4" dependencies = [ "anyhow", "arbitrary", "bitflags 2.4.1", "blake2b_simd", "bls-signatures", - "bls-signatures", "cid 0.10.1", "data-encoding", "data-encoding-macro", "filecoin-proofs-api", "fvm_ipld_encoding 0.4.0", - "fvm_shared 3.5.0", + "fvm_shared 4.0.0-alpha.4", "lazy_static", "libsecp256k1", - "libsecp256k1", "multihash 0.18.1", "num-bigint", - "num-derive 0.3.3", + "num-derive 0.4.1", "num-integer", "num-traits", "quickcheck", "quickcheck_macros", "rand", "rand_chacha", - "quickcheck", - "quickcheck_macros", - "rand", - "rand_chacha", "serde", "serde_json", - "serde_json", "serde_tuple", "thiserror", "unsigned-varint", @@ -2841,9 +2700,6 @@ name = "fvm_shared" version = "4.0.0-alpha.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "022bdee26d3a256905d6430b66099868ff7a439a8ceb22c0f351843aa7c5f394" -version = "4.0.0-alpha.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "022bdee26d3a256905d6430b66099868ff7a439a8ceb22c0f351843aa7c5f394" dependencies = [ "anyhow", "bitflags 2.4.1", @@ -2852,7 +2708,6 @@ dependencies = [ "data-encoding", "data-encoding-macro", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static", "multihash 0.18.1", "num-bigint", @@ -2920,7 +2775,6 @@ checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" dependencies = [ "fallible-iterator", "indexmap 1.9.3", - "indexmap 1.9.3", "stable_deref_trait", ] @@ -2930,12 +2784,6 @@ version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" -[[package]] -name = "gimli" -version = "0.28.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" - [[package]] name = "glob" version = "0.3.1" @@ -3117,6 +2965,7 @@ checksum = "8adf3ddd720272c6ea8bf59463c04e0f93d0bbf7c5439b691bca2987e0270897" dependencies = [ "equivalent", "hashbrown 0.14.1", + "serde", ] [[package]] @@ -3143,16 +2992,6 @@ name = "integer-encoding" version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8bb03732005da905c88227371639bf1ad885cc712789c011c31c5fb3ab3ccf02" -dependencies = [ - "async-trait", - "futures-util", -] - -[[package]] -name = "integer-encoding" -version = "4.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "924df4f0e24e2e7f9cdd90babb0b96f93b20f3ecfa949ea9e6613756b8c8e1bf" [[package]] name = "integer-encoding" @@ -3166,7 +3005,6 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi", "hermit-abi", "libc", "windows-sys", @@ -3184,10 +3022,8 @@ dependencies = [ [[package]] name = "is-terminal" version = "0.4.9" -version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" -checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ "hermit-abi", "rustix 0.38.19", @@ -3224,10 +3060,8 @@ dependencies = [ [[package]] name = "itoa" version = "1.0.9" -version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" -checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" [[package]] name = "ittapi" @@ -3312,6 +3146,20 @@ version = "0.2.149" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b" +[[package]] +name = "libipld" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1ccd6b8ffb3afee7081fcaec00e1b099fd1c7ccf35ba5729d88538fcc3b4599" +dependencies = [ + "fnv", + "libipld-core 0.16.0", + "libipld-macro", + "log", + "multihash 0.18.1", + "thiserror", +] + [[package]] name = "libipld-core" version = "0.13.1" @@ -3424,10 +3272,8 @@ dependencies = [ [[package]] name = "log" version = "0.4.20" -version = "0.4.20" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" -checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" dependencies = [ "value-bag", ] @@ -3519,10 +3365,8 @@ dependencies = [ [[package]] name = "minstant" version = "0.1.3" -version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7df94bf4a15ed69e64ea45405e504ef293a3614413e7d8f5529112c5acd4a114" -checksum = "7df94bf4a15ed69e64ea45405e504ef293a3614413e7d8f5529112c5acd4a114" dependencies = [ "ctor", "libc", @@ -3623,10 +3467,8 @@ dependencies = [ [[package]] name = "num" version = "0.4.1" -version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b05180d69e3da0e530ba2a1dae5110317e49e3b7f3d41be227dc5f92e49ee7af" -checksum = "b05180d69e3da0e530ba2a1dae5110317e49e3b7f3d41be227dc5f92e49ee7af" dependencies = [ "num-bigint", "num-complex", @@ -3639,10 +3481,8 @@ dependencies = [ [[package]] name = "num-bigint" version = "0.4.4" -version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" -checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" dependencies = [ "autocfg", "num-integer", @@ -3654,10 +3494,8 @@ dependencies = [ [[package]] name = "num-complex" version = "0.4.4" -version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" -checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" dependencies = [ "num-traits", "serde", @@ -3731,12 +3569,9 @@ dependencies = [ [[package]] name = "num_cpus" version = "1.16.0" -version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" -checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi", "hermit-abi", "libc", ] @@ -3753,16 +3588,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "object" -version = "0.32.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" -dependencies = [ - "indexmap 1.9.3", - "memchr", -] - [[package]] name = "object" version = "0.32.1" @@ -3799,6 +3624,16 @@ dependencies = [ "libc", ] +[[package]] +name = "opencl3" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c247ee0c98af8a67ab9c836ed2ea663ac19a17d8bae71325b509835e536c18ad" +dependencies = [ + "cl3", + "libc", +] + [[package]] name = "pairing" version = "0.23.0" @@ -3814,13 +3649,52 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" +[[package]] +name = "parking_lot" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" +dependencies = [ + "lock_api", + "parking_lot_core", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall 0.4.1", + "smallvec", + "windows-targets", +] + +[[package]] +name = "pasta_curves" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3e57598f73cc7e1b2ac63c79c517b31a0877cd7c402cdcaa311b5208de7a095" +dependencies = [ + "blake2b_simd", + "ec-gpu", + "ff", + "group", + "hex", + "lazy_static", + "rand", + "serde", + "static_assertions", + "subtle", +] + [[package]] name = "paste" version = "1.0.14" -version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" -checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" [[package]] name = "pathdiff" @@ -3837,10 +3711,8 @@ checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" [[package]] name = "pin-project-lite" version = "0.2.13" -version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" -checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" [[package]] name = "pin-utils" @@ -3912,10 +3784,8 @@ dependencies = [ [[package]] name = "positioned-io" version = "0.3.2" -version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "677d0208bedc5252e7054a4f65f24f2ccfe740178fb2284028ac5f06efbdcc55" -checksum = "677d0208bedc5252e7054a4f65f24f2ccfe740178fb2284028ac5f06efbdcc55" dependencies = [ "byteorder", "libc", @@ -3931,10 +3801,8 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "pretty_assertions" version = "1.4.0" -version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66" -checksum = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66" dependencies = [ "diff", "yansi", @@ -4017,10 +3885,8 @@ dependencies = [ [[package]] name = "quote" version = "1.0.33" -version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" -checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" dependencies = [ "proc-macro2", ] @@ -4092,18 +3958,18 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.2.16" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" +checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" dependencies = [ "bitflags 1.3.2", ] [[package]] name = "redox_syscall" -version = "0.3.5" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" +checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" dependencies = [ "bitflags 1.3.2", ] @@ -4177,9 +4043,9 @@ dependencies = [ [[package]] name = "rust-gpu-tools" -version = "0.6.2" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0421f9419a176c7d21702fb078e40ef8aeb91b91b97f41c441210979ef4f2b9" +checksum = "b0ce78d5548a74fad25177825d0c20f4cfbc6eaf796bcee53afe792e39ede4e2" dependencies = [ "fil-rustacuda", "hex", @@ -4266,18 +4132,14 @@ dependencies = [ [[package]] name = "rustversion" version = "1.0.14" -version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" -checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" [[package]] name = "ryu" version = "1.0.15" -version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" -checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" [[package]] name = "same-file" @@ -4291,10 +4153,8 @@ dependencies = [ [[package]] name = "scopeguard" version = "1.2.0" -version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "semver" @@ -4323,10 +4183,8 @@ dependencies = [ [[package]] name = "serde_bytes" version = "0.11.12" -version = "0.11.12" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ab33ec92f677585af6d88c65593ae2375adde54efdbf16d597f2cbc7a6d368ff" -checksum = "ab33ec92f677585af6d88c65593ae2375adde54efdbf16d597f2cbc7a6d368ff" dependencies = [ "serde", ] @@ -4368,10 +4226,8 @@ dependencies = [ [[package]] name = "serde_repr" version = "0.1.16" -version = "0.1.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8725e1dfadb3a50f7e5ce0b1a540466f6ed3fe7a0fca2ac2b8b831d31316bd00" -checksum = "8725e1dfadb3a50f7e5ce0b1a540466f6ed3fe7a0fca2ac2b8b831d31316bd00" dependencies = [ "proc-macro2", "quote", @@ -4427,10 +4283,8 @@ dependencies = [ [[package]] name = "sha2-asm" version = "0.6.3" -version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f27ba7066011e3fb30d808b51affff34f0a66d3a03a58edd787c6e420e40e44e" -checksum = "f27ba7066011e3fb30d808b51affff34f0a66d3a03a58edd787c6e420e40e44e" dependencies = [ "cc", ] @@ -4463,10 +4317,8 @@ dependencies = [ [[package]] name = "slab" version = "0.4.9" -version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" -checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" dependencies = [ "autocfg", ] @@ -4732,10 +4584,8 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "tar" version = "0.4.40" -version = "0.4.40" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b16afcea1f22891c49a00c751c7b63b2233284064f11a200fc624137c51e2ddb" -checksum = "b16afcea1f22891c49a00c751c7b63b2233284064f11a200fc624137c51e2ddb" dependencies = [ "filetime", "libc", @@ -4744,16 +4594,14 @@ dependencies = [ [[package]] name = "target-lexicon" version = "0.12.11" -version = "0.12.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9d0e916b1148c8e263850e1ebcbd046f333e0683c724876bb0da63ea4373dc8a" -checksum = "9d0e916b1148c8e263850e1ebcbd046f333e0683c724876bb0da63ea4373dc8a" [[package]] name = "temp-env" -version = "0.3.5" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e010429b1f3ea1311190c658c7570100f03c1dab05c16cfab774181c648d656a" +checksum = "96374855068f47402c3121c6eed88d29cb1de8f3ab27090e273e420bdabcf050" dependencies = [ "parking_lot", ] @@ -4761,10 +4609,8 @@ dependencies = [ [[package]] name = "tempfile" version = "3.8.0" -version = "3.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" -checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" dependencies = [ "cfg-if", "fastrand 2.0.1", @@ -4926,26 +4772,18 @@ checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" [[package]] name = "unsigned-varint" version = "0.7.2" -version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6889a77d49f1f013504cec6bf97a2c730394adedaeb1deb5ea08949a50541105" dependencies = [ "futures-io", "futures-util", ] -checksum = "6889a77d49f1f013504cec6bf97a2c730394adedaeb1deb5ea08949a50541105" -dependencies = [ - "futures-io", - "futures-util", -] [[package]] name = "url" version = "2.4.1" -version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5" -checksum = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5" dependencies = [ "form_urlencoded", "idna", @@ -4954,11 +4792,9 @@ dependencies = [ [[package]] name = "uuid" -version = "1.4.1" -version = "1.4.1" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d" -checksum = "79daa5ed5740825c40b389c5e50312b9c86df53fccd33f281df655642b43869d" +checksum = "88ad59a7560b41a70d191093a945f0b87bc1deeda46fb237479708a1d6b6cdfc" [[package]] name = "value-bag" @@ -4982,7 +4818,7 @@ dependencies = [ "fvm_ipld_blockstore 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_encoding 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "fvm_ipld_hamt 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "fvm_shared 4.0.0-alpha.4", + "fvm_shared 4.0.0-alpha.4 (registry+https://github.com/rust-lang/crates.io-index)", "num-derive 0.3.3", "num-traits", "rand", @@ -4999,10 +4835,8 @@ checksum = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" [[package]] name = "walkdir" version = "2.4.0" -version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" -checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" dependencies = [ "same-file", "winapi-util", @@ -5095,6 +4929,15 @@ dependencies = [ "leb128", ] +[[package]] +name = "wasm-encoder" +version = "0.31.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41763f20eafed1399fff1afb466496d3a959f58241436cfdc17e3f5ca954de16" +dependencies = [ + "leb128", +] + [[package]] name = "wasm-encoder" version = "0.35.0" @@ -5110,7 +4953,6 @@ version = "0.95.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2ea896273ea99b15132414be1da01ab0d8836415083298ecaffbe308eaac87a" dependencies = [ - "indexmap 1.9.3", "indexmap 1.9.3", "url", ] @@ -5121,7 +4963,7 @@ version = "0.110.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1dfcdb72d96f01e6c85b6bf20102e7423bdbaad5c337301bab2bbf253d26413c" dependencies = [ - "indexmap 1.9.3", + "indexmap 2.0.2", "semver", ] @@ -5147,19 +4989,19 @@ dependencies = [ [[package]] name = "wasmtime" -version = "10.0.2" +version = "12.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bc104ced94ff0a6981bde77a0bc29aab4af279914a4143b8d1af9fd4b2c9d41" +checksum = "c4e87029cc5760db9a3774aff4708596fe90c20ed2baeef97212e98b812fd0fc" dependencies = [ "anyhow", "bincode", "bumpalo", "cfg-if", "fxprof-processed-profile", - "indexmap 1.9.3", + "indexmap 2.0.2", "libc", "log", - "object 0.30.4", + "object 0.31.1", "once_cell", "paste", "psm", @@ -5178,18 +5020,18 @@ dependencies = [ [[package]] name = "wasmtime-asm-macros" -version = "10.0.2" +version = "12.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2b28e5661a9b5f7610a62ab3c69222fa161f7bd31d04529e856461d8c3e706b" +checksum = "96d84f68d831200016e120f2ee79d81b50cf4c4123112914aefb168d036d445d" dependencies = [ "cfg-if", ] [[package]] name = "wasmtime-cranelift" -version = "10.0.2" +version = "12.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fc1e39ce9aa0fa0b319541ed423960b06cfa7343eca1574f811ea34275739c2" +checksum = "8ae8ed7a4845f22be6b1ad80f33f43fa03445b03a02f2d40dca695129769cd1a" dependencies = [ "anyhow", "cranelift-codegen", @@ -5199,9 +5041,8 @@ dependencies = [ "cranelift-native", "cranelift-wasm", "gimli 0.27.3", - "gimli 0.27.3", "log", - "object 0.30.4", + "object 0.31.1", "target-lexicon", "thiserror", "wasmparser 0.110.0", @@ -5212,32 +5053,32 @@ dependencies = [ [[package]] name = "wasmtime-cranelift-shared" -version = "10.0.2" +version = "12.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dd32739326690e51c76551d7cbf29d371e7de4dc7b37d2d503be314ab5b7d04" +checksum = "86b17099f9320a1c481634d88101258917d5065717cf22b04ed75b1a8ea062b4" dependencies = [ "anyhow", "cranelift-codegen", "cranelift-control", "cranelift-native", "gimli 0.27.3", - "object 0.30.4", + "object 0.31.1", "target-lexicon", "wasmtime-environ", ] [[package]] name = "wasmtime-environ" -version = "10.0.2" +version = "12.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32b60e4ae5c9ae81750d8bc59110bf25444aa1d9266c19999c3b64b801db3c73" +checksum = "e8b9227b1001229ff125e0f76bf1d5b9dc4895e6bcfd5cc35a56f84685964ec7" dependencies = [ "anyhow", "cranelift-entity", "gimli 0.27.3", - "indexmap 1.9.3", + "indexmap 2.0.2", "log", - "object 0.30.4", + "object 0.31.1", "serde", "target-lexicon", "thiserror", @@ -5247,22 +5088,21 @@ dependencies = [ [[package]] name = "wasmtime-jit" -version = "10.0.2" +version = "12.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "655b23a10eddfe7814feb548a466f3f25aa4bb4f43098a147305c544a2de28e1" +checksum = "cce606b392c321d7272928003543447119ef937a9c3ebfce5c4bb0bf6b0f5bac" dependencies = [ - "addr2line 0.19.0", + "addr2line 0.20.0", "anyhow", "bincode", "cfg-if", "cpp_demangle", "gimli 0.27.3", - "gimli 0.27.3", "ittapi", "log", - "object 0.30.4", + "object 0.31.1", "rustc-demangle", - "rustix 0.37.25", + "rustix 0.38.19", "serde", "target-lexicon", "wasmtime-environ", @@ -5273,9 +5113,9 @@ dependencies = [ [[package]] name = "wasmtime-jit-debug" -version = "10.0.2" +version = "12.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e46b7e98979a69d3df093076bde8431204e3c96a770e8d216fea365c627d88a4" +checksum = "aef27ea6c34ef888030d15560037fe7ef27a5609fbbba8e1e3e41dc4245f5bb2" dependencies = [ "once_cell", "wasmtime-versioned-export-macros", @@ -5283,9 +5123,9 @@ dependencies = [ [[package]] name = "wasmtime-jit-icache-coherence" -version = "10.0.2" +version = "12.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fb1e7c68ede63dc7a98c3e473162954e224951854e229c8b4e74697fe17dbdd" +checksum = "b59f94b0409221873565419168e20b5aedf18c4bd64de5c38acf8f0634efeee3" dependencies = [ "cfg-if", "libc", @@ -5294,14 +5134,14 @@ dependencies = [ [[package]] name = "wasmtime-runtime" -version = "10.0.2" +version = "12.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "843e33bf9e0f0c57902c87a1dea1389cc23865c65f007214318dbdfcb3fd4ae5" +checksum = "ceb587a88ae5bb6ca248455a391aff29ac63329a404b2cdea36d91267c797db4" dependencies = [ "anyhow", "cc", "cfg-if", - "indexmap 1.9.3", + "indexmap 2.0.2", "libc", "log", "mach", @@ -5309,7 +5149,7 @@ dependencies = [ "memoffset", "paste", "rand", - "rustix 0.37.25", + "rustix 0.38.19", "sptr", "wasm-encoder 0.31.1", "wasmtime-asm-macros", @@ -5321,9 +5161,9 @@ dependencies = [ [[package]] name = "wasmtime-types" -version = "10.0.2" +version = "12.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7473a07bebd85671bada453123e3d465c8e0a59668ff79f5004076e6a2235ef5" +checksum = "77943729d4b46141538e8d0b6168915dc5f88575ecdfea26753fd3ba8bab244a" dependencies = [ "cranelift-entity", "serde", @@ -5339,7 +5179,7 @@ checksum = "ca7af9bb3ee875c4907835e607a275d10b04d15623d3aebe01afe8fbd3f85050" dependencies = [ "proc-macro2", "quote", - "syn 2.0.31", + "syn 2.0.38", ] [[package]] @@ -5373,6 +5213,18 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "which" +version = "4.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" +dependencies = [ + "either", + "home", + "once_cell", + "rustix 0.38.19", +] + [[package]] name = "winapi" version = "0.3.9" @@ -5416,10 +5268,8 @@ dependencies = [ [[package]] name = "windows-targets" version = "0.48.5" -version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" -checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" dependencies = [ "windows_aarch64_gnullvm", "windows_aarch64_msvc", @@ -5433,58 +5283,44 @@ dependencies = [ [[package]] name = "windows_aarch64_gnullvm" version = "0.48.5" -version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" -checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_msvc" version = "0.48.5" -version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" -checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_i686_gnu" version = "0.48.5" -version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" -checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_msvc" version = "0.48.5" -version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" -checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_x86_64_gnu" version = "0.48.5" -version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" -checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnullvm" version = "0.48.5" -version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" -checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_msvc" version = "0.48.5" -version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" -checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "wyz" @@ -5534,10 +5370,8 @@ dependencies = [ [[package]] name = "zstd" version = "0.12.4" -version = "0.12.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a27595e173641171fc74a1232b7b1c7a7cb6e18222c11e9dfb9888fa424c53c" -checksum = "1a27595e173641171fc74a1232b7b1c7a7cb6e18222c11e9dfb9888fa424c53c" dependencies = [ "zstd-safe", ] @@ -5545,10 +5379,8 @@ dependencies = [ [[package]] name = "zstd-safe" version = "6.0.6" -version = "6.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee98ffd0b48ee95e6c5168188e44a54550b1564d9d530ee21d5f0eaed1069581" -checksum = "ee98ffd0b48ee95e6c5168188e44a54550b1564d9d530ee21d5f0eaed1069581" dependencies = [ "libc", "zstd-sys", diff --git a/ipld/amt/src/amt.rs b/ipld/amt/src/amt.rs index d07bb3fdc..10de5a2e6 100644 --- a/ipld/amt/src/amt.rs +++ b/ipld/amt/src/amt.rs @@ -492,7 +492,7 @@ where F: FnMut(u64, &V) -> anyhow::Result<()>, { if let Some(start_at) = start_at { - if start_at >= nodes_for_height(self.bit_width(), self.height() + 1) { + if start_at >= nodes_for_height(self.branching_factor(), self.height() + 1) { return Ok((0, None)); } } @@ -531,7 +531,7 @@ where F: FnMut(u64, &V) -> anyhow::Result, { if let Some(start_at) = start_at { - if start_at >= nodes_for_height(self.bit_width(), self.height() + 1) { + if start_at >= nodes_for_height(self.branching_factor(), self.height() + 1) { return Ok((0, None)); } } diff --git a/ipld/amt/src/iter.rs b/ipld/amt/src/iter.rs index 1c3996f91..3014e506f 100644 --- a/ipld/amt/src/iter.rs +++ b/ipld/amt/src/iter.rs @@ -85,18 +85,6 @@ mod tests { use crate::Amt; use quickcheck_macros::quickcheck; - // #[test] - // fn foo() { - // let db = fvm_ipld_blockstore::MemoryBlockstore::default(); - // let mut amt = Amt::new_with_branching_factor(&db, 2); - // //amt.set(8, "foo".to_owned()).unwrap(); - // amt.set(16, "bar".to_owned()).unwrap(); - // //amt.set(1, "baz".to_owned()).unwrap(); - // dbg!(&amt); - // amt.flush().unwrap(); - // //dbg!(amt); - // } - #[quickcheck] fn vary_branching_factor(branching_factor: u32) { let branching_factor = branching_factor % 20;