new event

Former-commit-id: 7e553b8f467e46b53b331d70bee5c89277dc4067 [formerly 0b4a95c2b2e1403493db125359fec9d89dad4d23]
Former-commit-id: 8bad3a5e1b1a5dcab3dbc717c872dd39b29d207e
This commit is contained in:
Fynn
2018-02-05 09:47:27 +01:00
parent 621e769692
commit d9a7106a0c

View File

@@ -11,6 +11,8 @@ contract VMC {
using RLP for RLP.Iterator;
using RLP for bytes;
event CollationAdded(uint256 indexed shardId, bytes collationHeader, bool isNewHead, uint256 score);
struct Validator {
// Amount of wei the validator holds
uint deposit;
@@ -67,8 +69,6 @@ contract VMC {
mapping (int => int) periodHead;
function VMC() public {
numValidators = 0;
emptySlotsStackTop = 0;
addHeaderLogTopic = keccak256("add_header()");
sighasher = SigHasherContract(0xDFFD41E18F04Ad8810c83B14FD1426a82E625A7D);
}