-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
Sort out imports
Sort out tests
Co-Authored-By: Niklas Adolfsson <niklasadolfsson1@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, it introduces some additional trait bounds in a few of traits and types. I'm assuming this forced by removing the concrete type in favor of type parameters/ trait objects?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you elaborate why the Send + Senc
requirement wasn't needed before in several places and is now?
I wish I had something intelligent to say here, but tbh I followed the compilers' orders and she asked for |
…he-right-place * master: Extract snapshot to own crate (#11010) Edit publish-onchain.sh to use https (#11016) EIP 1108: Reduce alt_bn128 precompile gas costs (#11008) Fix deadlock in `network-devp2p` (#11013) Implement EIP-1283 reenable transition, EIP-1706 and EIP-2200 (#10191) EIP 1884 Re-pricing of trie-size dependent operations (#10992)
Extract
snapshot
to its own crate. Nothing particularly interesting to see here: shuffling files around and move types&traits to where they need to be. Adds a few more generics to thesnapshot
crate to disentangle it fromethcore::Client
.One needed refactoring is not present here: putting back
SnapshotClient
andSnapshotWriter
insnapshot
. This is taken care of in #11012 as it turned out to be more involved than I thought.I have warp synced mainnet and I have observed snapshot chunks being created with this branch.
@niklasad1 Maybe this enables snapshots for the light client?