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

Move casper FFG-related config to config.py #10

Merged
merged 4 commits into from
Dec 11, 2017

Conversation

lrettig
Copy link

@lrettig lrettig commented Dec 6, 2017

Depends on #9 (that PR should be merged first).

Handle casper FFG-related config the same way we do for existing config. Allows us to remove the nasty hardcoded config stuff at https://github.com/karlfloersch/pyethapp/blob/2274ab8263961cc474cc634d598ecfe7708b919d/pyethapp/eth_service.py#L178.

Casper vote messages were not being caught in at least one place. Move
the classification to a lower level to fix this.
This also reverts the difficulty increase to 2000 made in d133100
Moving up to Metropolis avoids error about bad opcode on REVERT.
Remove a duplicate import.
@karlfloersch
Copy link
Owner

Looks good! There were a couple chain tests which broke because of this make_casper_genesis and the block reward here but I've fixed them on a local branch, will merge this and then just push that fix

@karlfloersch karlfloersch merged commit f262fd0 into karlfloersch:develop Dec 11, 2017
@lrettig
Copy link
Author

lrettig commented Dec 11, 2017

Thanks. Will make sure to run the tests after future changes. (Although as you already know some are failing now!)

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