examples: add compatibility example for Groth16 veification

Port the C# contract provided in the
https://github.com/neo-project/neo/issues/2647#issuecomment-1129849870 and
add an integration test for it. Part of the #3002.

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
Anna Shaleva 2023-07-29 14:02:33 +03:00
parent 4598f3d3c2
commit 0a3260c22c
8 changed files with 135 additions and 0 deletions

View file

@ -57,6 +57,10 @@ func TestCompiler(t *testing.T) {
// there is also a couple of files inside the `examplePath` which don't need to be compiled
continue
}
if info.Name() == "zkp" {
// A set of special ZKP-related examples, they have their own tests.
continue
}
targetPath := filepath.Join(examplePath, info.Name())
require.NoError(t, compileFile(targetPath), info.Name())