Index blob hashes #27

Merged
roysc merged 6 commits from index-blob-hashes into main 2024-08-01 02:50:30 +00:00
Showing only changes of commit 3f1b5f382b - Show all commits

View File

@ -27,6 +27,7 @@ var EthTables = []*Table{
&TableReceipt,
&TableLog,
&TableWithdrawal,
&TableBlobHash,
}
var AllTables = append(
@ -154,15 +155,6 @@ var TableTransaction = Table{
UpsertClause: OnConflict("block_number", "header_id", "tx_hash"),
}
var TableBlobHash = Table{
Name: "eth.blob_hashes",
Columns: []Column{
{Name: "tx_hash", Type: Dvarchar},
{Name: "index", Type: Dinteger},
{Name: "blob_hash", Type: Dbytea},
},
}
var TableReceipt = Table{
Name: "eth.receipt_cids",
Columns: []Column{
@ -208,6 +200,15 @@ var TableWithdrawal = Table{
UpsertClause: OnConflict("block_number", "header_id", "index"),
}
var TableBlobHash = Table{
Name: "eth.blob_hashes",
Columns: []Column{
{Name: "tx_hash", Type: Dvarchar},
{Name: "index", Type: Dinteger},
{Name: "blob_hash", Type: Dbytea},
},
}
var TableWatchedAddresses = Table{
Name: "eth_meta.watched_addresses",
Columns: []Column{