Skip to content

Releases: dapphub/dapptools

hevm/0.45.0

23 Mar 13:33
Compare
Choose a tag to compare

hevm [0.45.0]

Added

  • Two new cheatcodes were added: sign(uint sk, bytes message) and addr(uint sk). Taken together
    these should allow for much more ergonomic testing of code that handles signed messages.
  • Symbolic execution can deal with partially symbolic bytecode, allowing for symbolic constructor arguments to be given in tests.

Fixed

  • Fixed a bug in the abiencoding.
  • Fixed the range being generated by ints.
  • hevm flatten combines the SPDX license identifiers of all source files.

Changed

  • updated nixpkgs to the 20.09 channel
  • Arbitrary instance of AbiType can no longer generate a tuple

dapp [0.32.2]

Changed

  • updated nixpkgs to the 20.09 channel

seth [0.10.1]

Added

  • Thanks to an upgrade in ethsign, seth is more likely to find your ledger live
    account without having to set ETH_HDPATH.

Changed

  • updated nixpkgs to the 20.09 channel

Fixed

  • seth calldata returns correct abiencoding

hevm/0.44.1

02 Feb 14:12
hevm/0.44.1
60df33f
Compare
Choose a tag to compare

Changed

  • hevm cheatcodes now accept symbolic arguments, allowing e.g. symbolic jumps in time in unit tests
  • More efficient arithmetic overflow checks by translating queries to a more intelligent form.

dapp/0.32.1

02 Feb 14:12
dapp/0.32.1
bbc2b48
Compare
Choose a tag to compare

dapp 0.32.1

Fixed

  • dapp init works with the new standard-json architecture
  • dapp verify-contract works with the new standard-json architecture

hevm 0.44.1

Changed

  • hevm cheatcodes now accept symbolic arguments, allowing e.g. symbolic jumps in time in unit tests
  • More efficient arithmetic overflow checks by translating queries to a more intelligent form.

hevm/0.44.0

26 Jan 18:28
Compare
Choose a tag to compare

hevm

0.44.0 - 2020-01-26

Added

  • hevm now accepts solidity json output built via --standard-json as
    well as --combined-json.
  • addresses in the trace output are prefixed with ContractName@0x...
    if there is a corresponding contract and @0x... otherwise.

Fixed

  • If the --address flag is present in hevm exec or hevm symbolic,
    it overrides the contract address at which a contract will be created.
  • Address pretty printing
  • Updated sbv to 8.9.5 to fix "non-const in array declaration" cvc4 issue with ds-test.

dapp

[0.32.0] - 2021-01-26

Changed

  • dapp build, dapp test, dapp --make-library-state, dapp create now use solidity output
    generated via --standard-json instead of --combined-json. Building via the old format is
    still possible via dapp build --legacy, but is considered deprecated and will be removed in
    future releases.

The standard json used by dapp build can be set using the environment variable:
DAPP_STANDARD_JSON, and defaults to the result of dapp mk-standard-json.

  • dapp --find-libraries no longer requires --extract: libraries do not need to be
    built to be found.

Added

  • dapp mk-standard-json command to generate a standard json for setting Solidity compiler options.
    The settings can be tweaked using the following environment variables:
    • DAPP_REMAPPINGS (defaults to the result of dapp remappings)
    • DAPP_LIBRARIES (defaults to the result of dapp --find-libraries)
    • DAPP_BUILD_OPTIMIZE (defaults to false)

Removed

  • SOLC_FLAGS. To modify the compiler settings, use a custom standard json and set
    the filename as argument to DAPP_STANDARD_JSON.

Fixed

  • dapp create <contract> --verify now passes the qualified path to dapp verify-contract,
    as expected.

seth

[0.10.0] - 2021-01-26

Changed

  • seth combined-json was renamed to seth-solc and invokes solc
    using the --standard-json input.
  • seth bundle-source correctly interprets etherscan sources using
    standard json
  • the --gas-price argument can optionally accept a gwei suffix
    i.e. seth call --gas-price 100gwei ...

hevm/0.43.2

11 Dec 14:43
hevm/0.43.2
63614ef
Compare
Choose a tag to compare

0.43.2 - 2020-12-10

Changed

  • The default smttimeout has been increased from 20s to 30s

seth/0.9.4

10 Dec 16:46
seth/0.9.4
6325de8
Compare
Choose a tag to compare

[0.9.4] - 2020-12-10

Added

  • seth --use can find solc versions in the nix store even if they are not present on PATH

Fixed

  • Correct help text for seth --use

hevm/0.43.1

10 Dec 16:47
hevm/0.43.1
75809c1
Compare
Choose a tag to compare

0.43.1 - 2020-12-10

Changed

  • Counterexamples from symbolic tests now show clearer failure reasons

Fixed

  • Symbolic tests now work with RPC
  • Branch selection is working again in the interactive debugger

dapp/0.31.1

10 Dec 16:46
dapp/0.31.1
9124984
Compare
Choose a tag to compare

[0.31.1] - 2020-12-10

Added

  • dapp --use can find solc versions in the nix store even if they are not present on PATH

Fixed

  • Corrected help text for solc version installation

seth/0.9.3

29 Nov 18:34
Compare
Choose a tag to compare

[0.9.3] - 2020-11-29

  • seth --use searches directly for binaries in your path, rather than
    using nix run, giving a significant speed boost.

hevm/0.43.0

29 Nov 18:34
Compare
Choose a tag to compare

0.43.0 - 2020-11-29

Added

  • A --show-tree option to hevm symbolic which prints the execution tree explored.
  • Some symbolic terms are displayed with richer semantic information, instead of the black box <symbolic>.
  • hevm dapp-test now supports symbolic execution of test methods that are prefixed with prove or proveFail
  • The hevm interactive alias has been removed, as it is equivalent to hevm dapp-test --debug
  • hevm dapp-test --match now matches on contract name and file path, as well as test name
  • Step through the callstack in debug mode using the arrow keys

Changed

  • dapp-test trace output now detects ds-note events and shows LogNote
  • create addresses are shown with @<address> in the trace
  • DSTest.setUp() is only run if it exists, rather than failing
  • support new ds-test log_named_x(string, x) (previously bytes32 keys)
  • return arguments are fully displayed in the trace (previously only a single word)
  • return/revert trace will now show the correct source position