Index blob hashes #27
@ -27,6 +27,7 @@ var EthTables = []*Table{
|
|||||||
&TableReceipt,
|
&TableReceipt,
|
||||||
&TableLog,
|
&TableLog,
|
||||||
&TableWithdrawal,
|
&TableWithdrawal,
|
||||||
|
&TableBlobHash,
|
||||||
}
|
}
|
||||||
|
|
||||||
var AllTables = append(
|
var AllTables = append(
|
||||||
@ -154,15 +155,6 @@ var TableTransaction = Table{
|
|||||||
UpsertClause: OnConflict("block_number", "header_id", "tx_hash"),
|
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{
|
var TableReceipt = Table{
|
||||||
Name: "eth.receipt_cids",
|
Name: "eth.receipt_cids",
|
||||||
Columns: []Column{
|
Columns: []Column{
|
||||||
@ -208,6 +200,15 @@ var TableWithdrawal = Table{
|
|||||||
UpsertClause: OnConflict("block_number", "header_id", "index"),
|
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{
|
var TableWatchedAddresses = Table{
|
||||||
Name: "eth_meta.watched_addresses",
|
Name: "eth_meta.watched_addresses",
|
||||||
Columns: []Column{
|
Columns: []Column{
|
||||||
|
Loading…
Reference in New Issue
Block a user