We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 206678f commit 37c80f7Copy full SHA for 37c80f7
components/chainhook-event-observer/src/indexer/stacks/mod.rs
@@ -270,7 +270,15 @@ pub fn standardize_stacks_block(
270
match get_tx_description(&tx.raw_tx, &tx_events) {
271
Ok(desc) => desc,
272
Err(e) => {
273
- return Err(format!("unable to standardize block ({})", e.to_string()));
+ if tx.status.eq("abort_by_response") {
274
+ // We should probably revisit this approach
275
+ continue;
276
+ }
277
+ return Err(format!(
278
+ "unable to standardize block #{} ({})",
279
+ block.block_height,
280
+ e.to_string()
281
+ ));
282
}
283
};
284
let events = tx_events
0 commit comments