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

RPC: Don't send base64 TXs to old clusters #13047

Merged
merged 1 commit into from
Oct 21, 2020

Conversation

t-nelson
Copy link
Contributor

Problem

There are still some pre-1.3.16 development clusters in the wild. They don't like base64 TXs from newer CLIs

Summary of Changes

Query the cluster version when sending a TX and encode base58 if it's older than 1.3.16

client/src/rpc_client.rs Outdated Show resolved Hide resolved
@t-nelson t-nelson force-pushed the rpc-base64-tx-fallback branch 2 times, most recently from 3ad7291 to 2cd6f6e Compare October 21, 2020 06:00
client/src/rpc_client.rs Outdated Show resolved Hide resolved
@t-nelson t-nelson force-pushed the rpc-base64-tx-fallback branch from 2cd6f6e to 2bf0cff Compare October 21, 2020 06:49
mvines
mvines previously approved these changes Oct 21, 2020
client/src/rpc_client.rs Outdated Show resolved Hide resolved
@t-nelson t-nelson force-pushed the rpc-base64-tx-fallback branch from 2bf0cff to 5f54f67 Compare October 21, 2020 07:18
@mergify mergify bot dismissed mvines’s stale review October 21, 2020 07:19

Pull request has been modified.

@t-nelson t-nelson added the automerge Merge this Pull Request automatically once CI passes label Oct 21, 2020
@codecov
Copy link

codecov bot commented Oct 21, 2020

Codecov Report

Merging #13047 into master will increase coverage by 0.0%.
The diff coverage is 75.7%.

@@           Coverage Diff           @@
##           master   #13047   +/-   ##
=======================================
  Coverage    82.0%    82.0%           
=======================================
  Files         364      364           
  Lines       85498    85530   +32     
=======================================
+ Hits        70155    70196   +41     
+ Misses      15343    15334    -9     

@mergify mergify bot merged commit 86a9821 into solana-labs:master Oct 21, 2020
@t-nelson t-nelson deleted the rpc-base64-tx-fallback branch December 30, 2020 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge this Pull Request automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants