arnaucube cf199fd832 | 4 years ago | |
---|---|---|
.. | ||
README.md | 4 years ago | |
prover.go | 4 years ago | |
prover_test.go | 4 years ago |
It is necessary to have a docker with server locally.
The instructions in the following link can be followed: https://github.com/hermeznetwork/test-info/tree/main/cli-prover
It is necessary to consult the pre-requirements to follow the steps of the next summary
A summary of the steps to follow to run docker would be:
cd cli-prover
./cli-prover.sh -s localhost -v ~/prover_data -r 22
docker exec -ti docker_cusnarks bash
cd cusnarks; make docker_all FORCE_CPU=1
cd config; python3 cusnarks_config.py 22 BN256
exit
./cli-prover.sh -h
./cli-prover.sh --post-start <session>
./cli-prover.sh --get-status <session>
is ready
can be run the test.The session can be consulted with
tmux ls
. The session will be the number of the last session on the list.
INTEGRATION=1 go test