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/staking delegation v2 #2370
Conversation
…ation-tests En 7777/delegation integration tests
…ards En 7776/delegation sc rewards
…ntegration # Conflicts: # cmd/node/factory/structs.go # epochStart/errors.go # epochStart/interface.go # epochStart/metachain/rewards.go # epochStart/metachain/rewards_test.go # epochStart/metachain/systemSCs_test.go # integrationTests/testProcessorNode.go
new address func
…gration Integrated stake top-up functionality
…init send-stake-at-delegation-init
…staking data provider
…-2020.12.17 Merge dev feat staking v2 2020.12.17
cmd/node/config/config.toml
Outdated
@@ -21,17 +21,17 @@ | |||
RelayedTransactionsEnableEpoch = 2 | |||
|
|||
# PenalizedTooMuchGasEnableEpoch represents the epoch when the penalization for using too much gas will be enabled | |||
PenalizedTooMuchGasEnableEpoch = 2 | |||
PenalizedTooMuchGasEnableEpoch = 1 |
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.
not 2?
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.
done
cmd/node/config/config.toml
Outdated
|
||
# SwitchJailWaitingEnableEpoch represents the epoch when the system smart contract processing at end of epoch is enabled | ||
SwitchJailWaitingEnableEpoch = 2 | ||
SwitchJailWaitingEnableEpoch = 1 |
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.
not 2?
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.
done
cmd/node/config/config.toml
Outdated
|
||
# BelowSignedThresholdEnableEpoch represents the epoch when the change for computing rating for validators below signed rating is enabled | ||
BelowSignedThresholdEnableEpoch = 2 | ||
BelowSignedThresholdEnableEpoch = 1 |
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.
not 2?
cmd/node/config/config.toml
Outdated
|
||
# SwitchHysteresisForMinNodesEnableEpoch represents the epoch when the system smart contract changes its config to consider | ||
# also (minimum) hysteresis nodes for the minimum number of nodes | ||
SwitchHysteresisForMinNodesEnableEpoch = 2 | ||
SwitchHysteresisForMinNodesEnableEpoch = 1 |
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.
not 2?
UnBondPeriod = 250 | ||
MinStepValue = "100000000000000000000" | ||
AuctionEnableEpoch = 100000 | ||
StakeEnableEpoch = 2 | ||
StakeEnableEpoch = 1 |
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.
not 2?
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.
done
…nfig Fixed enable epochs in configs
aeaaaab
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.
Initial tests passed.
Implementing staking and delegation v2