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

fix: epoch start was effectively zero in Sepolia deployment #105

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

bingen
Copy link
Contributor

@bingen bingen commented Dec 18, 2024

No description provided.

@bingen bingen self-assigned this Dec 18, 2024
@@ -90,7 +90,7 @@ contract DeploySepoliaScript is Script, Deployers, MockStakingV1Deployer {
votingThresholdFactor: VOTING_THRESHOLD_FACTOR,
minClaim: MIN_CLAIM,
minAccrual: MIN_ACCRUAL,
epochStart: uint32(block.timestamp - VESTING_EPOCH_START),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes VESTING_EPOCH_START unused. Also, VESTING_EPOCH_DURATION was never used in the first place.

Copy link
Contributor

@danielattilasimon danielattilasimon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@bingen bingen merged commit a28490a into main Dec 19, 2024
3 checks passed
@danielattilasimon danielattilasimon deleted the fix-deployment-script branch January 19, 2025 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants