mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
51 lines
3.3 KiB
JSON
51 lines
3.3 KiB
JSON
{
|
|
"contracts": {
|
|
"syntaxTests/immutable/no_assignments.sol": {
|
|
"C": {
|
|
"metadata": "{\"compiler\":{\"version\":\"0.8.0+commit.c7dfd78e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"f\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"syntaxTests/immutable/no_assignments.sol\":\"C\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"syntaxTests/immutable/no_assignments.sol\":{\"keccak256\":\"0xbafaec265150d52cd293787144247b1a0a782adf3cb89296fb4f0eb05dc25739\",\"urls\":[\"bzz-raw://7c01dbb8146347c8cf62469d57a0e290f7ef1b871426d86d995315160db665c0\",\"dweb:/ipfs/QmPrYtxVbFCFeXwnhcHoBgbg546EqMzQCT5kK7wLc3rat8\"]}},\"version\":1}"
|
|
}
|
|
}
|
|
},
|
|
"errors": [
|
|
{
|
|
"component": "general",
|
|
"errorCode": "1878",
|
|
"formattedMessage": "Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing \"SPDX-License-Identifier: <SPDX-License>\" to each source file. Use \"SPDX-License-Identifier: UNLICENSED\" for non-open-source code. Please see https://spdx.org for more information.\n--> syntaxTests/immutable/no_assignments.sol\n\n",
|
|
"message": "SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing \"SPDX-License-Identifier: <SPDX-License>\" to each source file. Use \"SPDX-License-Identifier: UNLICENSED\" for non-open-source code. Please see https://spdx.org for more information.",
|
|
"severity": "warning",
|
|
"sourceLocation": {
|
|
"end": -1,
|
|
"file": "syntaxTests/immutable/no_assignments.sol",
|
|
"start": -1
|
|
},
|
|
"type": "Warning"
|
|
},
|
|
{
|
|
"component": "general",
|
|
"errorCode": "3420",
|
|
"formattedMessage": "Warning: Source file does not specify required compiler version! Consider adding \"pragma solidity ^0.8.0;\"\n--> syntaxTests/immutable/no_assignments.sol\n\n",
|
|
"message": "Source file does not specify required compiler version! Consider adding \"pragma solidity ^0.8.0;\"",
|
|
"severity": "warning",
|
|
"sourceLocation": {
|
|
"end": -1,
|
|
"file": "syntaxTests/immutable/no_assignments.sol",
|
|
"start": -1
|
|
},
|
|
"type": "Warning"
|
|
},
|
|
{
|
|
"component": "general",
|
|
"errorCode": "1284",
|
|
"formattedMessage": "CodeGenerationError: Some immutables were read from but never assigned, possibly because of optimization.\n\n",
|
|
"message": "Some immutables were read from but never assigned, possibly because of optimization.",
|
|
"severity": "error",
|
|
"type": "CodeGenerationError"
|
|
}
|
|
],
|
|
"sources": {
|
|
"syntaxTests/immutable/no_assignments.sol": {
|
|
"id": 0
|
|
}
|
|
}
|
|
}
|