Skip to content

Releases: TrueFiEng/Waffle

2.3.0-istanbul.0

20 Dec 18:00
Compare
Choose a tag to compare
2.3.0-istanbul.0 Pre-release
Pre-release

This is beta release.

Changes:

  • Update ganache to ^2.9.0-istanbul.0

2.2.0

20 Dec 14:00
Compare
Choose a tag to compare

This release is focused on configuration improvements.

Changes:

  • Replace Travis CI with CircleCI
  • Make ES2018 the compilation target as this is what Node 10 supports
  • Add two compilation outputs CommonJS and ES Modules
  • Move source files from /lib to /src

2.1.2

13 Dec 12:19
Compare
Choose a tag to compare

This release includes one bug fix:

  • Fix handling BigNumbers array as argument of the event log

2.1.1

07 Dec 10:31
Compare
Choose a tag to compare

This release includes number of minor improvements and updates:

  • Fix targetPath not working for nested paths
  • Improved CLI
  • Improved documentation
  • Use eslint instead of tslint
  • Update typescript to 3.6.4
  • Update to Ganache-core 2.8.0

2.1.0

23 Aug 17:08
89c4c6c
Compare
Choose a tag to compare

Features:

  • Ability to modify default provider gasLimit and gasPrice in createMockProvider(). It can be object with path to config file, e.g.:

    provider = createMockProvider({gasLimit: 0x6691b7, gasPrice: 0x77359400});

    or

    provider = createMockProvider('./waffle.json');

    waffle.json:

    {
      ...
      "ganacheOptions": {
        "gasLimit": "0x6691b7",
        "gasPrice": "0x77359400"
      }
    }

Bugfixes and maintance:

  • Fix ganache-core version to 2.6.1 (seems stable)
  • Update yarn.lock
  • Move @types/ganache-core to dependencies

Note:

  • Form this versions we start using semantic versioning.

2.0.16

22 Aug 17:28
Compare
Choose a tag to compare
  • Throw an informative exception when trying to deploy empty bytecode
  • Solcjs version can be specified by passing the path in the configuration file, i.e.:
{
  ...
  "solcVersion": "./node_modules/solc"
}

2.0.15

25 Jul 13:30
Compare
Choose a tag to compare
  • Upgrade solc to 0.5.10
  • deployContract accepts two formats now:
    interface StandardContractJSON {
      abi: any;
      evm: {bytecode: {object: any}};
    }
    
    interface SimpleContractJSON {
      abi: any[];
      bytecode: string;
    }

2.0.14

16 Jul 07:15
Compare
Choose a tag to compare

With this release, Waffle introduces support human-readable abi as an output.

Human readable ABI was introduced in ethers.js by @ricmoo in a blog post.

To enable it, specify the following flag in Waffle config file:

{
  ...
  outputHumanReadableAbi: true
}

You will now see the following in your output:

{
  ...
  "humanReadableAbi": [
    "constructor(uint256 argOne)",
    "event Bar(bool argOne, uint256 indexed argTwo)",
    "event FooEvent()",
    "function noArgs() view returns(uint200)",
    "function oneArg(bool argOne)",
    "function threeArgs(string argOne, bool argTwo, uint256[] argThree) view returns(bool, uint256)",
    "function twoReturns(bool argOne) view returns(bool, uint256)"
  ]
}

2.0.13

16 Jul 07:14
Compare
Choose a tag to compare

This release updates dependencies:

  • ganache-core: 2.5.6-beta.0 -> ^2.5.7
  • solc: ^0.5.1 -> 0.5.1

2.0.12

10 May 08:04
Compare
Choose a tag to compare

This release contains minor update and a bug fix:

  • Fix fixtures interfering with each other
  • Update ganache 2.5.5 -> 2.5.6-beta