Statediff missing parent blocks automatically (#8)
Port of https://github.com/cerc-io/go-ethereum/pull/399 and https://github.com/cerc-io/go-ethereum/pull/397. Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com> Reviewed-on: #8
This commit was merged in pull request #8.
This commit is contained in:
@@ -54,6 +54,7 @@ var TableHeader = Table{
|
||||
{Name: "bloom", Type: Dbytea},
|
||||
{Name: "timestamp", Type: Dnumeric},
|
||||
{Name: "coinbase", Type: Dvarchar},
|
||||
{Name: "canonical", Type: Dboolean},
|
||||
},
|
||||
UpsertClause: OnConflict("block_number", "block_hash").Set(
|
||||
"parent_hash",
|
||||
@@ -68,6 +69,7 @@ var TableHeader = Table{
|
||||
"bloom",
|
||||
"timestamp",
|
||||
"coinbase",
|
||||
"canonical",
|
||||
)}
|
||||
|
||||
var TableStateNode = Table{
|
||||
|
||||
Reference in New Issue
Block a user