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

fix(rlpTxn): constraint ADDR during AccessList tuple & ChainId #403

Conversation

(remained-constant! ADDR_LO))))
(if-not-zero (* [DEPTH 1] (- nADDR (- (prev nADDR) 1)))
(begin (remained-constant! ADDR_HI)
(remained-constant! ADDR_LO))))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not following how this maps to

image

Copy link
Collaborator

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

Copy link
Collaborator

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 ?

Copy link
Collaborator Author

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.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see
Uploading image.png…

@letypequividelespoubelles letypequividelespoubelles changed the title fix(rlpTxn): constraint ADDR during AccessList tuple fix(rlpTxn): constraint ADDR during AccessList tuple & ChainId Sep 27, 2024
@letypequividelespoubelles letypequividelespoubelles linked an issue Sep 27, 2024 that may be closed by this pull request
Signed-off-by: Francois Bojarski <[email protected]>
Signed-off-by: Francois Bojarski <[email protected]>
rlptxn/constraints.lisp Outdated Show resolved Hide resolved
Signed-off-by: Francois Bojarski <[email protected]>
@letypequividelespoubelles letypequividelespoubelles merged commit 1c658b5 into master Sep 27, 2024
2 checks passed
@letypequividelespoubelles letypequividelespoubelles deleted the 402-rlp_txn-addr_hilo-is-not-constraint-to-be-constant-along-accesslist-tuple branch September 27, 2024 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working veridise audit
Projects
None yet
2 participants