Skip to content
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

122 remove the mindelegation init property from the validatorset contract #7

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion contracts/ValidatorSet/IValidatorSet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ struct ValidatorInit {
struct InitStruct {
uint256 epochReward;
uint256 minStake;
uint256 minDelegation;
uint256 epochSize;
}

Expand Down
1 change: 0 additions & 1 deletion contracts/ValidatorSet/ValidatorSet.sol
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ contract ValidatorSet is ValidatorSetBase, System, AccessControl, PowerExponent,
* @dev only callable by client, can only be called once
* @param init: newEpochReward reward for a proposed epoch
* newMinStake minimum stake to become a validator
* newMinDelegation minimum amount to delegate to a validator
* @param newValidators: addr addresses of initial validators
* pubkey uint256[4] BLS public keys of initial validators
* signature uint256[2] signature of initial validators
Expand Down
2 changes: 1 addition & 1 deletion docs/RewardPool/RewardPool.md
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ Keeps the delegation pools
function delegationPositions(address, address) external view returns (uint256 duration, uint256 start, uint256 end, uint256 base, uint256 vestBonus, uint256 rsiBonus)
```

The vesting positions for every delegator.
The vesting positions for every delegator



Expand Down
5 changes: 0 additions & 5 deletions test/ValidatorSet/ValidatorSet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ describe("ValidatorSet", function () {
{
epochReward: this.epochReward,
minStake: this.minStake,
minDelegation: this.minDelegation,
epochSize: this.epochSize,
},
[this.validatorInit],
Expand Down Expand Up @@ -85,7 +84,6 @@ describe("ValidatorSet", function () {
{
epochReward: this.epochReward,
minStake: this.minStake,
minDelegation: this.minDelegation,
epochSize: this.epochSize,
},
// eslint-disable-next-line node/no-unsupported-features/es-syntax
Expand Down Expand Up @@ -113,7 +111,6 @@ describe("ValidatorSet", function () {
{
epochReward: this.epochReward,
minStake: this.minStake,
minDelegation: this.minDelegation,
epochSize: this.epochSize,
},
[this.validatorInit],
Expand Down Expand Up @@ -156,7 +153,6 @@ describe("ValidatorSet", function () {
{
epochReward: this.epochReward,
minStake: this.minStake,
minDelegation: this.minDelegation,
epochSize: this.epochSize,
},
[this.validatorInit],
Expand Down Expand Up @@ -196,7 +192,6 @@ describe("ValidatorSet", function () {
{
epochReward: this.epochReward,
minStake: this.minStake,
minDelegation: this.minDelegation,
epochSize: this.epochSize,
},
[this.validatorInit],
Expand Down
1 change: 0 additions & 1 deletion test/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ async function initializedValidatorSetStateFixtureFunction(this: Mocha.Context)
{
epochReward: this.epochReward,
minStake: this.minStake,
minDelegation: this.minDelegation,
epochSize: this.epochSize,
},
[validatorInit],
Expand Down
Loading