-
Notifications
You must be signed in to change notification settings - Fork 179
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
Payments storage packing #942
Conversation
0x0aa0
commented
Dec 2, 2024
•
edited
Loading
edited
- introduces new storage layout
- rename bin -> period
- link PaymentVault on DASM
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.
DASM link looks good.
For storage packing, I think we can revert back to using uint256 for onDemandPayments
and in the future we will need to add the collected amount to the same slot (like _onDemandPaymentsCollected_ || _onDemandPaymentsDeposited_
. The current deposit function will only take a uint128 to update the lower slot, and a new collect function only callable by operators who supply a payment verification over the claimed collection.
Sorry that this is going back and forth a little bit
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!