Skip to content

Commit 0fd1232

Browse files
committed
Test ethdebug output when requested in standard json under EOF
1 parent ae0516c commit 0fd1232

File tree

13 files changed

+1346
-0
lines changed

13 files changed

+1346
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"language": "Solidity",
3+
"sources": {
4+
"a.sol": {
5+
"content": "//SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.0;\ncontract A1 { function a(uint x) public pure { assert(x > 0); } } contract A2 { function a(uint x) public pure { assert(x > 0); } }"
6+
},
7+
"b.sol": {
8+
"content": "//SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.0;\ncontract A1 { function b(uint x) public pure { assert(x > 0); } } contract B2 { function b(uint x) public pure { assert(x > 0); } }"
9+
}
10+
},
11+
"settings": {
12+
"eofVersion": 1,
13+
"evmVersion": "osaka",
14+
"viaIR": true,
15+
"debug": {
16+
"debugInfo": [
17+
"ethdebug"
18+
]
19+
},
20+
"outputSelection": {
21+
"*": {
22+
"*": [
23+
"evm.bytecode.ethdebug",
24+
"evm.deployedBytecode.ethdebug",
25+
"ir",
26+
"irOptimized"
27+
]
28+
}
29+
}
30+
}
31+
}

0 commit comments

Comments
 (0)