Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing output selection of a file causes TypeError #15582

Open
klkvr opened this issue Nov 22, 2024 · 0 comments
Open

Removing output selection of a file causes TypeError #15582

klkvr opened this issue Nov 22, 2024 · 0 comments
Labels

Comments

@klkvr
Copy link

klkvr commented Nov 22, 2024

Description

Here are 2 standard JSON input files:
input1.json
input2.json

The only difference between them is that in the second file output selection for src/PoolManager.sol is not specified:

802,810d801
<             "src/PoolManager.sol": {
<                 "*": [
<                     "abi",
<                     "evm.bytecode",
<                     "evm.deployedBytecode",
<                     "evm.methodIdentifiers",
<                     "metadata"
<                 ]
<             },

However, compilation for the second input fails while it succeeds for the first

Environment

  • Compiler version: 0.8.26
  • Target EVM version (as per compiler settings):
  • Framework/IDE (e.g. Truffle or Remix):
  • EVM execution environment / backend / blockchain client:
  • Operating system: MacOS
@klkvr klkvr added the bug 🐛 label Nov 22, 2024
@klkvr klkvr changed the title Removing output selection of a contract causes TypeError Removing output selection of a file causes TypeError Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant