Skip to content

Commit

Permalink
fix: implement quentin's suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-morpho committed Sep 29, 2024
1 parent fbc1e45 commit d88bf7e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,5 @@ docs/
# Dotenv file
.env

# Emacs
*~

# Certora
.certora_internal
9 changes: 1 addition & 8 deletions certora/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,10 @@ following path names:
- `solc-0.8.27` for the solidity compiler version `0.8.27`, which is
used for `PreLiquidation`.

### Installing the Certora Prover

The Certora CLI can be installed by running `python3 -m pip3 install
certora-cli`. Detailed installation instructions can be found on
Certora's official
[documentation](https://docs.certora.com/en/latest/docs/user-guide/install.html).

To verifying a specification, run the command `certoraRun Spec.conf`
where `Spec.conf` is the configuration file of the matching CVL
specification. Configuration files are available in
[`certora/conf`](./confs). Please ensure that `CERTORA_KEY` is set up
[`certora/conf`](./confs). Please ensure that `CERTORAKEY` is set up
in your environment.

## Overview
Expand Down
5 changes: 3 additions & 2 deletions certora/specs/Reentrancy.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-or-later
// True when storage has been accessed with either a SSTORE or a
// SLOAD.



// True when storage has been accessed with either a SSTORE or a SLOAD.
persistent ghost bool hasAccessedStorage;

hook ALL_SSTORE(uint loc, uint v) {
Expand Down

0 comments on commit d88bf7e

Please sign in to comment.