forked from TrueFiEng/Waffle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding new possible version of generated output of compilation (KLAB …
…friendly) (TrueFiEng#102) * added three version of generated output: * singleton json file for each sol file * one combined json for all (KLAB friendly) * both of above * new config for tests added * simple test for combined output
- Loading branch information
1 parent
7bb1148
commit 9c2b420
Showing
6 changed files
with
166 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Summary 2.0.10 | ||
|
||
Add support for generating KLAB (a formal verification tool for Solidity, see: https://github.com/dapphub/klab) | ||
friendly compilation output. | ||
|
||
An example of full KLAB friendly config file is the following: | ||
|
||
``` | ||
module.exports = { | ||
compiler: process.env.WAFFLE_COMPILER, | ||
legacyOutput: true, | ||
outputType: 'all', | ||
compilerOptions: { | ||
outputSelection: { | ||
"*": { | ||
"*": [ "evm.bytecode.object", "evm.deployedBytecode.object", | ||
"abi" , | ||
"evm.bytecode.sourceMap", "evm.deployedBytecode.sourceMap" ], | ||
"": [ "ast" ] | ||
}, | ||
} | ||
} | ||
}; | ||
``` | ||
|
||
For details, see updated appropriate documentation file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
module.exports = { | ||
name: "KLAB friendly configuration", | ||
sourcesPath: "./test/projects/custom/custom_contracts", | ||
targetPath: "./test/projects/custom/custom_build", | ||
npmPath: "./test/projects/custom/custom_node_modules", | ||
compiler: process.env.WAFFLE_COMPILER, | ||
legacyOutput: true, | ||
outputType: 'all', | ||
compilerOptions: { | ||
outputSelection: { | ||
"*": { | ||
"*": [ "evm.bytecode.object", "evm.deployedBytecode.object", | ||
"abi" , | ||
"evm.bytecode.sourceMap", "evm.deployedBytecode.sourceMap" ], | ||
|
||
"": [ "ast" ] | ||
}, | ||
} | ||
} | ||
}; | ||
|