-
Notifications
You must be signed in to change notification settings - Fork 198
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
Soft-fork boilerplate #2199
Soft-fork boilerplate #2199
Conversation
…me options from bool to uint32 representing the epoch number when will become active
core/forking/genericEpochNotifier.go
Outdated
} | ||
|
||
// NotifyAllPrepare does nothing | ||
func (gen *genericEpochNotifier) NotifyAllPrepare(_ data.HeaderHandler, _ data.BodyHandler) { |
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.
I do not think Prepare is needed. only notifyAll - but let's have a talk about it.
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.
I had to implement the interface in order to get this component notified by the epochStartNotifier
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.
ok. we have to see the edge cases when changing epoch. I think we need it in NotifyAllPrepare - as the code is right now the activation of the new Header version, and the activation of certain features.
Do not forget to add the activation of a new header version when is needed ?
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.
new epoch block (start of epoch block from meta, then shard should have the new header version and to have the required features already activated at block creation and at block processing time.
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 please add for each manual testing scenario the following:
a) Prerequisites
b) Test steps
c) Expected results
d) Actual results
If there are parameters involved in testing what are the parameters boundaries and the expected results and actual results for testing inside boundaries, on boundaries and outside boundaries.
- added an integration test
…epoch notifier and taking care of the hardfork processing
# Conflicts: # genesis/errors.go
9928d35
c22293f
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.
System tests passed.
this PR should and will not cause breaking changes with the launched mainnet
Testing steps:
system tested using current version of erd-py for deploy SC and builtin functions