forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: Use simulated compute units in vote interactions (#2696)
* cli: Add simulated compute units to vote interactions #### Problem The CLI can simulate to get the compute budget used by a transaction, but vote interactions are still using the default compute unit limit. #### Summary of changes Add tests for setting a compute unit price with `test_case`, and then change the compute unit limit to `Simulated`. * Use simulated compute units * Fix rebase issues
- Loading branch information
Showing
2 changed files
with
62 additions
and
33 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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