Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: impose linea block gas limit #600

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading