Skip to content

Commit 6abbf79

Browse files
fix: osaka ref tests (#837)
Signed-off-by: F Bojarski <[email protected]>
1 parent 78157f7 commit 6abbf79

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

constants/constants.lisp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
EVM_CANCUN 19
1111
EVM_PRAGUE 20
1212
EVM_OSAKA 21
13+
EVM_AMSTERDAM 22
1314
;; Default fork
1415
(EVM_FORK :i8 :extern) EVM_LONDON
1516
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

rlptxn/cancun/columns/shared.lisp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
( IS_R :binary@prove )
3535
( IS_S :binary@prove )
3636
;; ( PHASE_END :binary ) ;; defcomputed column
37-
( CT :i16 ) ;; Linea call data is capped at 120kB < 2**17 limbs = 2**13 bytes
38-
( CT_MAX :i16 )
37+
( CT :i32 ) ;; Linea call data is capped at 120kB < 2**17 limbs = 2**13 bytes
38+
( CT_MAX :i32 ) ;; i16 is not enough for ref tests
3939
;; ( DONE :binary ) ;; defcomputed column
4040
( REPLAY_PROTECTION :binary@prove )
4141
( Y_PARITY :binary@prove )

rlptxn/cancun/constraints/generalities/indexes.lisp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
(module rlptxn)
22

3-
(defcomputedcolumn (INDEX_LT :i16 :fwd)
3+
;;note: :i16 is not enough for ref tests
4+
5+
(defcomputedcolumn (INDEX_LT :i32 :fwd)
46
(if-not-zero (is-first-row-of-transaction)
57
;; initialization
68
0
79
;; update
810
(+ (prev INDEX_LT) (* (prev LC) (prev LT)))
911
))
1012

11-
(defcomputedcolumn (INDEX_LX :i16 :fwd)
13+
(defcomputedcolumn (INDEX_LX :i32 :fwd)
1214
(if-not-zero (is-first-row-of-transaction)
1315
;; initialization
1416
0

0 commit comments

Comments
 (0)