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

refactor: getStarkName & getStarkProfile to work with latest version of contract #1093

Merged

Conversation

irisdv
Copy link
Contributor

@irisdv irisdv commented Apr 22, 2024

Motivation and Resolution

We will soon update the starknet ID naming contract function address_to_domain, adding an additional hint parameter that will allow us to support CCIP reverse resolving of domains. This change will break getStarkName & getStarkProfile. In prevision of this, to avoid any errors for people using these functions, I updated them so that they will first try to make the query with the new hint parameter, and if it fails try without.

Checklist:

  • Performed a self-review of the code
  • Rebased to the last commit of the target branch (or merged it into my branch)
  • Linked the issues which this PR resolves
  • Documented the changes in code (API docs will be generated automatically)
  • Updated the tests
  • All tests are passing

@tabaktoni tabaktoni changed the base branch from develop to next-version April 29, 2024 06:06
@tabaktoni tabaktoni merged commit 8ba8d10 into starknet-io:next-version Apr 29, 2024
3 checks passed
Copy link

🎉 This PR is included in version 6.9.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

github-actions bot commented Jul 3, 2024

🎉 This issue has been resolved in version 7.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants