diff --git a/blockdata/processing/gaslimit/linea.lisp b/blockdata/processing/gaslimit/linea.lisp index 76141104..ce2dc718 100644 --- a/blockdata/processing/gaslimit/linea.lisp +++ b/blockdata/processing/gaslimit/linea.lisp @@ -1,8 +1,8 @@ (module blockdata) ;; TODO add reference to global constants -(defconst GAS_LIMIT_MINIMUM 61000000) -(defconst GAS_LIMIT_MAXIMUM 2000000000) +(defconst GAS_LIMIT_MINIMUM 61000000) +(defconst GAS_LIMIT_MAXIMUM 2000000000) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;; diff --git a/constants/constants.lisp b/constants/constants.lisp index 2150549f..d796df74 100644 --- a/constants/constants.lisp +++ b/constants/constants.lisp @@ -221,11 +221,12 @@ LINEA_BASE_FEE 7 LINEA_DIFFICULTY 2 LINEA_MAX_NUMBER_OF_TRANSACTIONS_IN_BATCH 200 + GAS_LIMIT_ADJUSTMENT_FACTOR 1024 + ;; we keep the following constants as they are referenced in blockdata gas limit tests ETHEREUM_GAS_LIMIT_MINIMUM 5000 ETHEREUM_GAS_LIMIT_MAXIMUM 0xffffffffffffffff ;; maxUint64 LINEA_GAS_LIMIT_MINIMUM 61000000 LINEA_GAS_LIMIT_MAXIMUM 2000000000 - GAS_LIMIT_ADJUSTMENT_FACTOR 1024 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; SIZE / LENGTH ;;