Update GET config/spec endpoint to support Deneb config (#4708)

* Update `GET config/spec` endpoint to support Deneb config.

* Update config spec `http_api` test
This commit is contained in:
Jimmy Chen
2023-09-09 16:09:50 +10:00
committed by GitHub
parent 87ec7599fe
commit 50bf40b4bc
11 changed files with 103 additions and 27 deletions

View File

@@ -0,0 +1,12 @@
# Gnosis preset - Deneb
# NOTE: The below are PLACEHOLDER values from Mainnet.
# Gnosis preset for the Deneb fork TBD: https://github.com/gnosischain/configs/tree/main/presets/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

View File

@@ -0,0 +1,10 @@
# Mainnet preset - Deneb
# 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

View File

@@ -0,0 +1,10 @@
# Minimal preset - Deneb
# Misc
# ---------------------------------------------------------------
# [customized]
FIELD_ELEMENTS_PER_BLOB: 4
# [customized]
MAX_BLOB_COMMITMENTS_PER_BLOCK: 16
# `uint64(6)`
MAX_BLOBS_PER_BLOCK: 6