From bd3f44d2cb7358564b3b552260230710f3813a13 Mon Sep 17 00:00:00 2001 From: Gui Iribarren Date: Wed, 18 Dec 2024 13:46:33 +0100 Subject: [PATCH] go.mod: bump vocdoni-z-sandbox --- elgamal/ciphertext_test.go | 2 +- .../twistededwards/twistededwards_test.go | 2 +- go.mod | 13 ++++----- go.sum | 28 ++++++++----------- hash/bn254/poseidon/poseidon_test.go | 2 +- 5 files changed, 21 insertions(+), 26 deletions(-) diff --git a/elgamal/ciphertext_test.go b/elgamal/ciphertext_test.go index d849d24..a7e9f34 100644 --- a/elgamal/ciphertext_test.go +++ b/elgamal/ciphertext_test.go @@ -15,7 +15,7 @@ import ( "github.com/consensys/gnark/std/algebra/native/twistededwards" "github.com/consensys/gnark/test" "github.com/iden3/go-iden3-crypto/babyjub" - "github.com/vocdoni/vocdoni-z-sandbox/ecc/format" + "github.com/vocdoni/vocdoni-z-sandbox/crypto/ecc/format" ) type testElGamalAddCircuit struct { diff --git a/emulated/bn254/twistededwards/twistededwards_test.go b/emulated/bn254/twistededwards/twistededwards_test.go index e3693dd..057fe36 100644 --- a/emulated/bn254/twistededwards/twistededwards_test.go +++ b/emulated/bn254/twistededwards/twistededwards_test.go @@ -12,7 +12,7 @@ import ( "github.com/consensys/gnark/frontend/cs/r1cs" "github.com/consensys/gnark/profile" "github.com/consensys/gnark/test" - "github.com/vocdoni/vocdoni-z-sandbox/ecc/format" + "github.com/vocdoni/vocdoni-z-sandbox/crypto/ecc/format" ) type testFromTwistedEdwards struct { diff --git a/go.mod b/go.mod index 217d239..bd85ee6 100644 --- a/go.mod +++ b/go.mod @@ -3,15 +3,15 @@ module github.com/vocdoni/gnark-crypto-primitives go 1.23.2 require ( - github.com/consensys/gnark v0.11.0 - github.com/consensys/gnark-crypto v0.14.0 - github.com/ethereum/go-ethereum v1.14.7 + github.com/consensys/gnark v0.11.1-0.20241210204654-a1e66c1d6b4d + github.com/consensys/gnark-crypto v0.14.1-0.20241213223322-afee1955665f + github.com/ethereum/go-ethereum v1.14.12 github.com/frankban/quicktest v1.14.6 github.com/iden3/go-iden3-crypto v0.0.17 github.com/mdehoog/gnark-circom-smt v0.0.0-20240224081844-6972718e0548 github.com/mdehoog/poseidon v0.0.0-20240301020106-ba6c393a5802 - github.com/vocdoni/arbo v0.0.0-20241120112623-8e1cc943f444 - github.com/vocdoni/vocdoni-z-sandbox v0.0.0-20241113074257-1a711ad38a6b + github.com/vocdoni/arbo v0.0.0-20241216103934-e64315269b49 + github.com/vocdoni/vocdoni-z-sandbox v0.0.0-20241216104229-fa0b063e636c go.vocdoni.io/dvote v1.10.2-0.20241024102542-c1ce6d744bc5 ) @@ -20,7 +20,6 @@ require ( github.com/beorn7/perks v1.0.1 // indirect github.com/bits-and-blooms/bitset v1.14.3 // indirect github.com/blang/semver/v4 v4.0.0 // indirect - github.com/btcsuite/btcd/btcec/v2 v2.3.3 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/cockroachdb/errors v1.11.3 // indirect github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce // indirect @@ -28,7 +27,7 @@ require ( github.com/cockroachdb/pebble v1.1.2 // indirect github.com/cockroachdb/redact v1.1.5 // indirect github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect - github.com/consensys/bavard v0.1.22 // indirect + github.com/consensys/bavard v0.1.24 // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/dchest/blake512 v1.0.0 // indirect github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect diff --git a/go.sum b/go.sum index 33dbec2..00698e1 100644 --- a/go.sum +++ b/go.sum @@ -6,10 +6,6 @@ github.com/bits-and-blooms/bitset v1.14.3 h1:Gd2c8lSNf9pKXom5JtD7AaKO8o7fGQ2LtFj github.com/bits-and-blooms/bitset v1.14.3/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8= github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM= github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ= -github.com/btcsuite/btcd/btcec/v2 v2.3.3 h1:6+iXlDKE8RMtKsvK0gshlXIuPbyWM/h84Ensb7o3sC0= -github.com/btcsuite/btcd/btcec/v2 v2.3.3/go.mod h1:zYzJ8etWJQIv1Ogk7OzpWjowwOdXY1W/17j2MW85J04= -github.com/btcsuite/btcd/chaincfg/chainhash v1.0.2 h1:KdUfX2zKommPRa+PD0sWZUyXe9w277ABlgELO7H04IM= -github.com/btcsuite/btcd/chaincfg/chainhash v1.0.2/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc= github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cockroachdb/datadriven v1.0.3-0.20230413201302-be42291fc80f h1:otljaYPt5hWxV3MUfO5dFPFiOXg9CyG5/kCfayTqsJ4= @@ -28,12 +24,12 @@ github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 h1:zuQyyAK github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06/go.mod h1:7nc4anLGjupUW/PeY5qiNYsdNXj7zopG+eqsS7To5IQ= github.com/cometbft/cometbft v1.0.0-alpha.1 h1:M0q0RsNYhAwCANXLkJCEJnyf8fBR8O94InkELElGv0E= github.com/cometbft/cometbft v1.0.0-alpha.1/go.mod h1:fwVpJigzDw2UnFchb0fIq7svrLmHcn5AfpMzob/xquI= -github.com/consensys/bavard v0.1.22 h1:Uw2CGvbXSZWhqK59X0VG/zOjpTFuOMcPLStrp1ihI0A= -github.com/consensys/bavard v0.1.22/go.mod h1:k/zVjHHC4B+PQy1Pg7fgvG3ALicQw540Crag8qx+dZs= -github.com/consensys/gnark v0.11.0 h1:YlndnlbRAoIEA+aIIHzNIW4P0dCIOM9/jCVzsXf356c= -github.com/consensys/gnark v0.11.0/go.mod h1:2LbheIOxsBI1a9Ck1XxUoy6PRnH28mSI9qrvtN2HwDY= -github.com/consensys/gnark-crypto v0.14.0 h1:DDBdl4HaBtdQsq/wfMwJvZNE80sHidrK3Nfrefatm0E= -github.com/consensys/gnark-crypto v0.14.0/go.mod h1:CU4UijNPsHawiVGNxe9co07FkzCeWHHrb1li/n1XoU0= +github.com/consensys/bavard v0.1.24 h1:Lfe+bjYbpaoT7K5JTFoMi5wo9V4REGLvQQbHmatoN2I= +github.com/consensys/bavard v0.1.24/go.mod h1:k/zVjHHC4B+PQy1Pg7fgvG3ALicQw540Crag8qx+dZs= +github.com/consensys/gnark v0.11.1-0.20241210204654-a1e66c1d6b4d h1:5W1kh2GTWPNMfmF0rirrFCLsV/0SKRo7MWBpQqjy0B8= +github.com/consensys/gnark v0.11.1-0.20241210204654-a1e66c1d6b4d/go.mod h1:dfIQn+zI0crS8ruRH71+GMOQggFo6mxq3BUjGdrY0gI= +github.com/consensys/gnark-crypto v0.14.1-0.20241213223322-afee1955665f h1:fSN/SblYo81hUUlrwfzMZ240Cxuxe0TkF7uQelxZgjI= +github.com/consensys/gnark-crypto v0.14.1-0.20241213223322-afee1955665f/go.mod h1:ePFa23CZLMRMHxQpY5nMaiAZ3yuEIayaB8ElEvlwLEs= github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= @@ -44,8 +40,8 @@ github.com/decred/dcrd/crypto/blake256 v1.0.1 h1:7PltbUIQB7u/FfZ39+DGa/ShuMyJ5il github.com/decred/dcrd/crypto/blake256 v1.0.1/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPcCXqlm2ArzUIkw9czNJo= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 h1:rpfIENRNNilwHwZeG5+P150SMrnNEcHYvcCuK6dPZSg= github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0/go.mod h1:v57UDF4pDQJcEfFUCRop3lJL149eHGSe9Jvczhzjo/0= -github.com/ethereum/go-ethereum v1.14.7 h1:EHpv3dE8evQmpVEQ/Ne2ahB06n2mQptdwqaMNhAT29g= -github.com/ethereum/go-ethereum v1.14.7/go.mod h1:Mq0biU2jbdmKSZoqOj29017ygFrMnB5/Rifwp980W4o= +github.com/ethereum/go-ethereum v1.14.12 h1:8hl57x77HSUo+cXExrURjU/w1VhL+ShCTJrTwcCQSe4= +github.com/ethereum/go-ethereum v1.14.12/go.mod h1:RAC2gVMWJ6FkxSPESfbshrcKpIokgQKsVKmAuqdekDY= github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8= github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= github.com/fxamacker/cbor/v2 v2.7.0 h1:iM5WgngdRBanHcxugY4JySA0nk1wZorNOpTgCMedv5E= @@ -141,10 +137,10 @@ github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsT github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a h1:1ur3QoCqvE5fl+nylMaIr9PVV1w343YRDtsy+Rwu7XI= github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a/go.mod h1:RRCYJbIwD5jmqPI9XoAFR0OcDxqUctll6zUj/+B4S48= -github.com/vocdoni/arbo v0.0.0-20241120112623-8e1cc943f444 h1:wi1im1TNNBSs8P4uZ5ySbGi+MUvH4eg5lv2I9ZOsin0= -github.com/vocdoni/arbo v0.0.0-20241120112623-8e1cc943f444/go.mod h1:Esswqcf/RWCJHJ6zB51hefUxYR+bJbs1zjJ1Bpb3InE= -github.com/vocdoni/vocdoni-z-sandbox v0.0.0-20241113074257-1a711ad38a6b h1:Hf7CZnNm8XhGBb0XBYVDUir7iNhIryJSmSUz+wlV7vw= -github.com/vocdoni/vocdoni-z-sandbox v0.0.0-20241113074257-1a711ad38a6b/go.mod h1:B43i83saYhSReG+jNAj0igxWcZYHGjF2AeXunaXnCQE= +github.com/vocdoni/arbo v0.0.0-20241216103934-e64315269b49 h1:GMyepEuxLflqhdDHts/eUMtVkbrCI5mJc8RVdlwZBoA= +github.com/vocdoni/arbo v0.0.0-20241216103934-e64315269b49/go.mod h1:wXxPP+5vkT5t54lrKz6bCXKIyv8aRplKq8uCFb2wgy4= +github.com/vocdoni/vocdoni-z-sandbox v0.0.0-20241216104229-fa0b063e636c h1:0KJ3ufAYWGpdXgdlnLjFblW98MK+KfdYUiXzKPtk9PA= +github.com/vocdoni/vocdoni-z-sandbox v0.0.0-20241216104229-fa0b063e636c/go.mod h1:mFXFbumAbxySlviwrGiclFPRiSDIs4WzXnQQqPyNX9k= github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM= github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg= github.com/xdg-go/pbkdf2 v1.0.0 h1:Su7DPu48wXMwC3bs7MCNG+z4FhcyEuz5dlvchbq0B0c= diff --git a/hash/bn254/poseidon/poseidon_test.go b/hash/bn254/poseidon/poseidon_test.go index c884734..919a200 100644 --- a/hash/bn254/poseidon/poseidon_test.go +++ b/hash/bn254/poseidon/poseidon_test.go @@ -14,7 +14,7 @@ import ( "github.com/consensys/gnark/profile" "github.com/consensys/gnark/test" hash "github.com/iden3/go-iden3-crypto/poseidon" - "github.com/vocdoni/vocdoni-z-sandbox/hash/poseidon" + "github.com/vocdoni/vocdoni-z-sandbox/crypto/hash/poseidon" ) type testPoseidonCiruit struct {