dreamATD / pianist-gnark

The implementation of Pianist (a distributed variant of Plonk) based on gnark.
Apache License 2.0
32 stars 8 forks source link

Apparent problem with external library directory loading #2

Open udochify opened 2 weeks ago

udochify commented 2 weeks ago

Hello, I setup your program code as documented in your read me file, yet I get this error when trying to run the example:

main.go:23:2: github.com/consensys/gnark-crypto@v0.7.0: replacement directory ../pianist-gnark-crypto does not exist
main.go:24:2: github.com/consensys/gnark-crypto@v0.7.0: replacement directory ../pianist-gnark-crypto does not exist
../../backend/piano/piano.go:6:2: github.com/consensys/gnark-crypto@v0.7.0: replacement directory ../pianist-gnark-crypto does not exist
../../internal/backend/bls12-377/witness/witness.go:30:2: github.com/consensys/gnark-crypto@v0.7.0: replacement directory ../pianist-gnark-crypto does not exist
../../internal/backend/bls12-377/witness/witness.go:28:2: github.com/consensys/gnark-crypto@v0.7.0: replacement directory ../pianist-gnark-crypto does not exist
../../internal/backend/bls12-381/witness/witness.go:30:2: github.com/consensys/gnark-crypto@v0.7.0: replacement directory ../pianist-gnark-crypto does not exist
../../internal/backend/bls12-381/witness/witness.go:28:2: github.com/consensys/gnark-crypto@v0.7.0: replacement directory ../pianist-gnark-crypto does not exist
../../internal/backend/bls24-315/witness/witness.go:30:2: github.com/consensys/gnark-crypto@v0.7.0: replacement directory ../pianist-gnark-crypto does not exist
../../internal/backend/bls24-315/witness/witness.go:28:2: github.com/consensys/gnark-crypto@v0.7.0: replacement directory ../pianist-gnark-crypto does not exist
../../internal/backend/bn254/witness/witness.go:30:2: github.com/consensys/gnark-crypto@v0.7.0: replacement directory ../pianist-gnark-crypto does not exist
../../internal/backend/bw6-633/witness/witness.go:30:2: github.com/consensys/gnark-crypto@v0.7.0: replacement directory ../pianist-gnark-crypto does not exist
../../internal/backend/bw6-633/witness/witness.go:28:2: github.com/consensys/gnark-crypto@v0.7.0: replacement directory ../pianist-gnark-crypto does not exist
../../internal/backend/bw6-761/witness/witness.go:30:2: github.com/consensys/gnark-crypto@v0.7.0: replacement directory ../pianist-gnark-crypto does not exist
../../internal/backend/bw6-761/witness/witness.go:28:2: github.com/consensys/gnark-crypto@v0.7.0: replacement directory ../pianist-gnark-crypto does not exist
../../internal/backend/bn254/piano/prove.go:30:2: github.com/consensys/gnark-crypto@v0.7.0: replacement directory ../pianist-gnark-crypto does not exist
../../internal/backend/bn254/piano/prove.go:31:2: github.com/consensys/gnark-crypto@v0.7.0: replacement directory ../pianist-gnark-crypto does not exist
../../internal/backend/bn254/piano/prove.go:32:2: github.com/consensys/gnark-crypto@v0.7.0: replacement directory ../pianist-gnark-crypto does not exist
../../internal/backend/bn254/piano/prove.go:33:2: github.com/consensys/gnark-crypto@v0.7.0: replacement directory ../pianist-gnark-crypto does not exist

It seems some of the directory structures of some of the libraries you used have been updated and doesn't match with the ones you used earlier.

dreamATD commented 3 days ago

Did you do this step?

Clone the dreamATD/pianist-gnark-crypto/ under the same directory as /pianist-gnark.