-
Notifications
You must be signed in to change notification settings - Fork 39
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
Update to Solana 1.16 and use new Bubblegum Rust client #127
Conversation
* Update to Solana 1.16.16 (version that does not have tokio pinned and solana-transaction-status supports Borsh 0.10.3). * Update blockbuster to latest branch that supports Bubblegum Update Metadata instruction parsing (still a commit ID). * Update to Borsh 0.10.3. * Update to Plerkle Messenger 1.6.0. * Update to Bubblegum 1.0.1-beta.2 (Rust client version that supports Update Metadata and limits to Borsh < 1.0.0). * Update to SPL Account Compression 0.2.0. * Update to Anchor 0.28.0. * Update Candy Machine and Candy Guard to 2.0.x. * spl-associated-token-account and spl-token use same version ranges as Bubblegum program crate. * Update SPL No-op. * MPL Token Metadata exact version: 2.0.0-beta.1.
b8214bf
to
fbaae25
Compare
@@ -71,17 +71,15 @@ impl IngesterConfig { | |||
} | |||
|
|||
pub fn get_account_backfill_stream_worker_count(&self) -> u32 { | |||
self.account_backfill_stream_worker_count | |||
.unwrap_or_else(|| self.get_account_stream_worker_count()) | |||
self.account_backfill_stream_worker_count.unwrap_or(0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have to set this to zero for now because we are not configuring any backfill streams in the plugin. @fanatid will touch base next week since we previously talked about the config, and we can see what is good solution.
} | ||
|
||
pub fn get_transaction_stream_worker_count(&self) -> u32 { | ||
self.transaction_stream_worker_count.unwrap_or(2) | ||
} | ||
|
||
pub fn get_transaction_backfill_stream_worker_count(&self) -> u32 { | ||
self.transaction_backfill_stream_worker_count | ||
.unwrap_or_else(|| self.get_transaction_stream_worker_count()) | ||
self.transaction_backfill_stream_worker_count.unwrap_or(0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have to set this to zero for now because we are not configuring any backfill streams in the plugin. @fanatid will touch base next week since we previously talked about the config, and we can see what is good solution.
Overview
Updates DAS API to use Solana 1.16 versions, plus the initial changes for Bubblegum Update Metadata (uses the Bubblegum Rust client that supports Update Metadata, but doesn't actually do anything with it yet).
Details