Releases: dapphub/dapptools
Releases · dapphub/dapptools
hevm/0.45.0
hevm [0.45.0]
Added
- Two new cheatcodes were added:
sign(uint sk, bytes message)
andaddr(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 the20.09
channel - Arbitrary instance of AbiType can no longer generate a tuple
dapp [0.32.2]
Changed
- updated
nixpkgs
to the20.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 setETH_HDPATH
.
Changed
- updated
nixpkgs
to the20.09
channel
Fixed
seth calldata
returns correct abiencoding
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.
dapp/0.32.1
dapp 0.32.1
Fixed
dapp init
works with the new standard-json architecturedapp 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
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 inhevm exec
orhevm 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 viadapp 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 ofdapp remappings
)DAPP_LIBRARIES
(defaults to the result ofdapp --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 toDAPP_STANDARD_JSON
.
Fixed
dapp create <contract> --verify
now passes the qualified path todapp verify-contract
,
as expected.
seth
[0.10.0] - 2021-01-26
Changed
seth combined-json
was renamed toseth-solc
and invokessolc
using the--standard-json
input.seth bundle-source
correctly interprets etherscan sources using
standard json- the
--gas-price
argument can optionally accept agwei
suffix
i.e.seth call --gas-price 100gwei ...
hevm/0.43.2
0.43.2 - 2020-12-10
Changed
- The default smttimeout has been increased from 20s to 30s
seth/0.9.4
[0.9.4] - 2020-12-10
Added
seth --use
can find solc versions in the nix store even if they are not present onPATH
Fixed
- Correct help text for
seth --use
hevm/0.43.1
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
[0.31.1] - 2020-12-10
Added
dapp --use
can find solc versions in the nix store even if they are not present onPATH
Fixed
- Corrected help text for solc version installation
seth/0.9.3
[0.9.3] - 2020-11-29
seth --use
searches directly for binaries in your path, rather than
usingnix run
, giving a significant speed boost.
hevm/0.43.0
0.43.0 - 2020-11-29
Added
- A
--show-tree
option tohevm 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 withprove
orproveFail
- The
hevm interactive
alias has been removed, as it is equivalent tohevm 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 showsLogNote
- 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