-
Notifications
You must be signed in to change notification settings - Fork 16
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
Modular Clarity Update #1008
Modular Clarity Update #1008
Conversation
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.
Mainly have some feedback around the storage type for protocol contracts. But, overall, the approach looks good!
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!
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.
sbtc token transfer requires a print for the memo
a1dc60f
to
5fe97c4
Compare
9f35d4b
to
a958230
Compare
@friedger can you please take another look here. |
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.
Looks good
1de5f93
to
aa82f77
Compare
Was completed in an upstream branch! Dismissing for now. |
Description
This PR introduces the proposed updates to the existing Clarity protocol in order to support protocol contract updates. This design is based off of the discussed items in #990.
Closes: #990
Changes
Explicitly tracks the 'active' version of the contracts for signers, deposits & withdrawals in the sbtc-registry. Additionally, validation is improved so that only the correct role for each contract type can write into the correct sbtc-registry functions.
Testing Information
Tests were updated accordingly & two new tests were added post-update with an example 'deposit-v1' contract.
Checklist: