Function: signUpToCompetition(string calldata _modelHash)
This signs up for the competition.
Inputs
_modelHashControl: Controlled by the caller.
Constraints: Must be a non-empty string.
Impact: Represents the model commitment of the modeler in the competition.
Branches and code coverage
Intended branches
Register the modeler in the
modelerContract.
Negative behavior
Function should revert if
_modelHashis an empty string.Function should revert if the
modelerContractaddress is not set.Registering a modeler that is already registered.
Registering a
_modelHashthat has already been used.