forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 262
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 unit limit in stake interactions (#2710)
* cli: Use simulated compute unit limit in stake interactions #### Problem The CLI has the ability to simulate transactions before sending to use the correct number of compute units, but stake commands are still using the default compute unit limit. #### Summary of changes Update tests to use a compute unit limit, and then update the stake commands to use the simulated compute unit limit. * Simulate for compute units in stake commands * Pass compute unit limit enum to `simulate_and_update...`
- Loading branch information
Showing
6 changed files
with
187 additions
and
112 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
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
Oops, something went wrong.