You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This folder contains the [CVL](https://docs.certora.com/en/latest/docs/cvl/index.html) specification and verification setup for the following bundler contracts:
To verify a specification, run the command `certoraRun Spec.conf` where `Spec.conf` is one of the configuration files in [`certora/confs`](confs).
16
+
17
+
You must have set the `CERTORAKEY` environment variable to a valid Certora key.
18
+
19
+
## Overview
20
+
21
+
Bundler methods used during a bundle execution have the `protected` modifier. This modifier ensures that:
22
+
- An initiator has been set, and
23
+
- the caller is the bundle initiator or the Morpho contract.
24
+
25
+
The `Protected.spec` file checks that all bundler functions, except noted exceptions, respect the requirements of the `protected` modifier when an initiator has been set.
26
+
27
+
## Verification architecture
28
+
29
+
### Folders and file structure
30
+
31
+
The [`certora/specs`](specs) folder contains the following files:
32
+
33
+
-[`Protected.spec`](specs/Protected.spec) checks that all methods except noted exceptions respect the `protected` modifier when an initiator has been set.
34
+
35
+
The [`certora/confs`](confs) folder contains a configuration file for each deployed bundler.
0 commit comments