Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
allnil committed Feb 11, 2025
1 parent fcf7967 commit e02c1b0
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions wvm-apps/wvm-exexed/crates/reth-exexed/src/exex/ar_actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,15 @@ async fn upload_to_arweave(
.set_tag("Message", &response)
.set_tag("Block-Number", block_number.to_string().as_str())
.set_tag("Block-Hash", block_hash)
.set_data(serde_json::json!({
"data_settlement_tx_id": response,
"block_number": block_number,
"block_hash": block_hash,
}).to_string().into_bytes());
.set_data(
serde_json::json!({
"data_settlement_tx_id": response,
"block_number": block_number,
"block_hash": block_hash,
})
.to_string()
.into_bytes(),
);

match second_request.send_with_provider(ar_uploader).await {
Ok(second_tx_id) => {
Expand Down Expand Up @@ -373,6 +377,7 @@ async fn update_bigquery(
block,
block_number,
arweave_id.to_string(),
block_hash,
)
.await;

Expand Down

0 comments on commit e02c1b0

Please sign in to comment.