Roman Khimov
7c356163e2
go.mod: upgrade github.com/consensys/gnark-crypto to v0.13.0
...
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2024-09-04 10:49:58 +03:00
Roman Khimov
dfcff64acb
go.mod: update to Go 1.22+
...
This also changes workflows to test 1.22 and 1.23 only (refs. https://github.com/nspcc-dev/.github/issues/30 ).
Fixes #3310 .
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2024-08-30 17:00:11 +03:00
Roman Khimov
8bececb511
go.mod: update github.com/consensys/gnark to v0.10.0
...
Fixes a security issue, https://github.com/Consensys/gnark/issues/897
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2024-08-27 15:40:49 +03:00
Roman Khimov
f21edef43b
*: bump min Go to 1.21, use 1.23 by default
...
Fixes #3089 .
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2024-08-23 19:11:06 +03:00
Roman Khimov
19aad75242
*: update interops
...
Signed-off-by: Roman Khimov <roman@nspcc.ru>
2024-07-27 12:56:56 +03:00
Anna Shaleva
aa5a0cb49b
*: update interop deps
...
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2024-05-21 12:36:51 +03:00
Anna Shaleva
e275495850
*: update interop deps
...
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2024-05-13 10:16:04 +03:00
Anna Shaleva
ac70f069ff
Revert "build(deps): bump github.com/consensys/gnark"
...
This reverts commit 874ed1ac2e
.
We can't allow this gnark update since minimum required Go version for
NeoGo and all examples is 1.20. It will be done as a part of #3089 .
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2024-05-01 15:24:07 +03:00
dependabot[bot]
874ed1ac2e
build(deps): bump github.com/consensys/gnark
...
Bumps [github.com/consensys/gnark](https://github.com/consensys/gnark ) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/consensys/gnark/releases )
- [Changelog](https://github.com/Consensys/gnark/blob/master/CHANGELOG.md )
- [Commits](https://github.com/consensys/gnark/compare/v0.9.1...v0.10.0 )
---
updated-dependencies:
- dependency-name: github.com/consensys/gnark
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-25 13:49:06 +00:00
Ekaterina Pavlova
6d1a22dcb3
*: update interop deps
...
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-03-22 17:17:30 +03:00
Ekaterina Pavlova
f8ebed2da4
*: update interop deps
...
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-03-22 16:48:58 +03:00
dependabot[bot]
b78b715259
build(deps): bump google.golang.org/protobuf
...
Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-13 23:06:06 +00:00
Anna Shaleva
13ff95a3d3
go.mod: upgrade minimum required Go version to 1.20
...
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2024-03-05 13:54:10 +03:00
dependabot[bot]
ad122aec41
build(deps): bump golang.org/x/crypto in /examples/zkp/cubic_circuit
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 23:40:58 +00:00
Anna Shaleva
a159054f10
*: update interop dependency
...
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2023-11-28 10:49:39 +03:00
Anna Shaleva
626f1ee198
examples: do not replace neo-go library for ZKP examples
...
0.103.1 contains all necessary changes to run tests.
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2023-11-24 09:21:09 +03:00
dependabot[bot]
19cfbc8d85
build(deps): bump github.com/consensys/gnark
...
Bumps [github.com/consensys/gnark](https://github.com/consensys/gnark ) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/consensys/gnark/releases )
- [Changelog](https://github.com/Consensys/gnark/blob/master/CHANGELOG.md )
- [Commits](https://github.com/consensys/gnark/compare/v0.9.0...v0.9.1 )
---
updated-dependencies:
- dependency-name: github.com/consensys/gnark
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 07:20:33 +00:00
Anna Shaleva
1745b21142
*: upgrade gnark-crypto up to v0.12.0
...
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2023-10-05 13:46:05 +03:00
Anna Shaleva
03951c94b0
examples: add production CRS generation instructions for ZKP examples
...
Add an example and instructions for production CRS generation to ZKP examples
with gnark >= v0.9.0.
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2023-10-05 13:45:58 +03:00
Anna Shaleva
9e74fc5b47
zkp: add end-to-end Groth-16 proof generation/verification example
...
The example shows that the proover knows the solution of the cubic
equation: y = x^3 + x + 5. The example is constructed for BLS12-381
curve points using Groth-16 prooving algorithm. The example includes
everything that developer needs to start using ZKP on the NEO platform
with Go SDK:
1. The described cubic circuit implementation.
2. The off-chain proof generation with the help of gnark-crypto library.
3. Go verification contract generation and deployment with the help of
NeoGo libraries.
4. The on-chain proof verification for various sets of input data.
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2023-10-05 12:32:47 +03:00