-
Notifications
You must be signed in to change notification settings - Fork 9
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
fix(rlpTxn): constraint ADDR during AccessList tuple & ChainId #403
fix(rlpTxn): constraint ADDR during AccessList tuple & ChainId #403
Conversation
Signed-off-by: Francois Bojarski <francois.bojarski@consensys.net>
rlptxn/constraints.lisp
Outdated
(remained-constant! ADDR_LO)))) | ||
(if-not-zero (* [DEPTH 1] (- nADDR (- (prev nADDR) 1))) | ||
(begin (remained-constant! ADDR_HI) | ||
(remained-constant! ADDR_LO)))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this relates to this spec update: https://github.com/Consensys/linea-specification-internal/pull/618
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My next question would be: are special precautions required for the first row of IS_PHASE_ACCESS_LIST = 1
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, the first row of ACCESS£LIST PHASE has DEPTH_1 = 0, so it's OK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…-be-constant-along-accesslist-tuple
Signed-off-by: Francois Bojarski <francois.bojarski@consensys.net>
spec : https://github.com/Consensys/linea-specification-internal/pull/620 & https://github.com/Consensys/linea-specification-internal/pull/618