Override the Solidity `outputSelection` via config
See original GitHub issueIssue
I’ve like to be able to specify the Solidity outputSelection
in my Truffle config as defined by the Solidity compiler
https://solidity.readthedocs.io/en/v0.6.1/using-the-compiler.html#input-description
For my use case, I’d like to include the evm.methodIdentifiers
in the Solidity compiler output. But it’d be good to allow all the outputSelection
s to be overridden.
Steps to Reproduce
The output selections are currently hard coded at https://github.com/trufflesuite/truffle/blob/develop/packages/compile-solidity/run.js#L211-L223
Expected Behavior
The default output selections should be overridable via the Truffle config.
Actual Results
The selections can not be overridden at the moment.
Environment
- Operating System:
- Ethereum client:
- Truffle version (
truffle version
): 5.1.9 - node version (
node --version
): - npm version (
npm --version
):
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Solc Compiler Options - Solidity Programming Language
No information is available for this page.
Read more >Solidity Documentation - Read the Docs
Solidity is an object-oriented, high-level language for implementing smart contracts. Smart contracts are programs.
Read more >Unable to get abi and bytecode when compiling using solc
I am trying to compile a contract using solidity compiler version 0.5.3 instead and am able to get the output from the compiler...
Read more >Configuration - Truffle Suite
Networks are identified through Ethereum's net_version RPC call, as well as blockchain URIs. The networks object, shown below, is keyed by network names...
Read more >Solidity: Abstract contract and override VRFConsumerBase ...
Using pragma solidity ^0.6.6; and v0.6 of the VRF as well as AggregatorV3Interface.sol and Ownable.sol I get two errors either in the editor...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Been trying for hours to figure out why
outputSelection
in my truffle-config did not had any effect. Would be useful to update the documentation here, just after the link to the solidity documentation, and mention thatoutputSelection
isn’t considered (yet).If that can help: my goal is to avoid sensitive informations (like local paths) to be included in the files, before publishing the builds.
Any news on this one? I also want to override it to add “storageLayout”