Skip to content

Commit

Permalink
chore: update gnosis config (#882)
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaRedHand authored Mar 15, 2024
1 parent 6e9b9ed commit 155d159
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/networks/gnosis/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ CAPELLA_FORK_VERSION: 0x03000064
CAPELLA_FORK_EPOCH: 648704 # 2023-08-01T11:34:20.000Z
# Deneb
DENEB_FORK_VERSION: 0x04000064
DENEB_FORK_EPOCH: 18446744073709551615
DENEB_FORK_EPOCH: 889856 # 2024-03-11T18:30:20.000Z

# Time parameters
# ---------------------------------------------------------------
Expand Down
13 changes: 13 additions & 0 deletions config/presets/gnosis/deneb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Gnosis preset - Deneb
# https://github.com/gnosischain/specs/tree/master/consensus/preset/gnosis

# Misc
# ---------------------------------------------------------------
# `uint64(4096)`
FIELD_ELEMENTS_PER_BLOB: 4096
# `uint64(2**12)` (= 4096)
MAX_BLOB_COMMITMENTS_PER_BLOCK: 4096
# `uint64(6)`
MAX_BLOBS_PER_BLOCK: 6
# `floorlog2(BLOB_KZG_COMMITMENTS_GINDEX) + 1 + ceillog2(MAX_BLOB_COMMITMENTS_PER_BLOCK)` = 4 + 1 + 12 = 17
KZG_COMMITMENT_INCLUSION_PROOF_DEPTH: 17

0 comments on commit 155d159

Please sign in to comment.