Skip to content

Commit d237e2b

Browse files
updated medusa config
1 parent f4828ee commit d237e2b

File tree

2 files changed

+46
-12
lines changed

2 files changed

+46
-12
lines changed

Diff for: tests/ERC20/foundry/medusa-config-ext.json

+23-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"callSequenceLength": 100,
88
"corpusDirectory": "tests/medusa-corpus-ext",
99
"coverageEnabled": true,
10-
"deploymentOrder": [],
10+
"targetContracts": [],
11+
"targetContractsBalances": [],
1112
"constructorArgs": {},
1213
"deployerAddress": "0x10000",
1314
"senderAddresses": [
@@ -21,19 +22,30 @@
2122
"transactionGasLimit": 12500000,
2223
"testing": {
2324
"stopOnFailedTest": true,
24-
"stopOnFailedContractMatching": true,
25+
"stopOnFailedContractMatching": false,
2526
"stopOnNoTests": true,
2627
"testAllContracts": false,
27-
"onlyCallFromDeploymentOrder": false,
2828
"traceAll": false,
2929
"assertionTesting": {
3030
"enabled": true,
31-
"testViewMethods": false
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+
}
3244
},
3345
"propertyTesting": {
3446
"enabled": false,
3547
"testPrefixes": [
36-
"fuzz_"
48+
"property_"
3749
]
3850
},
3951
"optimizationTesting": {
@@ -59,5 +71,10 @@
5971
"exportDirectory": "",
6072
"args": []
6173
}
74+
},
75+
"logging": {
76+
"level": "info",
77+
"logDirectory": "",
78+
"noColor": false
6279
}
63-
}
80+
}

Diff for: tests/ERC20/foundry/medusa-config.json

+23-6
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"callSequenceLength": 100,
88
"corpusDirectory": "tests/medusa-corpus",
99
"coverageEnabled": true,
10-
"deploymentOrder": [],
10+
"targetContracts": [],
11+
"targetContractsBalances": [],
1112
"constructorArgs": {},
1213
"deployerAddress": "0x10000",
1314
"senderAddresses": [
@@ -21,19 +22,30 @@
2122
"transactionGasLimit": 12500000,
2223
"testing": {
2324
"stopOnFailedTest": true,
24-
"stopOnFailedContractMatching": true,
25+
"stopOnFailedContractMatching": false,
2526
"stopOnNoTests": true,
2627
"testAllContracts": false,
27-
"onlyCallFromDeploymentOrder": false,
2828
"traceAll": false,
2929
"assertionTesting": {
3030
"enabled": true,
31-
"testViewMethods": false
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+
}
3244
},
3345
"propertyTesting": {
3446
"enabled": false,
3547
"testPrefixes": [
36-
"fuzz_"
48+
"property_"
3749
]
3850
},
3951
"optimizationTesting": {
@@ -59,5 +71,10 @@
5971
"exportDirectory": "",
6072
"args": []
6173
}
74+
},
75+
"logging": {
76+
"level": "info",
77+
"logDirectory": "",
78+
"noColor": false
6279
}
63-
}
80+
}

0 commit comments

Comments
 (0)