Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion db.sql
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ CREATE TABLE IF NOT EXISTS Blobscan (
WeaveVMArchiveTxid VARCHAR(66) UNIQUE,
VersionedHash TINYTEXT,
BlobData LONGTEXT
);
);

CREATE INDEX idx_versioned_hash ON Blobscan(VersionedHash(16));
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,5 @@ async fn main(
}
});

// tokio::join!(eth_block_updater, blobscan_insertion);
Ok(router.into())
}
4 changes: 2 additions & 2 deletions src/utils/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ pub struct PsGetBlockByVersionedHash {
#[derive(Debug, Serialize, Deserialize, Database)]
pub struct PsGetLatestArchivedBlock {
pub last_archived_eth_block: u64,
pub blob_versioned_hash: String,
pub wvm_archive_txid: String,
pub wvm_archive_txid: String,
pub blob_versioned_hash : String,
}

#[derive(Debug, Serialize, Deserialize)]
Expand Down