Skip to content

Commit

Permalink
feat: impose linea block gas limit (#600)
Browse files Browse the repository at this point in the history
Signed-off-by: F Bojarski <[email protected]>
  • Loading branch information
letypequividelespoubelles authored Feb 26, 2025
1 parent da8d1d7 commit 6d52fce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blockdata/columns.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
(INST :byte :display :opcode)
(COINBASE_HI :i32)
(COINBASE_LO :i128)
(BLOCK_GAS_LIMIT :i64)
(BLOCK_GAS_LIMIT :i32)
(BASEFEE :i64)
(FIRST_BLOCK_NUMBER :i48)
(REL_BLOCK :i16)
Expand Down
3 changes: 3 additions & 0 deletions blockdata/processing/gaslimit/linea.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@

(defconst GAS_LIMIT_MINIMUM LINEA_GAS_LIMIT_MINIMUM)
(defconst GAS_LIMIT_MAXIMUM LINEA_GAS_LIMIT_MAXIMUM)

(defconstraint block-gas-limit-value (:guard IS_GASLIMIT)
(eq! BLOCK_GAS_LIMIT LINEA_BLOCK_GAS_LIMIT))
2 changes: 1 addition & 1 deletion constants/constants.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; LINEA MISC ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
LINEA_BLOCK_GAS_LIMIT 61000000
LINEA_CHAIN_ID 0xe708
LINEA_GOERLI_CHAIN_ID 0xe704
LINEA_SEPOLIA_CHAIN_ID 0xe705
Expand All @@ -240,6 +239,7 @@
ETHEREUM_GAS_LIMIT_MAXIMUM 0xffffffffffffffff ;; maxUint64
LINEA_GAS_LIMIT_MINIMUM 61000000
LINEA_GAS_LIMIT_MAXIMUM 2000000000
LINEA_BLOCK_GAS_LIMIT LINEA_GAS_LIMIT_MAXIMUM
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; SIZE / LENGTH ;;
Expand Down

0 comments on commit 6d52fce

Please sign in to comment.