-
Notifications
You must be signed in to change notification settings - Fork 134
Improve typing of return from decompileTransactionMessageFetchingLookupTables #1133
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: decompile-type
Are you sure you want to change the base?
Conversation
|
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
BundleMonUnchanged files (136)
No change in files bundle size Final result: ✅ View report in BundleMon website ➡️ |
|
Documentation Preview: https://kit-docs-4mkq3lw0b-anza-tech.vercel.app |
steveluscher
left a comment
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.
| TransactionMessageWithBlockhashLifetime, | ||
| TransactionMessageWithFeePayer, | ||
| TransactionMessageWithLifetime, | ||
| } from '..'; |
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.
As in the first PR in the stack, change this to import from the relevant modules.
901a7cd to
d76d1f2
Compare
7e05e9b to
091a9b7
Compare
Problem
When we use
decompileTransactionMessageFetchingLookupTables, we get aBaseTransactionMessage, which is not a union type and therefore doesn't play nicely with Typescript type narrowing by version.Summary of Changes
decompileTransactionMessageFetchingLookupTablesPart of a stack that eventually supersedes #1103