Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

v5.0.9 — Fresh, new release, Quorum support included

Choose a tag to compare

@eggplantzzz eggplantzzz released this 21 Mar 19:36
· 10535 commits to develop since this release

We've got a fresh, new release for you today! 🥗

We have some new multi-chain infrastructure that enables basic Quorum support! You can now specify a network type in your Truffle config. To enable Quorum support, just add the type property and set it to "quorum". Check out the example below.

Example config for using Truffle with Quorum

module.exports = {
  networks: {
    quorumNetwork: {
      host: "127.0.0.1",
      port: 22000,
      network_id: "*",
      gasPrice: 0,
      type: "quorum",
      gas: 4500000 
    }
  }
}

Additionally, the debugger improvements continue to pile up. Initial modifier support has been added along with improved support for mapping keys. We have also provided a couple of fixes for watch expressions.

One final mention is the addition of a new option for truffle migrate. Now you can specify what migration to run up to (last migration inclusive) with the --to flag. So for example, on a fresh project you could run truffle migrate --to 3 and it will run migrations number 1, 2, and 3. We have also made a new --from flag which is an alias of the -f option.

Please enjoy, especially with ice cream! 🍧

How to Upgrade

We recommend upgrading to the latest version of Truffle by running:

npm uninstall -g truffle
npm install -g truffle

Changelog

Enhancements

  • Add & document --from (alias for -f) flag to truffle migrate (#1841 by @CruzMolina)
  • Document --to flag for truffle migrate (#1838 by @CruzMolina)
  • Support hex strings/BNs for gas config to account for Quorum's potentially large block gas limits (#1809 by @seesemichaelj)
  • Enable backwards-compatible 0.4.xx solc unit testing (#1820 by @CruzMolina)
  • Track storage across intra-transaction call boundaries (#1822 by @haltman-at)
  • Implement basic Quorum support, improve multi-chain infrastructure (#1806 by @seesemichaelj)
  • Add address parameter to contract decoder (#1812 by @haltman-at)
  • Add further support for modifier parameters (with some exceptions) (#1797 by @haltman-at)

Fixes

Internal Improvements