Commit 76dda54
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- .github/actions/setup-solana
- geyser-grpc-proto
- src
- magicblock-account-dumper
- src
- magicblock-accounts-api
- magicblock-accounts-db
- src
- accounts_db
- persist
- magicblock-api
- src
- magicblock-bank
- src
- bank_dev_utils
- tests
- magicblock-config
- magicblock-geyser-plugin/src
- magicblock-ledger
- src
- blockstore_processor
- store
- magicblock-messaging
- src
- messages
- packet
- transport
- magicblock-mutator
- magicblock-processor
- src
- magicblock-pubsub/src
- magicblock-rpc
- src
- handlers
- traits
- magicblock-stage-banking/src/scheduler
- magicblock-streamer
- src
- magicblock-tokens/src
- magicblock-transaction-status
- src
- magicblock-version
- programs/magicblock
- src
- mutate_accounts
- schedule_transactions
- utils
- solana
- accounts-db
- src
- account_storage
- accounts_db
- append_vec
- epoch_accounts_hash
- rolling_bit_field
- tiered_storage
- geyser-plugin-manager
- src
- storage-proto
- proto
- src
- test-bins/src
- test-integration
- programs
- flexi-counter/src
- schedulecommit/src
- schedulecommit/test-scenarios/tests/utils
- test-tools-core
- src
- test-tools
- src
- tools
- genx
- src
- ledger-stats
- src
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| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
0 commit comments