Skip to content

cache contains compiler settings for both solidity and vyper for solidity file #173

Open
@0xalpharush

Description

There is an extra key serialized that probably shouldn't be written to cache/solidity-files-cache.json considering a solidity file cannot be compiled with the provided vyper settings. Fwiw this is not in a project that has any vyper files

        "lib/forge-gas-snapshot/src/GasSnapshot.sol": {
            "lastModificationDate": 1721164956506,
            "contentHash": "ee1b049b9744c27079a06bfab177039f",
            "sourceName": "lib/forge-gas-snapshot/src/GasSnapshot.sol",
            "compilerSettings": {
                "solc": {
                    "optimizer": {
                        "enabled": true,
                        "runs": 44444444
                    },
                    "metadata": {
                        "useLiteralContent": false,
                        "bytecodeHash": "ipfs",
                        "appendCBOR": true
                    },
                    "outputSelection": {
                        "*": {
                            "": [
                                "ast"
                            ],
                            "*": [
                                "abi",
                                "evm.bytecode",
                                "evm.deployedBytecode",
                                "evm.methodIdentifiers",
                                "metadata"
                            ]
                        }
                    },
                    "evmVersion": "cancun",
                    "viaIR": false,
                    "libraries": {}
                },
                "vyper": {
                    "evmVersion": "cancun",
                    "outputSelection": {
                        "*": {
                            "*": [
                                "abi",
                                "evm.bytecode",
                                "evm.deployedBytecode"
                            ]
                        }
                    }
                }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions