Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
nivcertora committed May 21, 2024
1 parent 958f508 commit 8dd8ec3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions certora/specs/SafeWebAuthnSignerFactory.spec
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,14 @@ rule deterministicSigner()

/*
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
Correctness of Signer Creation. (Cant called twice and override) (Proved) │
Correctness of Signer Creation. (Cant called twice and override) (Violated) │
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
*/

ghost mathint numOfCreation;

hook CREATE2(uint value, uint offset, uint length, bytes32 salt) address v{
require numOfCreation == numOfCreation + 1;
numOfCreation = numOfCreation + 1;
}

rule SignerCreationCantOverride()
Expand Down

0 comments on commit 8dd8ec3

Please sign in to comment.