-
Notifications
You must be signed in to change notification settings - Fork 13
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
Comet update #214
Comet update #214
Conversation
Ryang-21
commented
Mar 21, 2024
•
edited
Loading
edited
- Updated comet wasm and comet test setup
- Updated comet authorization in backstop claim function
- Waiting on PR fix: set expiration ledger to current sequence number CometDEX/comet-contracts-v1#5
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.
Need to fix the rent bump changes for reserve config and data.
I would also like to put this PR on hold until your Comet changes get merged. Would you mind linking that PR here @Ryang-21 ?
pool/src/storage.rs
Outdated
e.storage() | ||
.persistent() | ||
.extend_ttl(&key, LEDGER_THRESHOLD_SHARED, LEDGER_BUMP_SHARED); | ||
e.storage().persistent().extend_ttl(&key, 0, 0); |
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.
:ditto:
client.set_public_swap(&admin, &true); | ||
client.finalize(); |
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.
why was this change necessary?
IIRC finalize
had nothing to do with set_public_swap
, but this could have changed on comet's end?
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.
They now check that finalize has not been called when performing pool setup
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.
LG2M
Merging for now as the Comet PR is still being reviewed. It appears likely this will go through, so in the event something changes, we will do a followup PR. |