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

Only unexceptional ACCOUNT instructions that touchForeignAddress update its warmth #552

Merged
merged 2 commits into from
Dec 15, 2024

Conversation

OlivierBBB
Copy link
Collaborator

@OlivierBBB OlivierBBB commented Dec 15, 2024

@OlivierBBB OlivierBBB self-assigned this Dec 15, 2024
@OlivierBBB OlivierBBB merged commit 75201c1 into master Dec 15, 2024
2 checks passed
@OlivierBBB OlivierBBB deleted the ACCOUNT-instruction-warmth-fix branch December 15, 2024 10:59
Copy link
Contributor

@lorenzogentile404 lorenzogentile404 left a comment

Choose a reason for hiding this comment

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

(defconstraint   account-instruction---foreign-address-opcode---doing-account-row---warmth-update
                 (:guard (account-instruction---standard-hypothesis))
                 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
                 (if-not-zero   (account-instruction---touches-foreign-account)
                                (if-not-zero    XAHOY
                                                (account-turn-on-warmth   ROFF_ACC___ACCOUNT_DOING_ROW)
                                                (account-same-warmth      ROFF_ACC___ACCOUNT_DOING_ROW))))

It seems here the two conditions are swapped with respect to the specs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants