Skip to content

Commit

Permalink
Merge pull request #3521 from ethereum/official-kzg
Browse files Browse the repository at this point in the history
Use official KZG ceremony output trusted setups
  • Loading branch information
hwwhww authored Oct 18, 2023
2 parents 9356e82 + 8d91941 commit 0002f43
Show file tree
Hide file tree
Showing 12 changed files with 8,387 additions and 56 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ gen_kzg_setups:
if ! test -d venv; then python3 -m venv venv; fi; \
. venv/bin/activate; \
pip3 install -r requirements.txt; \
python3 ./gen_kzg_trusted_setups.py --secret=1337 --g1-length=4 --g2-length=65 --output-dir ${CURRENT_DIR}/presets/minimal/trusted_setups; \
python3 ./gen_kzg_trusted_setups.py --secret=1337 --g1-length=4096 --g2-length=65 --output-dir ${CURRENT_DIR}/presets/minimal/trusted_setups; \
python3 ./gen_kzg_trusted_setups.py --secret=1337 --g1-length=4096 --g2-length=65 --output-dir ${CURRENT_DIR}/presets/mainnet/trusted_setups

# For any generator, build it using the run_generator function.
Expand Down
1 change: 0 additions & 1 deletion presets/mainnet/trusted_setups/testing_trusted_setups.json

This file was deleted.

4,167 changes: 4,167 additions & 0 deletions presets/mainnet/trusted_setups/trusted_setup_4096.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions presets/minimal/deneb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

# Misc
# ---------------------------------------------------------------
# [customized]
FIELD_ELEMENTS_PER_BLOB: 4
# `uint64(4096)`
FIELD_ELEMENTS_PER_BLOB: 4096
# [customized]
MAX_BLOB_COMMITMENTS_PER_BLOCK: 16
# `uint64(6)`
Expand Down
1 change: 0 additions & 1 deletion presets/minimal/trusted_setups/testing_trusted_setups.json

This file was deleted.

Loading

0 comments on commit 0002f43

Please sign in to comment.