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

Implement EIP 3607 #298

Conversation

OlivierBBB
Copy link
Collaborator

Reject transactions from senders with deployed code.

@OlivierBBB OlivierBBB added the bug Something isn't working label Aug 20, 2024
@OlivierBBB OlivierBBB self-assigned this Aug 20, 2024
@OlivierBBB OlivierBBB linked an issue Aug 20, 2024 that may be closed by this pull request
@@ -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)))

Copy link
Collaborator Author

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)))
Copy link
Collaborator Author

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)
Copy link
Collaborator Author

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.

Copy link
Collaborator

@letypequividelespoubelles letypequividelespoubelles left a comment

Choose a reason for hiding this comment

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

LGTM

@OlivierBBB OlivierBBB merged commit 13480bc into master Aug 21, 2024
2 checks passed
@OlivierBBB OlivierBBB deleted the 297-eip-3607-issue-reject-transactions-from-senders-with-deployed-code branch August 21, 2024 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EIP-3607 issue (Reject transactions from senders with deployed code)
2 participants