Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Casper FFG test net compatibility #1015

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

Casper FFG test net compatibility #1015

wants to merge 74 commits into from

Conversation

zilm13
Copy link
Collaborator

@zilm13 zilm13 commented Feb 22, 2018

NO MERGE
A lot of refactoring to go.
Only for develop diff.

@zilm13 zilm13 requested a review from mkalinin February 22, 2018 16:15
@zilm13
Copy link
Collaborator Author

zilm13 commented Feb 22, 2018

TODO: add Test for CasperTransactionExecutor with vote to check that gas is not used and rewards are correct

@zilm13 zilm13 changed the title Casper FFG test net implementation Casper FFG test net compatibility Mar 2, 2018
@zilm13
Copy link
Collaborator Author

zilm13 commented Mar 14, 2018

TODO:

  1. should epoch switch costs gas?
  2. for failed casper vote, we are substituting fee from tx.sender, but the sender is fffffffffff.. ?
  1. no
  2. if a casper vote's sender is ffffffffff, and the casper vote fails, that's an invalid transaction, and if that tx is part of the block then the block is invalid. pyethapp is currently incorrectly implemented

@zilm13
Copy link
Collaborator Author

zilm13 commented Mar 14, 2018

  1. postpone as we will need to restart testnet for it, implemented in 8ec6864
  2. postpone for the same reason, block 1480 already has failed deposit, implemented in
    c72cb9d

zilm13 and others added 24 commits March 14, 2018 17:04
… Instead, block should be INVALID"

This reverts commit c72cb9d.
…er vote. Instead, block should be INVALID""

This reverts commit 0cc765d.
@zilm13
Copy link
Collaborator Author

zilm13 commented Apr 12, 2018

  • add optional slashing condition watcher

@mkalinin
Copy link
Contributor

Closing it

@mkalinin mkalinin closed this Jun 14, 2018
@zilm13 zilm13 reopened this Jun 20, 2018
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.

3 participants