docker update
This commit is contained in:
parent
fe2912fc33
commit
11c48fae14
@ -16,7 +16,6 @@ COPY circuits circuits
|
|||||||
COPY scripts scripts
|
COPY scripts scripts
|
||||||
# ENV NODE_OPTIONS='--trace-gc --trace-gc-ignore-scavenger --max-old-space-size=2048000 --initial-old-space-size=2048000 --no-global-gc-scheduling --no-incremental-marking --max-semi-space-size=1024 --initial-heap-size=2048000'
|
# ENV NODE_OPTIONS='--trace-gc --trace-gc-ignore-scavenger --max-old-space-size=2048000 --initial-old-space-size=2048000 --no-global-gc-scheduling --no-incremental-marking --max-semi-space-size=1024 --initial-heap-size=2048000'
|
||||||
ENV NODE_OPTIONS='--max-old-space-size=2048000'
|
ENV NODE_OPTIONS='--max-old-space-size=2048000'
|
||||||
RUN mkdir -p build/circuits
|
|
||||||
RUN yarn circuit:batchTreeUpdateLarge
|
RUN yarn circuit:batchTreeUpdateLarge
|
||||||
RUN yarn circuit:batchTreeUpdateWitness
|
RUN yarn circuit:batchTreeUpdateWitness
|
||||||
COPY . .
|
COPY . .
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
# required dependencies: libgmp-dev nlohmann-json3-dev nasm g++
|
# required dependencies: libgmp-dev nlohmann-json3-dev nasm g++
|
||||||
cd build/circuits
|
cd artifacts/circuits
|
||||||
node ../../node_modules/ffiasm/src/buildzqfield.js -q 21888242871839275222246405745257275088548364400416034343698204186575808495617 -n Fr
|
node ../../node_modules/ffiasm/src/buildzqfield.js -q 21888242871839275222246405745257275088548364400416034343698204186575808495617 -n Fr
|
||||||
nasm -felf64 fr.asm
|
nasm -felf64 fr.asm
|
||||||
cp ../../node_modules/circom_runtime/c/*.cpp ./
|
cp ../../node_modules/circom_runtime/c/*.cpp ./
|
||||||
|
Loading…
Reference in New Issue
Block a user