Skip to content

Commit

Permalink
Update SIP-7 SignerCannotBeReauthorized error to include signer address
Browse files Browse the repository at this point in the history
  • Loading branch information
lfportal committed Apr 4, 2024
1 parent 37b868a commit f87f2a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SIPS/sip-7.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ The `domainSeparator` used to recover the signer MUST check if the `block.chaini

When a new signer is added to a zone or contract offerer, that contract MUST emit the event `event SignerAdded(address signer);`. When removed it MUST emit the event `event SignerRemoved(address signer)`.

Once a signer is removed, it MUST NOT be able to be reactivated, to protect against compromised keys. If a removed signer is attempted to be added, the contract MUST revert with `error SignerCannotBeReauthorized()`.
Once a signer is removed, it MUST NOT be able to be reactivated, to protect against compromised keys. If a removed signer is attempted to be added, the contract MUST revert with `error SignerCannotBeReauthorized(address signer)`.

If a duplicate signer is added it MUST revert with `error SignerAlreadyActive(address signer)`. If a signer not found is removed it MUST revert with `error SignerNotActive(address signer)`.

Expand Down

0 comments on commit f87f2a2

Please sign in to comment.