forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 372
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor - Adds CLI parameter "--with-compute-unit-price" to program-…
…v4 (#5086) * Changes underscore to dash for consistency. * Adds helper closure for constructing messages. * Removes the closure parameter from calculate_max_chunk_size(). * Adds "--with-compute-unit-price". * Sends both instructions of process_close_program() in a single transaction. * Factors redundant code into a message_factory().
- Loading branch information
Showing
3 changed files
with
151 additions
and
99 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
Oops, something went wrong.