Skip to content

Commit c9d5e78

Browse files
committed
chore: update config files proofs limit
1 parent 5fe0d4f commit c9d5e78

4 files changed

Lines changed: 23 additions & 12 deletions

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

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ last_aggregated_block_filepath: config-files/proof-aggregator.last_aggregated_bl
77
proofs_per_chunk: 512 # Amount of proofs to process per chunk
88
# This number comes from the blob data limit
99
# 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
10+
# But to not surpass the field modulus we pad with a 0xo byte so we have (4096 * 31) = 126.976 bytes
11+
# of usable data
12+
# Since each proof commitments takes 32 bytes hash
13+
# We can aggregate as much proofs as 126.976 / 32 = 3968 per blob
14+
total_proofs_limit: 3968
1315

1416
ecdsa:
1517
private_key_store_path: "config-files/anvil.proof-aggregator.ecdsa.key.json"

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ last_aggregated_block_filepath: config-files/proof-aggregator.last_aggregated_bl
77
proofs_per_chunk: 512 # Amount of proofs to process per chunk
88
# This number comes from the blob data limit
99
# 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
10+
# But to not surpass the field modulus we pad with a 0xo byte so we have (4096 * 31) = 126.976 bytes
11+
# of usable data
12+
# Since each proof commitments takes 32 bytes hash
13+
# We can aggregate as much proofs as 126.976 / 32 = 3968 per blob
14+
total_proofs_limit: 3968
15+
1316

1417
ecdsa:
1518
private_key_store_path: "config-files/anvil.proof-aggregator.ecdsa.key.json"

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ last_aggregated_block_filepath: config-files/proof-aggregator.last_aggregated_bl
77
proofs_per_chunk: 512 # Amount of proofs to process per chunk
88
# This number comes from the blob data limit
99
# 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
10+
# But to not surpass the field modulus we pad with a 0xo byte so we have (4096 * 31) = 126.976 bytes
11+
# of usable data
12+
# Since each proof commitments takes 32 bytes hash
13+
# We can aggregate as much proofs as 126.976 / 32 = 3968 per blob
14+
total_proofs_limit: 3968
15+
1316

1417
ecdsa:
1518
private_key_store_path: "config-files/anvil.proof-aggregator.ecdsa.key.json"

config-files/config-proof-aggregator.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ last_aggregated_block_filepath: config-files/proof-aggregator.last_aggregated_bl
77
proofs_per_chunk: 512 # Amount of proofs to process per chunk
88
# This number comes from the blob data limit
99
# 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
10+
# But to not surpass the field modulus we pad with a 0xo byte so we have (4096 * 31) = 126.976 bytes
11+
# of usable data
12+
# Since each proof commitments takes 32 bytes hash
13+
# We can aggregate as much proofs as 126.976 / 32 = 3968 per blob
14+
total_proofs_limit: 3968
15+
1316

1417
ecdsa:
1518
private_key_store_path: "config-files/anvil.proof-aggregator.ecdsa.key.json"

0 commit comments

Comments
 (0)