Skip to content

Releases: dapphub/dapptools

hevm/0.49.0

15 Nov 16:13
fb9476d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: seth/0.11.0...hevm/0.49.0

seth/0.11.0

09 Sep 14:06
seth/0.11.0
c43ea2a
Compare
Choose a tag to compare

Added

  • seth basefee command returns basefee for the latest block, or any block with [blocknumber] parameter
  • seth namehash <name> to get the ENS namehash of a name
  • seth resolve-name <name> to resolve an ENS name to an address
  • seth lookup-address <address> to lookup the ENS name an address reverse resolves to
  • Dynamic transaction fee format transactions (EIP-1559) supported by introducing the flag --prio-fee and corresponding environment variable ETH_PRIO_FEE to seth and ethsign. If --prio-fee is provided (or ETH_PRIO_FEE) is set, 1559 transaction will be used and --gas-price will reflect the maximum gas price, rather than the absolute gas price.
  • If ETH_RPC_ACCOUNTS is set and the account corresponding to ETH_FROM exists in the keystore,
    Seth will sign the transaction locally and then publish it signed (previously it'd always send it to the node)

Changed

  • --gas-price will be used as max-fee when --prio-fee is set
  • [BREAKING] seth will no longer search Parity / OpenEthereum related keystores by default. These
    keystores can still be searched by setting the ETH_KEYSTORE environment variable.

Fixed

  • Fix --use bug
  • seth bundle-source writes the contents of standard-json to the current directory to enable better sourcemaps for multi-file etherscan source code.
  • seth estimate no longer sets a gas limit when estimating gas

hevm/0.48.1

09 Sep 13:52
hevm/0.48.1
07ebf64
Compare
Choose a tag to compare

Added

  • Support for 0.8.4 custom error types in stack traces
  • Colored coverage output

Changed

  • Contract feching happens synchronously again.
  • Invariants checked before calling methods from targetContracts.

Fixed

  • The block gas limit and basefee are now correctly fetched when running tests via rpc

ethsign/0.17.0

09 Sep 11:03
ethsign/0.17.0
dc7990d
Compare
Choose a tag to compare

Changed

  • Makes --keystore argument to ethsign import no longer mandatory, defaulting to
    systems paths or to the value of the ETH_KEYSTORE environment variable.
  • ethsign import --keystore was changed to ethsign import --key-store for consistency
    with other commands.
  • [BREAKING] removes Parity / OpenEthereum related default keystores

dapp/0.34.1

09 Sep 13:53
dapp/0.34.1
7179a30
Compare
Choose a tag to compare

Added

  • DAPP_TEST_DEPTH env var to control --depth
  • --coverage flag for dapp test to generate coverage via hevm
  • dapp debug respects the DAPP_LINK_TEST_LIBRARIES environment variable.
  • dapp install accepts URLs with git tags, branches or revs specified as <url>@<tag>

Changed

  • Dapp debug respects DAPP_LINK_TEST_LIBRARIES

Fixed

  • Fix quotation bug in dapp replay

hevm/0.48.0

05 Aug 18:52
Compare
Choose a tag to compare

Changed

  • Updated to London hard fork!
  • The configuration variable DAPP_TEST_BALANCE_CREATE has been renamed to DAPP_TEST_BALANCE
  • Default smttimeout has been increased to 1 minute.
  • A new flag has been added to hevm (--ask-smt-iterations) that controls the number of iterations
    at which the symbolic execution engine will stop eager evaluation and begin to query the smt
    solver whether a given branch is reachable or not.
  • Contract fetching now happens asynchronously.
  • Fixed no contract definition crashes
  • Removed NoSuchContract failures

hevm/0.47.0

01 Jul 19:51
hevm/0.47.0
4fe19a0
Compare
Choose a tag to compare

Added

  • A new test runner for checking invariants against random reachable contract states.
  • hevm symbolic can search for solc 0.8 style assertion violations, and a new --assertions flag
    has been added allowing users to customize which assertions should be reported
  • A new cheatcode ffi(string[]) that executes an arbitrary command in the system shell

Changed

  • Z3 is once again the default smt solver
  • Updated nixpkgs to the 21.05 channel

Fixed

  • Sourcemaps for contracts containing immutable are now shown in the debug view.

dapp/0.33.0

01 Jul 19:52
dapp/0.33.0
4fe19a0
Compare
Choose a tag to compare

Added

  • A new type of test has been added: invariant testing, which runs a test function against a random
    reachable contract state. More information in the README
  • A new flag for dapp test, --ffi allows users to enable the ffi() cheatcode in their tests

Changed

  • solc 0.8.6 is now the default compiler version
  • updated nixpkgs to the 21.05 channel

hevm/0.46.1

18 May 15:47
Compare
Choose a tag to compare
ci: put macos and linux release in same workflow

hevm/0.46.0

29 Apr 15:03
Compare
Choose a tag to compare

Added

  • Updated to Berlin! Conformant with GeneralStateTests at commit hash 644967e345bbc6642fab613e1b1737abbe131f78.

Fixed

  • ADDMOD and MULMOD by zero yields zero.
  • Address calculation for newly created contracts.
  • Accomodated for the notorious "anomolies on the main network" (see yellow paper Appendix K for trivia)
  • A hevm crash when debugging a SELFDESTRUCT contract.