Function: reInsert(address _id, uint256 _newNICR, address _prevId, address _nextId)
Add a node to the list.
Inputs
_idControl: Fully controlled.
Constraints: No constraints.
Impact: Node's ID.
_newNICRControl: Fully controlled.
Constraints: No constraints.
Impact: Node's new NICR.
_prevIdControl: Fully controlled.
Constraints: No constraints.
Impact: ID of previous node for the insert position.
_nextIdControl: Fully controlled.
Constraints: No constraints.
Impact: ID of next node for the insert position
Branches and code coverage (including function calls)
Intended branches
Reinsert the node in the orrect possition.
Negative behavior
Revert if caller is not the trove manager.
Revert if the list does not contain the ID.