From 7f19a7196f3a95ed3492cc264940e39eb936aac8 Mon Sep 17 00:00:00 2001 From: Matt Stam Date: Wed, 23 Oct 2024 20:06:10 -0700 Subject: [PATCH] feat: v3.0.0 (#38) --- .gitmodules | 2 +- Cargo.lock | 60 ++++++++++----------- contracts/lib/forge-std | 2 +- contracts/lib/sp1-contracts | 2 +- contracts/src/fixtures/groth16-fixture.json | 2 +- contracts/src/fixtures/plonk-fixture.json | 2 +- script/Cargo.toml | 4 +- 7 files changed, 37 insertions(+), 37 deletions(-) diff --git a/.gitmodules b/.gitmodules index a7c0e0f..acf986e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -5,4 +5,4 @@ [submodule "contracts/lib/sp1-contracts"] path = contracts/lib/sp1-contracts url = https://github.com/succinctlabs/sp1-contracts - tag = v3.0.0-rc4 + tag = v3.0.0 diff --git a/Cargo.lock b/Cargo.lock index da91790..9159014 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4508,9 +4508,9 @@ dependencies = [ [[package]] name = "sp1-build" -version = "3.0.0-rc4" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a50f080403fc7bd2bf0a9337d128e158629a05529dadae835c9f03b78731ab2" +checksum = "8929a4197b02537dbcd16a078e9424d40985438091df64a9373ebd10e5557083" dependencies = [ "anyhow", "cargo_metadata", @@ -4521,9 +4521,9 @@ dependencies = [ [[package]] name = "sp1-core-executor" -version = "3.0.0-rc4" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c77eeceb035e35458674fa09f703dbaf34dc52c57fddf5f78facdf079a306772" +checksum = "1ff9718f87f207404aee3f447c4438e2a35791092dc24ce65ff95db699ed49c1" dependencies = [ "bincode", "bytemuck", @@ -4555,9 +4555,9 @@ dependencies = [ [[package]] name = "sp1-core-machine" -version = "3.0.0-rc4" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb4c72bdcbab88c1fc60bcdb840fe6549640e2b9fbb1bf0932f5aad208e1e6e1" +checksum = "7ac8b5f2cecb7b2174495fc7a3e004bdb78e1c7ea44577ac0acc0d1e90b817ea" dependencies = [ "bincode", "cfg-if", @@ -4603,9 +4603,9 @@ dependencies = [ [[package]] name = "sp1-curves" -version = "3.0.0-rc4" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30b0d82d4422362a11ee88d93f25ecc6e3322c8dee96725c035a5a967012ad94" +checksum = "f1af9ff15e524ebe58286d7ee9bc345657b45b13091b5dc58fdce61542b65a47" dependencies = [ "cfg-if", "curve25519-dalek", @@ -4625,9 +4625,9 @@ dependencies = [ [[package]] name = "sp1-derive" -version = "3.0.0-rc4" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b00945dcf4bc64cc8fdf93156bc5e5363d084d4c8386273abc9cd306c12070c" +checksum = "5f1490c07bd283f59169eae6e67df355b5de8ba10cc75bf6dbfc05a28fdccfc6" dependencies = [ "quote", "syn 1.0.109", @@ -4635,9 +4635,9 @@ dependencies = [ [[package]] name = "sp1-helper" -version = "3.0.0-rc4" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd4ff6e7af034bd52ac2aa42717c0ea9542841080bfeb8d01f1af56c51108fab" +checksum = "ae43cd2ae4ba94fc2ba7835fb0131375f52b93f385116a7a55e858a29044b592" dependencies = [ "sp1-build", ] @@ -4654,9 +4654,9 @@ dependencies = [ [[package]] name = "sp1-primitives" -version = "3.0.0-rc4" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0508278dce6e3fc971bdf8d1cedecebedd6709b695fbe6c3e61c184161a619e" +checksum = "025f06b633588e246308ad5f67b32f0f7d1cbeab38f7a842314699270bc706f5" dependencies = [ "bincode", "hex", @@ -4672,9 +4672,9 @@ dependencies = [ [[package]] name = "sp1-prover" -version = "3.0.0-rc4" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2110ff3b746738d762fad88977f4590a003d48bbd907346da7ef6483efaafba6" +checksum = "1bd16530cb12f1cecb1b6902142d8d0d87507f88de84bc714f10c29a7fd3769c" dependencies = [ "anyhow", "bincode", @@ -4714,9 +4714,9 @@ dependencies = [ [[package]] name = "sp1-recursion-circuit" -version = "3.0.0-rc4" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf5194faeb5c2d800f38ef76aad7f3efcc450e50d24b6d9c6d7934a15424e22a" +checksum = "98d0a8ceee12600bd14d2e2d31b54db00b7985e30acedbfe8e1c1a9e41d7992f" dependencies = [ "hashbrown 0.14.5", "itertools 0.13.0", @@ -4748,9 +4748,9 @@ dependencies = [ [[package]] name = "sp1-recursion-compiler" -version = "3.0.0-rc4" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87d68961972706555eafe76c16dc27b95e7255ffe757424c4abcd79f6bd42050" +checksum = "591d60768948dcef34a1fc16c3c6cf457e32fdee83d55ec14dbb94cd4447c030" dependencies = [ "backtrace", "itertools 0.13.0", @@ -4770,9 +4770,9 @@ dependencies = [ [[package]] name = "sp1-recursion-core" -version = "3.0.0-rc4" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5f8a14b752ba730e1646759ee2d6ef30beef3d7fd8a71c2a88db2d296030b07" +checksum = "85c15a51b675accb41608f7bf7ef5f95c23b47ceac38a9a87833a2b12c3bc190" dependencies = [ "backtrace", "ff 0.13.0", @@ -4806,9 +4806,9 @@ dependencies = [ [[package]] name = "sp1-recursion-derive" -version = "3.0.0-rc4" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c01af05dd76efc8e0317fc55dcf56796da75e61c92a9b0e50895b58dafccce81" +checksum = "c5b2aaa03093afb2b0f58379bb4f0d7898344ef1bb8dd326ec02db7125c1a590" dependencies = [ "quote", "syn 1.0.109", @@ -4816,9 +4816,9 @@ dependencies = [ [[package]] name = "sp1-recursion-gnark-ffi" -version = "3.0.0-rc4" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85e5eebad74f183901fe33de67edb872cfebcf2588f846729a635a2e57c4702d" +checksum = "1a12889c662cf64870e72bb3ba8096f3465bf442f5f179c07b50c86f5c47ce80" dependencies = [ "anyhow", "bincode", @@ -4842,9 +4842,9 @@ dependencies = [ [[package]] name = "sp1-sdk" -version = "3.0.0-rc4" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c4f8227da8a67e692d3ddea5552c8e992555cf2de7913ef2ad2e15341aa783c" +checksum = "39bab15e962d1218e8ad021b2e9904597d5506d12847ef8be182385d5f3d3a6c" dependencies = [ "alloy-sol-types", "anyhow", @@ -4883,9 +4883,9 @@ dependencies = [ [[package]] name = "sp1-stark" -version = "3.0.0-rc4" +version = "3.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2ec4f3271c0577876dc30415ce929344b3e2fa9bbf99e3906e9a6fbc2acb2ea" +checksum = "ec27b60e797a52eed7af54e032498edcaf8f1ab0649077cbaa6f146a740380dd" dependencies = [ "arrayref", "getrandom", diff --git a/contracts/lib/forge-std b/contracts/lib/forge-std index c28115d..1de6eec 160000 --- a/contracts/lib/forge-std +++ b/contracts/lib/forge-std @@ -1 +1 @@ -Subproject commit c28115db8d90ebffb41953cf83aac63130f4bd40 +Subproject commit 1de6eecf821de7fe2c908cc48d3ab3dced20717f diff --git a/contracts/lib/sp1-contracts b/contracts/lib/sp1-contracts index af1ae09..1c4acae 160000 --- a/contracts/lib/sp1-contracts +++ b/contracts/lib/sp1-contracts @@ -1 +1 @@ -Subproject commit af1ae093ef8a8f68b022aa8f0f7ad9ffd94aa6fb +Subproject commit 1c4acaeab86789995ae5c6baced66f81e4a57f4d diff --git a/contracts/src/fixtures/groth16-fixture.json b/contracts/src/fixtures/groth16-fixture.json index e4d175d..db32ddc 100644 --- a/contracts/src/fixtures/groth16-fixture.json +++ b/contracts/src/fixtures/groth16-fixture.json @@ -4,5 +4,5 @@ "n": 20, "vkey": "0x00467584e2e560847e9e96b5102c082f5e07155429c6622988799df9d95dbb47", "publicValues": "0x00000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000001a6d0000000000000000000000000000000000000000000000000000000000002ac2", - "proof": "0xfeb5e54e08d5ce8b93a002fbfc89f29003bf4a94d504e30674682a1bc9699ec0097e76e82b2c88a3841c9e498946abad576a3441e1e59251099a2f958b14a07881389899094b5a48ffc34608c4719fba1367b05985c668e1d960816c72dfaef70a33ea2a261408394e1191d4c5cd0dfd502111ab6232426e439c9c0847c83886085817620388bd7b4345b7eb65de1310470a907e11b9af950891b3494444cd88c8dd48361b54d46e02b57af4892b164535bdda23db428e1f0d18d90437cbf56e705e65a42fb8ed7ba78005546f8019f706cc586ee42e5781fe544975390d38deb61b99ef1309f10884fed2a0c4613410f58ae3597df856534c6814bc1d5f247edd034e1f" + "proof": "0x090690900091bc3f08015e1ed96bee4e8c7a3ab074bfaa54129b1c63a9c6e478ec63255d3028cceaeed53e04bf0ee42f58ff0980ff00212e52a2a1d85b69b1268f5030820bc4589b0566e8a3f0738fa64405c10ee7347e58afbf4f1f431b327e5ba522c32f83c0c6e9e5bc37dfe2b31ae2bead89e0c7d8a0df1226b005d75f2e252b104a030d532c73f896df2328ce3322c055bda3b979dda22568ef85761b1d82bdcbec230f2838693d3663a0bd00006fa0f0dd4ea0e14b8b44273b0e8575e5478fa8d92a910cc26e0cdff4869f3fac686f91d245839368dbeadc9daaa4062ad1b3772523b284a3c41d60328f30461e03a465f4d6ec8d0fdfeeba176b8d0c7c82167c18" } \ No newline at end of file diff --git a/contracts/src/fixtures/plonk-fixture.json b/contracts/src/fixtures/plonk-fixture.json index 42e5f5b..cbfaad2 100644 --- a/contracts/src/fixtures/plonk-fixture.json +++ b/contracts/src/fixtures/plonk-fixture.json @@ -4,5 +4,5 @@ "n": 20, "vkey": "0x00467584e2e560847e9e96b5102c082f5e07155429c6622988799df9d95dbb47", "publicValues": "0x00000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000001a6d0000000000000000000000000000000000000000000000000000000000002ac2", - "proof": "0x865350661628ddb69371fc7c9073a376b38903c7617210213158b4e2e45e205b512fb7f3036e95aa96a81d41d603aa7c43a2a3d7e2ba0d80367bc341a2b742f39aa7b3820fbd2c41e1ccb638d37e31244eedbc3a0ae327e66be2e85e88c2db616e8d6cab18fb0f0ea87b13ba77d4f74373f262e59f2fc1a3b6efdcd566e27d07d227cbfd0e641247b8549ba90fa21dcc3254b201b0581b5f10d0c91f3116d87552d5c035091810ea278254675eab7407f42df022a911099c88339ddbfccf26dd0e73721508f4ae8abf4ce2d487a796df1d1fa3845670fa73d47de7710303ea099a1f5eab132473c2666c1038188d76696c35d6a5123da47d6b3661a7675f27d574012abe17846cebb7b514d78941669bcbca4821e0b4386f7317dd1c1a059de9f24193a72b2ccc27d09485c268a7117e6e072852dc74dca498fcdcfbf7dd76966acbc3ac28ae942309476b7294d02e4ad5b8d7fa98665ca670825478bc9bd047629649781cd9a5057b25bff2f708d191e1dd2fd1206f76731e814cacf7e04683241b36dd2fef9020ac6dcb3c4953633a578923ddd907c35b4350c4a4d155fcc44558324407ec1d93937db2d6a45f55bcb0b3f2f7f1d5c6c7095d88e6b80618cadb76df6a0a6e102e8d260bfaf1ef97fadb440f1d9f4acc4e5db459c5ca3f80e32166c460041fe238cb33e8c688cda38f6efb7962ebc1851bb4ca2ed3b8abc6decae571371baf2ee68dd2812312932a1c14c1eab9b03192298d0c20101c5b7517ff92f4312bdcaca5c50b27d727f1822341c7ff2c31bc4d1b388c8939b1226f4bbf2631ba2da814157d71721d11922b356d2d0e6b321e4138950ec71886f246c52cc527eb10a95f975b85b898892838cfddba3be9109c8cbcf52b85affd937fdd5c8d5c8b294860e9f1275a44c45c857a16e337a5db20962b2a197bb610e4495039c4af621b00e0f0c842cbc5c9e9c859edf1093e9427d51d5cb970ece9a45bad0c0a3452089d62e252ebfd5d56aaa8a609d536db4ae79e51b901291d41925e4d93c0285728498bc4fe78a8b1720cf0bfa406a7c668155e1d0cec04a4972a71681ce3861330138f66ea1e7c878ee8b3a0b85c7fdca54da9d2206c10d1bc9340ce309242ea009e7daa6aa0d6556b15867240fa29997b938fd7d8be734963b0e431bbbcce8e0330e9232320df87f3d760184f7b68d540ea06a3db5b06365ddda1621523bef5" + "proof": "0x54bdcae32122ba5d63ecb7d08cf7e217531928202417f27aa006e67ab53721eb386323bd1548e7a98de06f907d6067c9069866a6e8ca4a81a8553566abee9c2903efec8d0d3a52e9e717313d6fb5076bf3865cd8705a40b2613563b1d10f13adbeced54b179c997b00339169940341b4bb6ea21cd43992779b03e9a17fe6925f6273774e1b37fe45304344f3c66efee0b283cc6f8bb5d50e1f711d869080191284b5b93d10eafd8c57fab7d77ff15918e5e7fd93ed7ae6edc8629464aee148934e719c761e932ac3e956d05c70f9f2d2145c0b72f5e96127311b0b5ff805683091ec1f391beaffe65cf81e0613902331c700fcb0659c0c57e2f5d48d7e4eec04309060221f29322fc530473f367d34f38b47747afd4397acf8f75219ed6d393a468822b5152de3687df40b6ffebe49fbf0ceda8b54042283e454586875bb602b26a1175e165bdd7b6f29206896396e864904bb3cf5d375c84f311e5c557918dedccf27c30f43b11922ac6c9c0901634269de7d8ec9543ff834167149db30cd87b5c00c8d28cabf65079b6be84e5d013f514775e16d078215751f30547561ded0d2af784c0cbefb1fbd6149c09ed6eb0844265b1b0d038acd6b389cba9b3d6335e31567c706acf8cb896be0b70ce13eeb65990e69e29a48b85de56e2cda40d154034633f321f266a6af27e1adebe64e89a451bbeabb5fc0d9cf22c66c76710f599f39434b12f8ce865dda948710bed1755df69588eb5b0c21fb0f929b1bff7b7358c4cb1c271a65be960be28f2af49f3be51ddd6a4e552a3c1bb57204cd020d1057ae15602a43eb67628c5697ef5b181ded7e76a1f26997bca92ba31ef7337b63326a31cb1a13ec5b1d81605d83dbbf17f9699ebe3f2a2afa211dd09cf5de084d29ab28c212d9017f24ce6697e36d8c84b82970e1dedf5c74a821b73fce661c2a0bf1408f2c557c0e8962ad59cca1931cb276d3566e6f4a9411102cbf486c83aced09563d22a891e9abd3b6cee11963269c1f32f6131e97852584736ca8dbf7c6f9e34f660f79c2b9cd21515608ccc90af5e5689df83f623c08bc49284d93d4cfbf4ca60c2e2d8c1cb71195ac41b0788267d5af7092b421963519a1bb2e23774e7648344b19334175fa8031c8562bfb5209242b0a35282cbc7d05f96f4bf24318b6c37f0727f359fd9cf136abc923abbffc906a32cfb0e6d16ce61cc2d20748c2460f6844" } \ No newline at end of file diff --git a/script/Cargo.toml b/script/Cargo.toml index 2efd612..1bc334b 100644 --- a/script/Cargo.toml +++ b/script/Cargo.toml @@ -13,7 +13,7 @@ name = "evm" path = "src/bin/evm.rs" [dependencies] -sp1-sdk = "3.0.0-rc4" +sp1-sdk = "3.0.0" serde_json = { version = "1.0", default-features = false, features = ["alloc"] } serde = { version = "1.0.200", default-features = false, features = ["derive"] } clap = { version = "4.0", features = ["derive", "env"] } @@ -23,4 +23,4 @@ alloy-sol-types = { workspace = true } fibonacci-lib = { path = "../lib" } [build-dependencies] -sp1-helper = "3.0.0-rc4" +sp1-helper = "3.0.0"