Skip to content

Commit

Permalink
v1.18: Add --with-compute-unit-price to cli program deploy commands…
Browse files Browse the repository at this point in the history
… (backport of #364) (#392)

Add `--with-compute-unit-price` to cli program deploy commands (#364)

* add set compute units arg for program deploy

* update master changes

* remove duplicates

* fixes and tests

* remove extra lines

* feedback

* Use simulation to determine compute units consumed

* feedback

---------

Co-authored-by: NagaprasadVr <nagaprasadvr246@gmail.com>
(cherry picked from commit 2ee606d)

Co-authored-by: Justin Starry <justin@anza.xyz>
  • Loading branch information
2 people authored and willhickey committed Mar 23, 2024
1 parent acae767 commit a164b70
Show file tree
Hide file tree
Showing 5 changed files with 485 additions and 103 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ tiny-bip39 = { workspace = true }

[dev-dependencies]
assert_matches = { workspace = true }
solana-rpc = { workspace = true }
solana-streamer = { workspace = true }
solana-test-validator = { workspace = true }
tempfile = { workspace = true }
Expand Down
Loading

0 comments on commit a164b70

Please sign in to comment.