ContractChallengeValidationErrorInvalidNonce
extends ContractChallengeValidationError
in package
Exception thrown when a contract challenge has inconsistent or invalid nonce values.
This exception is thrown when:
- The nonce argument is not consistent across all authorization entries
- The nonce is missing from the function arguments
- The nonce format is invalid
Security Impact: Critical security check. The nonce provides replay protection by ensuring each challenge is unique and can only be used once. Inconsistent or missing nonces could allow replay attacks where an old signed challenge is reused for unauthorized authentication.