Skip to content

Commit

Permalink
ras
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierBBB committed Jan 14, 2025
1 parent 2a343fa commit ef2ed7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions blockdata/processing/gaslimit/linea.lisp
Original file line number Diff line number Diff line change
@@ -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)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;;
Expand Down
3 changes: 2 additions & 1 deletion constants/constants.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ;;
Expand Down

0 comments on commit ef2ed7c

Please sign in to comment.