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

Add genesis header & val total dep size tests #11

Open
wants to merge 13 commits into
base: develop
Choose a base branch
from

Conversation

karlfloersch
Copy link
Owner

@karlfloersch karlfloersch commented Dec 11, 2017

This PR adds:

  1. Allows the header to be passed to make_casper_genesis(). This lets us specify genesis block difficulty.
  2. A couple tests which make sure that validator deposits increase when everyone is behaving properly. This is something I wasn't sure about before because it looked like validators were losing money while we ran the testnet. That said, it seems everything should be working as expected.

karlfloersch and others added 13 commits November 26, 2017 16:02
…limit

Voting no long effects block gas limit
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.
Filter out casper vote transactions at a lower level
Move casper FFG-related config to config.py
@karlfloersch karlfloersch changed the title Add validator total deposit size tests Add genesis header & val total dep size tests Dec 11, 2017
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.

3 participants