Add first draft of InfractionCollector #85
Annotations
5 errors and 10 warnings
Solidity Lint:
contracts/contracts/coordination/InfractionCollector.sol#L18
Replace Coordinator·_coordinator,·TACoChildApplication·_tacoChildApplication with ⏎········Coordinator·_coordinator,⏎········TACoChildApplication·_tacoChildApplication⏎····
|
Solidity Lint:
contracts/contracts/coordination/InfractionCollector.sol#L25
Replace bytes32·ritualId,·address[]·calldata·stakingProviders with ⏎········bytes32·ritualId,⏎········address[]·calldata·stakingProviders⏎····
|
Solidity Lint:
contracts/contracts/coordination/InfractionCollector.sol#L27
Replace coordinator.getRitualState(ritualId)·==·Coordinator.RitualState.DKG_TIMEOUT,·"Ritual·must·have·failed" with ⏎············coordinator.getRitualState(ritualId)·==·Coordinator.RitualState.DKG_TIMEOUT,⏎············"Ritual·must·have·failed"⏎········
|
|
Solidity Lint
Process completed with exit code 1.
|
Solidity Lint:
contracts/contracts/Adjudicator.sol#L31
Function order is incorrect, state variable declaration can not go after event definition (line 25)
|
Solidity Lint:
contracts/contracts/Adjudicator.sol#L37
Main key parameter in mapping penaltyHistory is not named
|
Solidity Lint:
contracts/contracts/Adjudicator.sol#L37
Value parameter in mapping penaltyHistory is not named
|
Solidity Lint:
contracts/contracts/Adjudicator.sol#L38
Main key parameter in mapping evaluatedCFrags is not named
|
Solidity Lint:
contracts/contracts/Adjudicator.sol#L38
Value parameter in mapping evaluatedCFrags is not named
|
Solidity Lint:
contracts/contracts/Adjudicator.sol#L53
Use Custom Errors instead of require statements
|
Solidity Lint:
contracts/contracts/Adjudicator.sol#L90
Use Custom Errors instead of require statements
|
Solidity Lint:
contracts/contracts/Adjudicator.sol#L102
Use Custom Errors instead of require statements
|
Solidity Lint:
contracts/contracts/Adjudicator.sol#L106
Use Custom Errors instead of require statements
|
Solidity Lint:
contracts/contracts/Adjudicator.sol#L114
Use Custom Errors instead of require statements
|
Loading