Skip to content

Commit 5fe0d4f

Browse files
committed
chore: update config files
1 parent 93b7b34 commit 5fe0d4f

4 files changed

Lines changed: 20 additions & 0 deletions

config-files/config-proof-aggregator-ethereum-package.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ eth_ws_url: "ws://localhost:8546"
55
max_proofs_in_queue: 1000
66
last_aggregated_block_filepath: config-files/proof-aggregator.last_aggregated_block.json
77
proofs_per_chunk: 512 # Amount of proofs to process per chunk
8+
# This number comes from the blob data limit
9+
# Since each blob has a capacity of (4096 * 32) = 131.072 bytes
10+
# Since each proof commitments takes 32 bytes hash + 1 byte for padding
11+
# We can aggregate as much proofs as 131.072 / 33 ~= 3971 per blob
12+
total_proofs_limit: 3970
813

914
ecdsa:
1015
private_key_store_path: "config-files/anvil.proof-aggregator.ecdsa.key.json"

config-files/config-proof-aggregator-mock-ethereum-package.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ eth_ws_url: "ws://localhost:8546"
55
max_proofs_in_queue: 1000
66
last_aggregated_block_filepath: config-files/proof-aggregator.last_aggregated_block.json
77
proofs_per_chunk: 512 # Amount of proofs to process per chunk
8+
# This number comes from the blob data limit
9+
# Since each blob has a capacity of (4096 * 32) = 131.072 bytes
10+
# Since each proof commitments takes 32 bytes hash + 1 byte for padding
11+
# We can aggregate as much proofs as 131.072 / 33 ~= 3971 per blob
12+
total_proofs_limit: 3970
813

914
ecdsa:
1015
private_key_store_path: "config-files/anvil.proof-aggregator.ecdsa.key.json"

config-files/config-proof-aggregator-mock.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ eth_ws_url: "ws://localhost:8545"
55
max_proofs_in_queue: 1000
66
last_aggregated_block_filepath: config-files/proof-aggregator.last_aggregated_block.json
77
proofs_per_chunk: 512 # Amount of proofs to process per chunk
8+
# This number comes from the blob data limit
9+
# Since each blob has a capacity of (4096 * 32) = 131.072 bytes
10+
# Since each proof commitments takes 32 bytes hash + 1 byte for padding
11+
# We can aggregate as much proofs as 131.072 / 33 ~= 3971 per blob
12+
total_proofs_limit: 3970
813

914
ecdsa:
1015
private_key_store_path: "config-files/anvil.proof-aggregator.ecdsa.key.json"

config-files/config-proof-aggregator.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ eth_ws_url: "ws://localhost:8545"
55
max_proofs_in_queue: 1000
66
last_aggregated_block_filepath: config-files/proof-aggregator.last_aggregated_block.json
77
proofs_per_chunk: 512 # Amount of proofs to process per chunk
8+
# This number comes from the blob data limit
9+
# Since each blob has a capacity of (4096 * 32) = 131.072 bytes
10+
# Since each proof commitments takes 32 bytes hash + 1 byte for padding
11+
# We can aggregate as much proofs as 131.072 / 33 ~= 3971 per blob
12+
total_proofs_limit: 3970
813

914
ecdsa:
1015
private_key_store_path: "config-files/anvil.proof-aggregator.ecdsa.key.json"

0 commit comments

Comments
 (0)