Skip to content

Releases: TrueFiEng/Waffle

2.0.11

24 Apr 19:20
Compare
Choose a tag to compare

This release contains minor bug fixes:

Changing ganache to 2.5.5
Add tests, covering fixture bug from ganache 2.4.0, added (#103)

2.0.10

23 Apr 13:23
Compare
Choose a tag to compare

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

04 Apr 14:04
Compare
Choose a tag to compare

This release contains a minor feature.

Extend configuration file to support async operations.

2.0.8

04 Apr 13:55
Compare
Choose a tag to compare

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

25 Feb 15:58
Compare
Choose a tag to compare

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

25 Feb 14:14
d3b6b24
Compare
Choose a tag to compare

Bump ganache version to 2.4.0

2.0.5

14 Feb 16:35
Compare
Choose a tag to compare

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

06 Feb 16:48
Compare
Choose a tag to compare

Summary

Fixes version of web3js resolution 1.0.0-beta.37. Newer versions are unstable and break basic functionality. Fixes #69.

2.0.3

28 Jan 11:41
Compare
Choose a tag to compare

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

23 Jan 13:19
Compare
Choose a tag to compare

Summary

This release introduces typescript declaration files. This is required to enable
TypeScript support when using the library.