-
Notifications
You must be signed in to change notification settings - Fork 910
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
Add missing space attribute to accounts #3575
Conversation
🦋 Changeset detectedLatest commit: c1bb77a The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
BundleMonUnchanged files (125)
Total files change +29B +0.01% Final result: ✅ View report in BundleMon website ➡️ |
59284c9
to
c1bb77a
Compare
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! I'd call this a patch/bug fix too.
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. |
This PR adds the missing
space
attribute to:AccountInfoBase
type from@solana/rpc-types
.BaseAccount
type from@solana/accounts
.Tests
In terms of tests, I just needed to update some existing one that were using mock data but all the ones using a local validator (including
jsonParsed
fetches) are already asserting that we get aspace
attribute. We were just not capturing it in the types.Release
I believe this is a
patch
change because, even though this is adding a type attribute, the data was already there so we are just fixing our type representation to match the data correctly. Lmk if you agree with this as we're figuring out our stance of versioning/releasing.Addresses solana-labs/web3.js-issue-conveyer#3