Fix stack overflow issue (#184)

This commit is contained in:
Sebastian Miasojed
2025-01-31 14:31:34 +01:00
committed by GitHub
parent 1a8a7926e9
commit 8201401fef
5 changed files with 195 additions and 4 deletions
+20
View File
@@ -0,0 +1,20 @@
{
"language": "Solidity",
"sources": {
"fixtures/instantiate.sol": {
"content": "// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.8.2 <0.9.0;\ncontract ChildContract {\n constructor() {\n }\n}\ncontract MainContract {\n constructor() {\n ChildContract newContract = new ChildContract();\n }\n}"
}
},
"settings": {
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": ["abi"]
}
}
}
}