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 flattencombines the SPDX license identifiers of all source files.
Changed
- updated
nixpkgsto the20.09channel - Arbitrary instance of AbiType can no longer generate a tuple
dapp [0.32.2]
Changed
- updated
nixpkgsto the20.09channel
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
nixpkgsto the20.09channel
Fixed
seth calldatareturns 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 initworks with the new standard-json architecturedapp verify-contractworks 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
hevmnow accepts solidity json output built via--standard-jsonas
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
--addressflag is present inhevm execorhevm symbolic,
it overrides the contract address at which a contract will be created. - Address pretty printing
- Updated sbv to
8.9.5to 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 createnow use solidity output
generated via--standard-jsoninstead 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-librariesno longer requires--extract: libraries do not need to be
built to be found.
Added
dapp mk-standard-jsoncommand 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> --verifynow passes the qualified path todapp verify-contract,
as expected.
seth
[0.10.0] - 2021-01-26
Changed
seth combined-jsonwas renamed toseth-solcand invokessolc
using the--standard-jsoninput.seth bundle-sourcecorrectly interprets etherscan sources using
standard json- the
--gas-priceargument can optionally accept agweisuffix
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 --usecan 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 --usecan 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 --usesearches 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-treeoption tohevm symbolicwhich prints the execution tree explored. - Some symbolic terms are displayed with richer semantic information, instead of the black box
<symbolic>. hevm dapp-testnow supports symbolic execution of test methods that are prefixed withproveorproveFail- The
hevm interactivealias has been removed, as it is equivalent tohevm dapp-test --debug hevm dapp-test --matchnow 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-testtrace 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