|
5 | 5 | geyser_plugin_postgres::{GeyserPluginPostgresConfig, GeyserPluginPostgresError}, |
6 | 6 | postgres_client::{DbWorkItem, ParallelPostgresClient, SimplePostgresClient}, |
7 | 7 | }, |
| 8 | + agave_geyser_plugin_interface::geyser_plugin_interface::{ |
| 9 | + GeyserPluginError, ReplicaTransactionInfoV2, |
| 10 | + }, |
8 | 11 | chrono::Utc, |
9 | 12 | log::*, |
10 | 13 | postgres::{Client, Statement}, |
11 | 14 | postgres_types::{FromSql, ToSql}, |
12 | | - agave_geyser_plugin_interface::geyser_plugin_interface::{ |
13 | | - GeyserPluginError, ReplicaTransactionInfoV2, |
14 | | - }, |
15 | 15 | solana_runtime::bank::RewardType, |
16 | 16 | solana_sdk::{ |
17 | 17 | instruction::CompiledInstruction, |
@@ -353,7 +353,7 @@ pub enum DbTransactionErrorCode { |
353 | 353 | ResanitizationNeeded, |
354 | 354 | UnbalancedTransaction, |
355 | 355 | ProgramExecutionTemporarilyRestricted, |
356 | | - ProgramCacheHitMaxLimit |
| 356 | + ProgramCacheHitMaxLimit, |
357 | 357 | } |
358 | 358 |
|
359 | 359 | impl From<&TransactionError> for DbTransactionErrorCode { |
@@ -414,7 +414,7 @@ impl From<&TransactionError> for DbTransactionErrorCode { |
414 | 414 | TransactionError::ProgramExecutionTemporarilyRestricted { account_index: _ } => { |
415 | 415 | Self::ProgramExecutionTemporarilyRestricted |
416 | 416 | } |
417 | | - TransactionError::ProgramCacheHitMaxLimit => Self::ProgramCacheHitMaxLimit |
| 417 | + TransactionError::ProgramCacheHitMaxLimit => Self::ProgramCacheHitMaxLimit, |
418 | 418 | } |
419 | 419 | } |
420 | 420 | } |
|
0 commit comments