-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bsc block import #14784
base: main
Are you sure you want to change the base?
Bsc block import #14784
Conversation
5de9fcf
to
d087b2d
Compare
c76fc1d
to
4f12ba6
Compare
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.
some suggestions, but overall this is pretty good already
crates/net/network/src/import.rs
Outdated
/// Engine error | ||
#[error(transparent)] | ||
Engine(#[from] BeaconOnNewPayloadError), | ||
/// Invalid payload | ||
#[error("invalid payload: {0}")] | ||
InvalidPayload(String), |
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.
do you want to open another pr that introduces a Other<Box<dyn Error>
variant for this?
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.
Here you go:
4c264f5
to
842751f
Compare
Block Import Process for BSC
This PR enables block import for BSC with the following steps:
NewBlockMessage
from the network.