Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.18: cli: Use --use-rpc flag correctly during program deployments (backport of #1008) #1011

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Apr 23, 2024

Problem

As noticed in #928 (comment), the logic for --use-rpc is unfortunately backwards, since it's creating the tpu client if use_rpc is true, when we only want to create it when it's false.

Summary of Changes

Reverse the logic with a !

Big thanks to @amilkov3 for noticing and reporting this


This is an automatic backport of pull request #1008 done by [Mergify](https://mergify.com).

cli: Use --use-rpc flag correctly
(cherry picked from commit 550f806)
@joncinque joncinque added the automerge automerge Merge this Pull Request automatically once CI passes label Apr 23, 2024
@mergify mergify bot merged commit 50e4e50 into v1.18 Apr 24, 2024
36 checks passed
@mergify mergify bot deleted the mergify/bp/v1.18/pr-1008 branch April 24, 2024 00:42
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.5%. Comparing base (9a085b2) to head (0602afa).
Report is 3 commits behind head on v1.18.

Additional details and impacted files
@@            Coverage Diff            @@
##            v1.18    #1011     +/-   ##
=========================================
- Coverage    81.6%    81.5%   -0.1%     
=========================================
  Files         827      827             
  Lines      225094   225122     +28     
=========================================
+ Hits       183680   183686      +6     
- Misses      41414    41436     +22     

anwayde pushed a commit to firedancer-io/agave that referenced this pull request Jul 23, 2024
…backport of anza-xyz#1008) (anza-xyz#1011)

cli: Use --use-rpc flag correctly during program deployments (anza-xyz#1008)

cli: Use --use-rpc flag correctly
(cherry picked from commit 550f806)

Co-authored-by: Jon C <me@jonc.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge automerge Merge this Pull Request automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants