Skip to content

v0.1.0

Compare
Choose a tag to compare
@cgewecke cgewecke released this 09 Sep 23:39
· 81 commits to master since this release
59c819c

This release contains breaking changes in typechain artifacts distributed with this package, due to upgrading to the @typechain/hardhat plugin from hardhat-typechain.

To import ambient type definitions (.d.ts) from this package you must now pull directly from the typechain folder external to dist, e.g

import { Controller } from "@setprotocol/set-protocol-v2/typechain"

Summary:

  • upgrades Hardhat and associated deps to the London HF
  • upgrade ethers to latest for EIP1559 support
  • remove typechain file re-writing logic for installation and test commands
  • updates library link id generation for new format in typechain/hardhat

Added

  • @typechain/hardhat

Upgrades

  • hardhat -> v2.6.1
  • solidity-coverage -> v0.7.17
  • ethers -> 5.4.6
  • ethereum-waffle -> 3.4.0
  • typescript -> v4
  • typechain -> 5.1.2
  • @typechain/ethers-v5 -> 7.0.1

Removed (unused or replaced dev deps)

  • @typechain/truffle-4,
  • @typechain/truffle-5
  • @typechain/web3-1
  • hardhat-deploy
  • hardhat-typechain (replaced with/ @typechain/hardhat)

Additional

  • Rewrite all vyper-compiled contract abi gas fields to be string instead of number (for typechain).
  • Remove fix-typechain.js and misc typechain hack yarn commands