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

feat: update MXP example #469

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions testdata/mxp.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@
S1NZNOMXPX SIZE_1_NONZERO_NO_MXPX
S2NZNOMXPX SIZE_2_NONZERO_NO_MXPX)


(defconst
EVM_INST_RETURN 0xF3
GAS_CONST_G_MEMORY 3)

(module mxp)

Expand Down Expand Up @@ -231,9 +233,9 @@
(vanishes! CT)
(vanishes! INST))))

;; (defconstraint type-flag-sum (:guard STAMP)
;; (eq! 1
;; (reduce + (for i [5] [MXP_TYPE i]))))
(defconstraint type-flag-sum (:guard STAMP)
(eq! 1
(reduce + (for i [5] [MXP_TYPE i]))))

(defconstraint counter-reset ()
(if-not-zero (will-remain-constant! STAMP)
Expand Down
Loading