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

Updated Clarity Maps #848

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Updated Clarity Maps #848

wants to merge 2 commits into from

Conversation

setzeus
Copy link
Collaborator

@setzeus setzeus commented Nov 15, 2024

Description

Updates two structs in the sbtc-registry contract to stored data already passed through.

Closes: #800

Changes

The 'sbtc-registry' Clarity smart contract

Testing Information

All unit tests effected are now updated.

Checklist:

  • I have performed a self-review of my code
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

Copy link
Contributor

@djordon djordon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we also update the get-withdrawal-request read only function to flatten out the return tuple. Right now the status is a tuple that also contains another status field, but I think we want

(merge request (map-get? withdrawal-status id))

right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: Add new fields to the sbtc clarity map
2 participants