Skip to content

Commit

Permalink
chore: adding properties
Browse files Browse the repository at this point in the history
  • Loading branch information
nican0r committed Aug 8, 2024
1 parent 38308b4 commit de92fc7
Show file tree
Hide file tree
Showing 16 changed files with 101 additions and 314 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
[submodule "lib/chimera"]
path = lib/chimera
url = https://github.com/Recon-Fuzz/chimera
[submodule "lib/erc7540-reusable-properties"]
path = lib/erc7540-reusable-properties
url = https://github.com/Recon-Fuzz/erc7540-reusable-properties
8 changes: 0 additions & 8 deletions echidna-property.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions echidna-assertion.yaml → echidna.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

testMode: "assertion"
prefix: "invariant_"
prefix: "crytic_"
coverage: true
corpusDir: "echidna"
balanceAddr: 0x1043561a8829300000
balanceContract: 0x1043561a8829300000
filterFunctions: []
cryticArgs: ["--foundry-compile-all"]
cryticArgs: ["--foundry-compile-all"]
2 changes: 1 addition & 1 deletion lib/chimera
Submodule chimera updated 3 files
+8 −0 README.md
+24 −12 src/CryticAsserts.sol
+29 −3 src/Hevm.sol
1 change: 1 addition & 0 deletions lib/erc7540-reusable-properties
86 changes: 0 additions & 86 deletions medusa-aggregator.json

This file was deleted.

6 changes: 3 additions & 3 deletions medusa-core.json → medusa.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"timeout": 0,
"testLimit": 0,
"callSequenceLength": 100,
"corpusDirectory": "medusa-core",
"corpusDirectory": "medusa",
"coverageEnabled": true,
"deploymentOrder": [
"CryticTester"
Expand All @@ -17,7 +17,7 @@
"0x27b46536c66c8e3000000"
],
"constructorArgs": {},
"deployerAddress": "0x1804c8AB1F12E6bbf3894d4083f33e07309d1f38",
"deployerAddress": "0x30000",
"senderAddresses": [
"0x10000",
"0x20000",
Expand Down Expand Up @@ -52,7 +52,7 @@
"propertyTesting": {
"enabled": true,
"testPrefixes": [
"invariant_"
"crytic_"
]
},
"optimizationTesting": {
Expand Down
26 changes: 0 additions & 26 deletions script/Axelar.s.sol

This file was deleted.

143 changes: 0 additions & 143 deletions script/Deployer.sol

This file was deleted.

22 changes: 0 additions & 22 deletions script/Forwarder.s.sol

This file was deleted.

23 changes: 0 additions & 23 deletions script/Permissionless.s.sol

This file was deleted.

14 changes: 14 additions & 0 deletions test/recon/CryticTester.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

// SPDX-License-Identifier: GPL-2.0
pragma solidity ^0.8.0;

import {TargetFunctions} from "./TargetFunctions.sol";
import {CryticAsserts} from "@chimera/CryticAsserts.sol";

// echidna . --contract CryticTester --config echidna.yaml
// medusa fuzz
contract CryticTester is TargetFunctions, CryticAsserts {
constructor() payable {
setup();
}
}
Loading

0 comments on commit de92fc7

Please sign in to comment.