0.7.51
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
//! deterministic local pipeline over their signatures.
|
||||
|
||||
const LOCAL_PIPELINE_DEX_DECODER_SCOPE: &str = "dex_decode.local_pipeline";
|
||||
const LOCAL_PIPELINE_DEX_DECODER_VERSION: &str = "dex_decode.v0.7.46.damm_v1_events1";
|
||||
const LOCAL_PIPELINE_DEX_DECODER_VERSION: &str = "dex_decode.v0.7.51.raydium_amm_v4_max_decoder";
|
||||
|
||||
fn default_skip_certified_dex_decode() -> bool {
|
||||
return true;
|
||||
@@ -280,6 +280,28 @@ impl LocalPipelineReplayService {
|
||||
);
|
||||
},
|
||||
None => {
|
||||
let replay_scope_delete_result =
|
||||
crate::query_dex_decoded_events_delete_local_replay_scope_by_transaction_id(
|
||||
self.database.as_ref(),
|
||||
transaction_id,
|
||||
)
|
||||
.await;
|
||||
match replay_scope_delete_result {
|
||||
Ok(deleted_count) => {
|
||||
result.reset_market_materialization_deleted_count = result
|
||||
.reset_market_materialization_deleted_count
|
||||
.saturating_add(deleted_count);
|
||||
if deleted_count > 0 {
|
||||
tracing::debug!(
|
||||
signature = %signature,
|
||||
transaction_id,
|
||||
deleted_count,
|
||||
"local pipeline replay deleted stale local DEX replay scope before decode"
|
||||
);
|
||||
}
|
||||
},
|
||||
Err(error) => return Err(error),
|
||||
}
|
||||
let decode_result =
|
||||
dex_decode.decode_transaction_by_signature(signature.as_str()).await;
|
||||
match decode_result {
|
||||
|
||||
Reference in New Issue
Block a user