Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yuunlimm committed Nov 14, 2024
1 parent 8f43e54 commit 7a8aad3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,12 @@ impl TableItem {
transaction_block_height,
key: write_table_item.key.to_string(),
table_handle: standardize_address(&write_table_item.handle.to_string()),
decoded_key: serde_json::from_str(
write_table_item.data.as_ref().unwrap().key.as_str(),
)
decoded_key: serde_json::from_str(write_table_item.data.as_ref().unwrap().key.as_str())
.unwrap(),
decoded_value: serde_json::from_str(
write_table_item.data.as_ref().unwrap().value.as_str(),
)
.unwrap(),
.unwrap(),
is_deleted: false,
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ impl Processable for ParquetDefaultExtractor {
&mut self,
transactions: TransactionContext<Self::Input>,
) -> anyhow::Result<Option<TransactionContext<ParquetTypeMap>>, ProcessorError> {
let (_, raw_table_items, _, _) = process_transactions(transactions.data.clone(), TableFlags::empty());
let (_, raw_table_items, _, _) =
process_transactions(transactions.data.clone(), TableFlags::empty());

let parquet_table_items: Vec<TableItem> =
raw_table_items.iter().map(TableItem::from_raw).collect();
Expand Down

0 comments on commit 7a8aad3

Please sign in to comment.