Cyfrin / 2023-07-escrow

17 stars 12 forks source link

Escalation: No zero address check for arbiter in Escrow contract's constructor #879

Closed dappconsulting closed 10 months ago

dappconsulting commented 10 months ago
          Acknowledged.

Two potential issues I mentioned here:

1) no address(0) check for arbiter address during escrow deployment <<< But I see now that this is actually OK but only if arbiter can be selected post escrow deployment, and then can always add checks to ensure arbiter can only be selected once per deployed escrow, unless protocol intends to allow for changing arbiter multiple times?

2) seemingly no functionality to select/add valid arbiter address post escrow deployment.

I still think that not being able to set/select an arbiter post escrow deployment is likely an unwanted issue to sit with, especially if an arbiter is needed at some point.

Scenarios:

Summary: Either a valid non-zero arbiter address needs to be added during escrow deployment, or functionality should be implemented to enable adding of arbiter post escrow deployment. Either solution solves the problem. Right now neither is implemented.

Originally posted by @dappconsulting in https://github.com/Cyfrin/2023-07-escrow/issues/841#issuecomment-1699429821

PatrickAlphaC commented 10 months ago

Please don't make new issues during the appeals phase.