-
Notifications
You must be signed in to change notification settings - Fork 9
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
TXN_DATA
: fix forpriorityFeePerGas
#406
Conversation
txndata/constraints.lisp
Outdated
(eq! PRIORITY_FEE_PER_GAS (gas_price)) | ||
(eq! PRIORITY_FEE_PER_GAS (- GAS_PRICE BASEFEE)))) | ||
(defcontraint setting-priority-fee-per-gas (:guard (first-row-of-new-transaction)) | ||
(eq! PRIORITY_FEE_PER_GAS (- GAS_PRICE BASEFEE))) |
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.
@letypequividelespoubelles This is the only nontrivial change. Everything else is formatting and renaming.
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
priorityFeePerGas
TXN_DATA
: fix forpriorityFeePerGas
(eq! PRIORITY_FEE_PER_GAS (gas_price)) | ||
(eq! PRIORITY_FEE_PER_GAS (- GAS_PRICE BASEFEE)))) | ||
(defconstraint setting-priority-fee-per-gas (:guard (first-row-of-new-transaction)) | ||
(eq! PRIORITY_FEE_PER_GAS (- GAS_PRICE BASEFEE))) |
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.
@benSepanski This is where we set the PRIORITY_FEE_PER_GAS
regardless of the transaction type.
No description provided.