Skip to content

Commit 76dda54

Browse files
bmuddhathlorenzGabrielePicco
authored
Solana upgrade (#286)
Beware! Ahead there's only madness... ## Greptile Summary Based on the extensive changes shown, I'll provide a concise summary of this major Solana upgrade pull request: This PR represents a significant overhaul of the MagicBlock validator's Solana integration, focusing on upgrading from Solana 1.19.0 to 2.1.11. Here are the key points: - Removes local implementations of Solana components (accounts-db, geyser-plugin-manager, storage-proto) in favor of using official Solana crates - Simplifies accounts database to focus on in-memory cache storage, removing complex persistence logic - Updates transaction processing to use newer Solana SVM and runtime components - Modifies dependency versions and configurations, including some concerning downgrades of tokio and tonic Co-authored-by: Thorsten Lorenz <thlorenz@gmx.de> Co-authored-by: Gabriele Picco <piccogabriele@gmail.com>
1 parent d4a17a3 commit 76dda54

File tree

193 files changed

+10648
-60444
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

193 files changed

+10648
-60444
lines changed

.github/actions/setup-solana/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ runs:
77
- name: Install Solana Test Validator
88
shell: "bash"
99
run: |
10-
sh -c "$(curl -sSfL https://release.anza.xyz/v1.18.26/install)"
10+
sh -c "$(curl -sSfL https://release.anza.xyz/v2.1.11/install)"
1111
echo "$HOME/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH
1212
1313
- name: Ensure Solana Test Validator is Installed

0 commit comments

Comments
 (0)