Bump @solana-program/compute-budget to ^0.15.0 and @solana/kit to ^6.3.0#145
Merged
lorisleiva merged 1 commit intomainfrom Mar 11, 2026
Conversation
… ^6.3.0 This updates `@solana-program/compute-budget` from ^0.14.0 to ^0.15.0, which includes full simulation data in the compute limit estimation error context (solana-program/compute-budget#27). The new version requires `@solana/kit` ^6.3.0 as a peer dependency, so all `@solana/kit` references across the monorepo are bumped accordingly. The error context for `SOLANA_ERROR__TRANSACTION__FAILED_WHEN_SIMULATING_TO_ESTIMATE_COMPUTE_LIMIT` now contains `Omit<RpcSimulateTransactionResult, 'err'>` instead of just `{ unitsConsumed: number }`. The `unitsConsumed` field is now a raw `bigint` from the RPC response rather than a downcast `number`. The RPC executor's skip-preflight recovery path is updated to downcast the bigint to a u32 number, matching the downcast logic on the success path.
|
Member
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This updates
@solana-program/compute-budgetfrom ^0.14.0 to ^0.15.0, which includes full simulation data in the compute limit estimation error context (solana-program/compute-budget#27). The new version requires@solana/kit^6.3.0 as a peer dependency, so all@solana/kitreferences across the monorepo are bumped accordingly.The error context for
SOLANA_ERROR__TRANSACTION__FAILED_WHEN_SIMULATING_TO_ESTIMATE_COMPUTE_LIMITnow containsOmit<RpcSimulateTransactionResult, 'err'>instead of just{ unitsConsumed: number }. TheunitsConsumedfield is now a rawbigintfrom the RPC response rather than a downcastnumber. The RPC executor's skip-preflight recovery path is updated to downcast the bigint to a u32 number, matching the downcast logic on the success path.