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: handling empty accounts for anchor remaining accounts #80

Merged
merged 4 commits into from
Sep 1, 2022

Conversation

thlorenz
Copy link
Contributor

@thlorenz thlorenz commented Sep 1, 2022

Summary

The intent of this PR was to just handle the case of empty accounts when we try to add
anchorRemainingAccounts. In this case we just assume that there are none and thus don't
render any of the code allowing users to add them.

If this assumption was wrong we need to iterate on this solution.

As a side effect I ran into issues with web3.js (missing cross-fetch) which originated from it
being a dep of beet-solita.
Thus after upgrading numerous deps in the beet
repo
we updated the beet deps here to
pull in those patches.

@thlorenz thlorenz merged commit c96d265 into master Sep 1, 2022
@thlorenz thlorenz deleted the thlorenz/fix/remaining-accounts-when-empty branch September 1, 2022 22:45
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.

1 participant