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

v5.1.9 – Baklava 🍯

Compare
Choose a tag to compare
@fainashalts fainashalts released this 17 Jan 19:02
· 7415 commits to develop since this release

Hi again! πŸ‘‹

This week's release contains some bug fixes, an internal improvement, and an important dependency update. Truffle is now officially Istanbul-compatible and will spin up ganache-core using the Istanbul hardfork by default. Truffle will also postinstall and invoke solc@0.5.16, which also targets Istanbul by default.

As a reminder, if you are using Truffle with ganache-cli or another chain using a different hardfork (petersburg, constantinople, etc.), you'll need to set solc to target that evmVersion:

// ./truffle-config.js

module.exports = {
  /* ... rest of config */

  compilers: {
    solc: {
      version: "0.5.14",
      settings: {
        ...
        evmVersion: "petersburg"
      }
    }
  }
}

Enjoy! β˜•

How to upgrade

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

npm uninstall -g truffle
npm install -g truffle

Changelog

Bug Fixes

  • Add tests of Solidity 0.6.0 debugging/decoding features... and fix a bug (#2748 by [@haltman-at]
  • Revert "Upgrade dependency: ganache-core@2.9.1" (#2763 by [@CruzMolina]

Internal Improvements

  • Split decoder tests in two and upgrade some to Solidity 0.6.1 (#2747 by [@haltman-at]

Dependency Upgrades