From f77b363500facac9c0d9f88ad187d8536be53929 Mon Sep 17 00:00:00 2001 From: HAOYUatHZ Date: Tue, 16 Nov 2021 10:05:17 +0800 Subject: [PATCH] fix --- config/client.yaml.template | 2 +- config/client_with_lag.yaml.template | 2 +- config/coordinator.yaml.example | 2 +- config/coordinator.yaml.template | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/client.yaml.template b/config/client.yaml.template index d068486..3ca5fcd 100644 --- a/config/client.yaml.template +++ b/config/client.yaml.template @@ -3,6 +3,6 @@ upstream: "http://[::1]:50055" poll_interval: 10000 srs_monomial_form: "${TARGET_CIRCUIT_DIR}/mon.key" circuit: - name: "block_2" + name: "block_${N_TXS}" bin: "${TARGET_CIRCUIT_DIR}/circuit.fast" r1cs: "${TARGET_CIRCUIT_DIR}/circuit.r1cs" diff --git a/config/client_with_lag.yaml.template b/config/client_with_lag.yaml.template index 7ea4533..bb0c145 100644 --- a/config/client_with_lag.yaml.template +++ b/config/client_with_lag.yaml.template @@ -3,7 +3,7 @@ upstream: "http://[::1]:50055" poll_interval: 10000 srs_monomial_form: "${TARGET_CIRCUIT_DIR}/mon.key" circuit: - name: "block_2" + name: "block_${N_TXS}" bin: "${TARGET_CIRCUIT_DIR}/circuit.fast" r1cs: "${TARGET_CIRCUIT_DIR}/circuit.r1cs" srs_lagrange_form: "${TARGET_CIRCUIT_DIR}/lag.key" diff --git a/config/coordinator.yaml.example b/config/coordinator.yaml.example index 7ae0f98..37062d1 100644 --- a/config/coordinator.yaml.example +++ b/config/coordinator.yaml.example @@ -1,5 +1,5 @@ port: 50055 db: postgres://rollup:rollup_AA9944@127.0.0.1:5433/rollup circuits: - block: + block_2: vk: "vk.bin" diff --git a/config/coordinator.yaml.template b/config/coordinator.yaml.template index f0294c7..bcf97b2 100644 --- a/config/coordinator.yaml.template +++ b/config/coordinator.yaml.template @@ -1,5 +1,5 @@ port: ${PORT} db: ${DB} circuits: - block: + block_${N_TXS}": vk: "${TARGET_CIRCUIT_DIR}/vk.bin"