From c62c5e6bd2eb8f53b47d8c456ea81baed1c28ad5 Mon Sep 17 00:00:00 2001 From: gabrielbosio Date: Thu, 10 Oct 2024 19:32:15 -0300 Subject: [PATCH] Repatch Arkworks --- operator/mina/lib/Cargo.lock | 14 +++++++------- operator/mina/lib/Cargo.toml | 14 ++++++++++---- operator/mina_account/lib/Cargo.lock | 14 +++++++------- operator/mina_account/lib/Cargo.toml | 14 ++++++++++---- 4 files changed, 34 insertions(+), 22 deletions(-) diff --git a/operator/mina/lib/Cargo.lock b/operator/mina/lib/Cargo.lock index 001b0204a..b1e63fc03 100644 --- a/operator/mina/lib/Cargo.lock +++ b/operator/mina/lib/Cargo.lock @@ -743,7 +743,7 @@ checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6" [[package]] name = "ark-ec" version = "0.3.0" -source = "git+https://github.com/openmina/algebra?branch=openmina#017531e7aaa15a2c856532b0843876e371b01122" +source = "git+https://github.com/lambdaclass/openmina_algebra?branch=mina_bridge#017531e7aaa15a2c856532b0843876e371b01122" dependencies = [ "ark-ff 0.3.0", "ark-serialize 0.3.0", @@ -757,7 +757,7 @@ dependencies = [ [[package]] name = "ark-ff" version = "0.3.0" -source = "git+https://github.com/openmina/algebra?branch=openmina#017531e7aaa15a2c856532b0843876e371b01122" +source = "git+https://github.com/lambdaclass/openmina_algebra?branch=mina_bridge#017531e7aaa15a2c856532b0843876e371b01122" dependencies = [ "ark-ff-asm 0.3.0", "ark-ff-macros 0.3.0", @@ -795,7 +795,7 @@ dependencies = [ [[package]] name = "ark-ff-asm" version = "0.3.0" -source = "git+https://github.com/openmina/algebra?branch=openmina#017531e7aaa15a2c856532b0843876e371b01122" +source = "git+https://github.com/lambdaclass/openmina_algebra?branch=mina_bridge#017531e7aaa15a2c856532b0843876e371b01122" dependencies = [ "quote", "syn 1.0.109", @@ -814,7 +814,7 @@ dependencies = [ [[package]] name = "ark-ff-macros" version = "0.3.0" -source = "git+https://github.com/openmina/algebra?branch=openmina#017531e7aaa15a2c856532b0843876e371b01122" +source = "git+https://github.com/lambdaclass/openmina_algebra?branch=mina_bridge#017531e7aaa15a2c856532b0843876e371b01122" dependencies = [ "num-bigint", "num-traits", @@ -838,7 +838,7 @@ dependencies = [ [[package]] name = "ark-poly" version = "0.3.0" -source = "git+https://github.com/openmina/algebra?branch=openmina#017531e7aaa15a2c856532b0843876e371b01122" +source = "git+https://github.com/lambdaclass/openmina_algebra?branch=mina_bridge#017531e7aaa15a2c856532b0843876e371b01122" dependencies = [ "ark-ff 0.3.0", "ark-serialize 0.3.0", @@ -851,7 +851,7 @@ dependencies = [ [[package]] name = "ark-serialize" version = "0.3.0" -source = "git+https://github.com/openmina/algebra?branch=openmina#017531e7aaa15a2c856532b0843876e371b01122" +source = "git+https://github.com/lambdaclass/openmina_algebra?branch=mina_bridge#017531e7aaa15a2c856532b0843876e371b01122" dependencies = [ "ark-serialize-derive", "ark-std 0.3.0", @@ -872,7 +872,7 @@ dependencies = [ [[package]] name = "ark-serialize-derive" version = "0.3.0" -source = "git+https://github.com/openmina/algebra?branch=openmina#017531e7aaa15a2c856532b0843876e371b01122" +source = "git+https://github.com/lambdaclass/openmina_algebra?branch=mina_bridge#017531e7aaa15a2c856532b0843876e371b01122" dependencies = [ "proc-macro2", "quote", diff --git a/operator/mina/lib/Cargo.toml b/operator/mina/lib/Cargo.toml index 6c1ee9c43..d26f62767 100644 --- a/operator/mina/lib/Cargo.toml +++ b/operator/mina/lib/Cargo.toml @@ -33,7 +33,13 @@ mina_bridge_core = { git = "https://github.com/lambdaclass/mina_bridge", branch bincode = "1.3.3" [patch.crates-io] -ark-ff = { git = "https://github.com/openmina/algebra", branch = "openmina" } -ark-ec = { git = "https://github.com/openmina/algebra", branch = "openmina" } -ark-poly = { git = "https://github.com/openmina/algebra", branch = "openmina" } -ark-serialize = { git = "https://github.com/openmina/algebra", branch = "openmina" } +ark-ff = { git = "https://github.com/lambdaclass/openmina_algebra", branch = "mina_bridge" } +ark-ec = { git = "https://github.com/lambdaclass/openmina_algebra", branch = "mina_bridge" } +ark-poly = { git = "https://github.com/lambdaclass/openmina_algebra", branch = "mina_bridge" } +ark-serialize = { git = "https://github.com/lambdaclass/openmina_algebra", branch = "mina_bridge" } + +[patch.'https://github.com/openmina/algebra'] +ark-ff = { git = "https://github.com/lambdaclass/openmina_algebra", branch = "mina_bridge" } +ark-ec = { git = "https://github.com/lambdaclass/openmina_algebra", branch = "mina_bridge" } +ark-poly = { git = "https://github.com/lambdaclass/openmina_algebra", branch = "mina_bridge" } +ark-serialize = { git = "https://github.com/lambdaclass/openmina_algebra", branch = "mina_bridge" } diff --git a/operator/mina_account/lib/Cargo.lock b/operator/mina_account/lib/Cargo.lock index 4c28ba3d5..1d94353b7 100644 --- a/operator/mina_account/lib/Cargo.lock +++ b/operator/mina_account/lib/Cargo.lock @@ -743,7 +743,7 @@ checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6" [[package]] name = "ark-ec" version = "0.3.0" -source = "git+https://github.com/openmina/algebra?branch=openmina#017531e7aaa15a2c856532b0843876e371b01122" +source = "git+https://github.com/lambdaclass/openmina_algebra?branch=mina_bridge#017531e7aaa15a2c856532b0843876e371b01122" dependencies = [ "ark-ff 0.3.0", "ark-serialize 0.3.0", @@ -757,7 +757,7 @@ dependencies = [ [[package]] name = "ark-ff" version = "0.3.0" -source = "git+https://github.com/openmina/algebra?branch=openmina#017531e7aaa15a2c856532b0843876e371b01122" +source = "git+https://github.com/lambdaclass/openmina_algebra?branch=mina_bridge#017531e7aaa15a2c856532b0843876e371b01122" dependencies = [ "ark-ff-asm 0.3.0", "ark-ff-macros 0.3.0", @@ -795,7 +795,7 @@ dependencies = [ [[package]] name = "ark-ff-asm" version = "0.3.0" -source = "git+https://github.com/openmina/algebra?branch=openmina#017531e7aaa15a2c856532b0843876e371b01122" +source = "git+https://github.com/lambdaclass/openmina_algebra?branch=mina_bridge#017531e7aaa15a2c856532b0843876e371b01122" dependencies = [ "quote", "syn 1.0.109", @@ -814,7 +814,7 @@ dependencies = [ [[package]] name = "ark-ff-macros" version = "0.3.0" -source = "git+https://github.com/openmina/algebra?branch=openmina#017531e7aaa15a2c856532b0843876e371b01122" +source = "git+https://github.com/lambdaclass/openmina_algebra?branch=mina_bridge#017531e7aaa15a2c856532b0843876e371b01122" dependencies = [ "num-bigint", "num-traits", @@ -838,7 +838,7 @@ dependencies = [ [[package]] name = "ark-poly" version = "0.3.0" -source = "git+https://github.com/openmina/algebra?branch=openmina#017531e7aaa15a2c856532b0843876e371b01122" +source = "git+https://github.com/lambdaclass/openmina_algebra?branch=mina_bridge#017531e7aaa15a2c856532b0843876e371b01122" dependencies = [ "ark-ff 0.3.0", "ark-serialize 0.3.0", @@ -851,7 +851,7 @@ dependencies = [ [[package]] name = "ark-serialize" version = "0.3.0" -source = "git+https://github.com/openmina/algebra?branch=openmina#017531e7aaa15a2c856532b0843876e371b01122" +source = "git+https://github.com/lambdaclass/openmina_algebra?branch=mina_bridge#017531e7aaa15a2c856532b0843876e371b01122" dependencies = [ "ark-serialize-derive", "ark-std 0.3.0", @@ -872,7 +872,7 @@ dependencies = [ [[package]] name = "ark-serialize-derive" version = "0.3.0" -source = "git+https://github.com/openmina/algebra?branch=openmina#017531e7aaa15a2c856532b0843876e371b01122" +source = "git+https://github.com/lambdaclass/openmina_algebra?branch=mina_bridge#017531e7aaa15a2c856532b0843876e371b01122" dependencies = [ "proc-macro2", "quote", diff --git a/operator/mina_account/lib/Cargo.toml b/operator/mina_account/lib/Cargo.toml index 46208a9de..99ceaf960 100644 --- a/operator/mina_account/lib/Cargo.toml +++ b/operator/mina_account/lib/Cargo.toml @@ -32,7 +32,13 @@ bincode = "1.3.3" alloy = { version = "0.3.3", features = ["full"] } [patch.crates-io] -ark-ff = { git = "https://github.com/openmina/algebra", branch = "openmina" } -ark-ec = { git = "https://github.com/openmina/algebra", branch = "openmina" } -ark-poly = { git = "https://github.com/openmina/algebra", branch = "openmina" } -ark-serialize = { git = "https://github.com/openmina/algebra", branch = "openmina" } +ark-ff = { git = "https://github.com/lambdaclass/openmina_algebra", branch = "mina_bridge" } +ark-ec = { git = "https://github.com/lambdaclass/openmina_algebra", branch = "mina_bridge" } +ark-poly = { git = "https://github.com/lambdaclass/openmina_algebra", branch = "mina_bridge" } +ark-serialize = { git = "https://github.com/lambdaclass/openmina_algebra", branch = "mina_bridge" } + +[patch.'https://github.com/openmina/algebra'] +ark-ff = { git = "https://github.com/lambdaclass/openmina_algebra", branch = "mina_bridge" } +ark-ec = { git = "https://github.com/lambdaclass/openmina_algebra", branch = "mina_bridge" } +ark-poly = { git = "https://github.com/lambdaclass/openmina_algebra", branch = "mina_bridge" } +ark-serialize = { git = "https://github.com/lambdaclass/openmina_algebra", branch = "mina_bridge" }