Move DatabaseExtras back to trace (#10868)
* Move DatabaseExtras back to trace Add a new BlockChainWithExtras newtype to ethcore Impl DatabaseExtras for BlockChainWithExtras * Avoid double Arcs Impl From for BlockChainWithExtras for convenient instantiation Change TraceDB::new to take a T: DatabaseExtras (instead of an Arc) * Use local type for BlockNumber and reduce dependencies * Update ethcore/src/client/client.rs Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com> * Update ethcore/src/client/client.rs Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com> * Revert "Update ethcore/src/client/client.rs" This reverts commit cbf8a251d4acaff8b29e999aedcdaac473ddf300. * Revert "Update ethcore/src/client/client.rs" This reverts commit 2518873b3139e832fa57c11793624bf1bfe48d05. * address grumbles * Be explicit about using the BlockProvider provided block_hash()
This commit is contained in:
@@ -684,7 +684,7 @@ impl Importer {
|
||||
chain.insert_epoch_transition(&mut batch, header.number(), EpochTransition {
|
||||
block_hash: header.hash(),
|
||||
block_number: header.number(),
|
||||
proof: proof,
|
||||
proof,
|
||||
});
|
||||
|
||||
// always write the batch directly since epoch transition proofs are
|
||||
|
||||
Reference in New Issue
Block a user