-
Notifications
You must be signed in to change notification settings - Fork 204
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
Mx 15702 sovereign enable epochs handler #6626
Mx 15702 sovereign enable epochs handler #6626
Conversation
This reverts commit 616fb58.
…nable-epochs-handler
…-handler' into MX-15702-sovereign-enable-epochs-handler
…s-handler # Conflicts: # genesis/process/sovereignGenesisBlockCreator.go
…s-handler # Conflicts: # factory/processing/processComponents.go # factory/processing/processComponents_test.go
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feat/chain-go-sdk #6626 +/- ##
=====================================================
+ Coverage 77.68% 77.69% +0.01%
=====================================================
Files 928 963 +35
Lines 106315 108696 +2381
=====================================================
+ Hits 82593 84456 +1863
- Misses 18035 18416 +381
- Partials 5687 5824 +137 ☔ View full report in Codecov by Sentry. |
…s-handler # Conflicts: # factory/processing/processComponents.go # genesis/process/genesisBlockCreator.go # integrationTests/realcomponents/processorRunner.go # node/nodeRunner.go
@@ -92,7 +92,7 @@ | |||
ValidatorToDelegationEnableEpoch = 0 | |||
|
|||
# WaitingListFixEnableEpoch represents the epoch when the 6 epoch waiting list fix is enabled | |||
WaitingListFixEnableEpoch = 1000000 | |||
WaitingListFixEnableEpoch = 0 |
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.
This flag I think should always be disabled or never used.
I think in the original enableEpochs.toml
from node
this flag should have been deleted.
Also, not sure about CorrectLastUnjailedEnableEpoch
& BuiltInFunctionOnMetaEnableEpoch
. We should ask @sasurobert 's opinion as well
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.
Delete this epoch. That fix was never implemented and we do not have waiting list anymore.
CorrectLastUnJailed can be deleted from here, as it is treated as 0 in that case, same with builtInFuncOnMeta.
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.
- Deleted
WaitingListFixEnableEpoch
andBuiltInFunctionOnMetaEnableEpoch
. - I kept the
CorrectLastUnjailedEnableEpoch
because is a flag in enable epochs handler
@@ -4,13 +4,13 @@ import ( | |||
"testing" | |||
"time" | |||
|
|||
"github.com/multiversx/mx-chain-core-go/core" | |||
"github.com/stretchr/testify/require" |
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.
goimport.
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.
This seems to be ok, it's split in 3 categories.
@@ -8,14 +8,15 @@ import ( | |||
|
|||
"github.com/multiversx/mx-chain-core-go/core" | |||
"github.com/multiversx/mx-chain-core-go/core/check" | |||
logger "github.com/multiversx/mx-chain-logger-go" | |||
"github.com/multiversx/mx-chain-logger-go/file" | |||
"github.com/urfave/cli" |
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.
goimport
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.
This seems to be ok, it's split in 3 categories.
@@ -4,12 +4,17 @@ import ( | |||
"errors" | |||
"testing" | |||
|
|||
"github.com/stretchr/testify/require" |
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.
goimports everywhere.
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.
This seems to be ok, it's split in 3 categories.
Reasoning behind the pull request
Proposed changes
Testing procedure
Pre-requisites
Based on the Contributing Guidelines the PR author and the reviewers must check the following requirements are met:
feat
branch created?feat
branch merging, do all satellite projects have a proper tag insidego.mod
?