From e4d09bc2fd22b63e1b5f096f87a1dd7f915a2a00 Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Fri, 29 Mar 2019 10:04:12 +0800 Subject: contracts: governance: add fail stop type --- contracts/Governance.sol | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'contracts/Governance.sol') diff --git a/contracts/Governance.sol b/contracts/Governance.sol index 514864d..529b08b 100644 --- a/contracts/Governance.sol +++ b/contracts/Governance.sol @@ -17,6 +17,8 @@ contract Governance { // ReportType. enum ReportType { + FAIL_STOP, + FAIL_STOP_DKG, INVALID_DKG, FORK_VOTE, FORK_BLOCK @@ -153,7 +155,7 @@ contract Governance { event Withdrawn(address indexed NodeAddress, uint256 Amount); event NodeAdded(address indexed NodeAddress); event NodeRemoved(address indexed NodeAddress); - event ForkReported(address indexed NodeAddress, uint256 Type, bytes Arg1, bytes Arg2); + event Reported(address indexed NodeAddress, uint256 Type, bytes Arg1, bytes Arg2); event Fined(address indexed NodeAddress, uint256 Amount); event FinePaid(address indexed NodeAddress, uint256 Amount); event DKGReset(uint256 indexed Round, uint256 BlockHeight); -- cgit v1.2.3