Skip to content

Commit 02aadc7

Browse files
fixes
1 parent f54d0e6 commit 02aadc7

File tree

2 files changed

+60
-3
lines changed

2 files changed

+60
-3
lines changed

.github/workflows/medusa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ jobs:
170170
run: |
171171
solc-select install ${{ matrix.solc-version || '0.8.0' }}
172172
solc-select use ${{ matrix.solc-version || '0.8.0' }}
173-
medusa fuzz --compilation-target ${{ matrix.files }} --target-contracts ${{ matrix.contract }} --no-color --test-limit 30000 --config medusa.json > ${{ matrix.files }}.out || true
173+
medusa fuzz --compilation-target ${{ matrix.files }} --target-contracts ${{ matrix.contract }} --no-color --test-limit 100000 --config medusa.json > ${{ matrix.files }}.out || true
174174
175175
- name: Verify that the output is correct
176176
working-directory: ${{ matrix.workdir }}

program-analysis/echidna/example/medusa.json

Lines changed: 59 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,65 @@
11
{
22
"fuzzing": {
3+
"workers": 10,
4+
"workerResetLimit": 50,
5+
"timeout": 0,
6+
"testLimit": 0,
7+
"callSequenceLength": 100,
8+
"corpusDirectory": "",
9+
"coverageEnabled": true,
10+
"targetContracts": [],
11+
"targetContractsBalances": [],
12+
"constructorArgs": {},
13+
"deployerAddress": "0x30000",
14+
"senderAddresses": [
15+
"0x10000",
16+
"0x20000",
17+
"0x30000"
18+
],
19+
"blockNumberDelayMax": 60480,
20+
"blockTimestampDelayMax": 604800,
21+
"blockGasLimit": 125000000,
22+
"transactionGasLimit": 12500000,
323
"testing": {
24+
"stopOnFailedTest": true,
25+
"stopOnFailedContractMatching": false,
26+
"stopOnNoTests": true,
27+
"testAllContracts": false,
28+
"traceAll": false,
429
"assertionTesting": {
5-
"enabled": true
30+
"enabled": true,
31+
"testViewMethods": false,
32+
"panicCodeConfig": {
33+
"failOnCompilerInsertedPanic": false,
34+
"failOnAssertion": true,
35+
"failOnArithmeticUnderflow": false,
36+
"failOnDivideByZero": false,
37+
"failOnEnumTypeConversionOutOfBounds": false,
38+
"failOnIncorrectStorageAccess": false,
39+
"failOnPopEmptyArray": false,
40+
"failOnOutOfBoundsArrayAccess": false,
41+
"failOnAllocateTooMuchMemory": false,
42+
"failOnCallUninitializedVariable": false
43+
}
644
},
745
"propertyTesting": {
46+
"enabled": true,
847
"testPrefixes": [
948
"echidna_"
1049
]
50+
},
51+
"optimizationTesting": {
52+
"enabled": false,
53+
"testPrefixes": [
54+
"optimize_"
55+
]
56+
}
57+
},
58+
"chainConfig": {
59+
"codeSizeCheckDisabled": true,
60+
"cheatCodes": {
61+
"cheatCodesEnabled": true,
62+
"enableFFI": false
1163
}
1264
}
1365
},
@@ -19,5 +71,10 @@
1971
"exportDirectory": "",
2072
"args": []
2173
}
74+
},
75+
"logging": {
76+
"level": "info",
77+
"logDirectory": "",
78+
"noColor": false
2279
}
23-
}
80+
}

0 commit comments

Comments
 (0)