Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Fix banks RPC port #12570

Merged
merged 2 commits into from
Sep 30, 2020
Merged

Fix banks RPC port #12570

merged 2 commits into from
Sep 30, 2020

Conversation

garious
Copy link
Contributor

@garious garious commented Sep 29, 2020

Problem

The BanksServer port is calculated as 3 above the RPC port. If no RPC port is provided, it uses 80 (or 443) instead of 8899.

Summary of Changes

  • Default to 8899
  • Also add BanksClientExt::get_account_with_commitment while in the neighborhood

cc: @CriesofCarrots @mvines

@garious garious added v1.3 automerge Merge this Pull Request automatically once CI passes labels Sep 29, 2020
@codecov
Copy link

codecov bot commented Sep 30, 2020

Codecov Report

Merging #12570 into master will decrease coverage by 0.0%.
The diff coverage is 11.1%.

@@            Coverage Diff            @@
##           master   #12570     +/-   ##
=========================================
- Coverage    82.0%    82.0%   -0.1%     
=========================================
  Files         356      356             
  Lines       83121    83125      +4     
=========================================
- Hits        68186    68167     -19     
- Misses      14935    14958     +23     

@mergify mergify bot merged commit d158d45 into solana-labs:master Sep 30, 2020
mergify bot pushed a commit that referenced this pull request Sep 30, 2020
* Fix Banks RPC ports

* Add get_account_with_commitment

(cherry picked from commit d158d45)
mergify bot added a commit that referenced this pull request Sep 30, 2020
* Fix Banks RPC ports

* Add get_account_with_commitment

(cherry picked from commit d158d45)

Co-authored-by: Greg Fitzgerald <greg@solana.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge Merge this Pull Request automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant