-
Notifications
You must be signed in to change notification settings - Fork 112
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
feat(babe, epoch): retrieve first slot number correctly #3841
Conversation
…ssamer into eclesio/move-slot-to-header
77c5a59
to
31ba006
Compare
…ssamer into eclesio/move-slot-to-header
…ssamer into eclesio/move-slot-to-header
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 look at the deepsource issues and ensure that you haven't introduced anything.
Co-authored-by: Axay Sagathiya <axaysagathiya@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.
Fix the lint problem. Otherwise, LGTM
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.
Great work.
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 did you test it on staging?
Co-authored-by: Axay Sagathiya <axaysagathiya@gmail.com>
Changes
retrieveFirstNonOriginBlockSlot
that retrieves the block#1
slot number, if there is more than one them select the correct one based on ancestrycreateStateService
method that now instantiates the genesis runtime and retrieveBabeConfigurations
as it is required for the epoch stateTests
go test -tags integration github.com/ChainSafe/gossamer
Issues
Primary Reviewer
@kishansagathiya