Releases: TrueFiEng/Waffle
2.0.11
2.0.10
Summary
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.
2.0.9
This release contains a minor feature.
Extend configuration file to support async operations.
2.0.8
This release contains minor features and bug fixes:
- Update deployContract to work with Infura (by @sz-piotr)
- Added support to Ganache revert reason in transaction responses (by @fredfortier)
And Readme.md
updates:
- step-by-step how to run example and instructions (by @marekkirejczyk)
- running test localy (by @AlexXiong97)
2.0.7
Summary 2.0.7
Add support for custom compiler options in waffle configuration file. Example below.
{
"compilerOptions": {
"evmVersion": "constantinople"
},
"compiler": "native"
}
For detailed list of options go to solidity documentation (sections: 'Setting the EVM version to target', 'Target options' and 'Compiler Input and Output JSON Description').
2.0.6
Bump ganache version to 2.4.0
2.0.5
Summary
This version introduces resolver-engine as a dependency. It is used for import standard import resolution.
Functionality that it adds to the project:
- Filesystem, relative and absolute imports
- NPM and node_modules with support for monorepo pattern
- URI and URL support
- Github and branch support
- IPFS through a gateway
- Swarm through a gateway
Additionally, backward compatibility was added to support Waffle's original resolution methods
About Resolver-Engine
Resolver-Engine project is an Ethereum Foundation grantee, with a goal to create tooling for standardized Solidity import resolution.
In the past each and every framework has a different way of resolving imports, causing great anguish for the end-developers. With the Resolver-Engine, all projects that use it have a common set of supported functionality, sane defaults, and maintenance of a dedicated team meaning that in the future Waffle will be able to support more imports just by upgrading the dependency.
2.0.4
2.0.3
Summary
This release introduces TypeScript declaration files for custom matchers and
a rewrite of the compiler.
Type declarations for custom matchers
You can now enjoy full type safety when writing your tests with waffle.
Compiler rewrite
While no external facing api is changing the internals of the compiler have been
rewritten to enable further developments.
2.0.2
Summary
This release introduces typescript declaration files. This is required to enable
TypeScript support when using the library.