-
Notifications
You must be signed in to change notification settings - Fork 10
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
Implement EIP 3607 #298
Implement EIP 3607 #298
Conversation
@@ -58,6 +58,9 @@ | |||
(DOM-SUB-stamps---standard TX_INIT_SENDER_ACCOUNT_ROW_OFFSET | |||
0))) | |||
|
|||
(defconstraint tx-initialization---EIP-3607---reject-transactions-from-senders-with-deployed-codey (:guard (tx-init---standard-precondition)) | |||
(vanishes! (shift account/HAS_CODE TX_INIT_SENDER_ACCOUNT_ROW_OFFSET))) | |||
|
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.
|
||
|
||
(defconstraint tx-skip---EIP-3607---reject-transactions-from-senders-with-deployed-codey (:guard (tx-skip---precondition)) | ||
(vanishes! (shift account/HAS_CODE tx-skip---row-offset---sender-account))) |
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.
tx-skip---row-offset---sender-account 0 | ||
tx-skip---row-offset---recipient-account 1 | ||
tx-skip---row-offset---coinbase-account 2 | ||
tx-skip---row-offset---transaction-row 3) |
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.
Ignore this @letypequividelespoubelles : it's a more coherent renaming of row offset constants.
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.
LGTM
Reject transactions from senders with deployed code.