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

Fix return type of getTokenAccountsByDelegate/Owner #2027

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

mcintyre94
Copy link
Collaborator

These data stuctures were messed up, with the TokenAccount nested under the program instead of data

I've added typetests to verify the fix. I don't think we had these when we first wrote most of these methods, but they're better than the unit tests we have for rpc-methods TBH. Probably worth adding them at least where we find bugs!

Copy link
Collaborator Author

mcintyre94 commented Jan 10, 2024

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

Copy link
Collaborator

@steveluscher steveluscher left a comment

Choose a reason for hiding this comment

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

dropped-it-i-cant-catch.gif

Copy link
Collaborator

@buffalojoec buffalojoec left a comment

Choose a reason for hiding this comment

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

What the... nice catch!

@mcintyre94 mcintyre94 force-pushed the cm-rpc-json-parsed branch 3 times, most recently from 2512cd1 to 87ffa63 Compare January 11, 2024 10:35
Base automatically changed from cm-rpc-json-parsed to master January 11, 2024 10:42
@mcintyre94 mcintyre94 merged commit 23420ec into master Jan 11, 2024
7 checks passed
@mcintyre94 mcintyre94 deleted the cm-token-rpc-methods branch January 11, 2024 10:46
Copy link
Contributor

🎉 This PR is included in version 1.89.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link
Contributor

Because there has been no activity on this PR for 14 days since it was merged, it has been automatically locked. Please open a new issue if it requires a follow up.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants