-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathMakefile
40 lines (30 loc) · 1.24 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
yarn-check:
yarn install --immutable --immutable-cache --silent || { \
echo "Please run yarn install"; exit 1; \
}
.PHONY: dendreth-relay-node
dendreth-relay-node:
nix run '.#docker-image-yarn.copyToDockerDaemon'
nix run '.?submodules=1#docker-image-all.copyToDockerDaemon'
docker build -t metacraft/dendreth-relay-node -f Dockerfile.relay .
publish-dendreth-relay-node: dendreth-relay-node
docker push metacraft/dendreth-relay-node
test-validator-accumulator: yarn-check
cd beacon-light-client/solidity && \
yarn hardhat test test/ValidatorAccumulator.test.ts
evm-simulation: yarn-check
cd beacon-light-client/solidity && \
yarn hardhat test test/BeaconLightClientReadyProofs.test.ts
one-shot-syncing-simulation: yarn-check
cd beacon-light-client/circom && \
yarn hardhat run scripts/light_client_recursive/verify_updates.ts
test-groth16-verifier:
nim c -r tests/nim-groth16-verifier/verifier_test.nim
test-solidity-beacon-light-client-verifier:
cd beacon-light-client/solidity && \
yarn hardhat test test/BeaconLightClientReadyProofs.test.ts
test-circom-circuits:
./beacon-light-client/circom/test/run_snarkit2_tests.sh --force_recompile
test-plonky2-circuits:
cd beacon-light-client/plonky2/crates/circuits && \
cargo test --release