Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Don't run the dao block validator if dao block is 0 #1044

Merged
merged 2 commits into from
Mar 5, 2019

Conversation

ajsutton
Copy link
Contributor

@ajsutton ajsutton commented Mar 5, 2019

PR description

The Dao block validator was incorrectly running on Ropsten and disconnecting all peers. The daoForkBlock is slightly unusual in that when it's set to 0 it means disabled, not activates at block 0 like other milestones.

This updates the config options object to encapsulate that detail so daoForkBlock: 0 is equivalent to not specifying the daoForkBlock.

Copy link
Contributor

@mbaxter mbaxter left a comment

Choose a reason for hiding this comment

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

🎉

@ajsutton ajsutton merged commit 528d938 into PegaSysEng:master Mar 5, 2019
@ajsutton ajsutton deleted the skip-dao-validator branch March 5, 2019 19:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants