forked from anza-xyz/agave
-
Notifications
You must be signed in to change notification settings - Fork 0
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 nonce interactions (anza-xyz#2695)
* cli: Use simulated compute unit limit for nonces #### Problem The CLI can simulate to get the compute budget used by a transaction, but nonce interactions are still using the default compute unit limit. #### Summary of changes Refactor the tests into `test_case`s, add tests for setting a compute unit price, and then change compute unit limit to `Simulated`. * Add compute unit price test case * Change to using simulated compute units everywhere * Run simulations where it isn't done normally * Fix clippy issues
- Loading branch information
Showing
2 changed files
with
29 additions
and
49 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