-
Notifications
You must be signed in to change notification settings - Fork 69
add loadedAccountsDataSize to simulate transaction response #521
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
base: main
Are you sure you want to change the base?
add loadedAccountsDataSize to simulate transaction response #521
Conversation
🦋 Changeset detectedLatest commit: a3d0c4e The changes in this PR will be included in the next version bump. This PR includes changesets to release 40 packages
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 |
BundleMonFiles updated (4)
Unchanged files (123)
Total files change +51B +0.01% Final result: ✅ View report in BundleMon website ➡️ |
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.
Awesome! Just alpha-order those properties, and then add an allowlist entry to tell the system that it's allowed to be a number
instead of a bigint
.
You'll almost certainly need to update simulate-transaction.test.ts
also.
You can get tests running by doing:
pnpm install
cd packages/rpc-api/
pnpm turbo compile:typedefs compile:js
pnpm dev
The last step starts up a persistent server that runs lint & tests whenever you save a file.
@@ -0,0 +1,5 @@ | |||
--- |
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.
Since it changes response, thought a changeset is needed?
Looks good! I fixed up lint and pushed a change to the keypath. Ironic thing is that your tests won't pass until the validator starts to emit this value, so we'll have to wait to land this PR until then. |
Thank you!
Ah, that explains why my local test keeping error out! I'll change this PR to "ready for review" (a post fact :D) for now. |
Problem
anza-xyz/agave#6023 adds loaded-accounts-data-size to simulate transaction result.
Summary of Changes
Implements #541.