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

ledger-tool: support v0 transactions in blocks from bigtable #34544

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

CriesofCarrots
Copy link
Contributor

@CriesofCarrots CriesofCarrots commented Dec 20, 2023

Problem

Querying bigtable for a block with a v0 transaction in it errors:

$ GOOGLE_APPLICATION_CREDENTIALS=<mnb_credential> solana-ledger-tool bigtable block 236304134
..
"Failed to process unsupported transaction version (0) in block"

Summary of Changes

Update encoding options to support blocks with v0 transactions

@CriesofCarrots CriesofCarrots added the v1.17 PRs that should be backported to v1.17 label Dec 20, 2023
Copy link
Contributor

mergify bot commented Dec 20, 2023

Backports to the beta branch are to be avoided unless absolutely necessary for fixing bugs, security issues, and perf regressions. Changes intended for backport should be structured such that a minimum effective diff can be committed separately from any refactoring, plumbing, cleanup, etc that are not strictly necessary to achieve the goal. Any of the latter should go only into master and ride the normal stabilization schedule. Exceptions include CI/metrics changes, CLI improvements and documentation updates on a case by case basis.

@CriesofCarrots
Copy link
Contributor Author

I'm proposing a v1.17 backport here because the change is very low-risk and there are plenty of blocks with v0 transactions in bigtable already.

Copy link
Contributor

@steviez steviez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and agreed on the BP

@CriesofCarrots CriesofCarrots added the automerge Merge this Pull Request automatically once CI passes label Dec 20, 2023
@mergify mergify bot merged commit 7d209a4 into solana-labs:master Dec 20, 2023
36 checks passed
mergify bot pushed a commit that referenced this pull request Dec 20, 2023
Support v0 transactions

(cherry picked from commit 7d209a4)
mergify bot added a commit that referenced this pull request Dec 21, 2023
…backport of #34544) (#34550)

ledger-tool: support v0 transactions in blocks from bigtable (#34544)

Support v0 transactions

(cherry picked from commit 7d209a4)

Co-authored-by: Tyera <tyera@solana.com>
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 v1.17 PRs that should be backported to v1.17
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants