mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
new event
Former-commit-id: 7e553b8f467e46b53b331d70bee5c89277dc4067 [formerly 0b4a95c2b2e1403493db125359fec9d89dad4d23] Former-commit-id: 8bad3a5e1b1a5dcab3dbc717c872dd39b29d207e
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user