Closed ethever closed 2 months ago
Confirmed, I get the same error on main, and also on fix-fetching-rpc
(a PR that's pending):
$ cabal run hevm -- symbolic --caller 0xaba --rpc $ETH_RPC_URL --show-reachable-tree --code $(jq -r '.deployedBytecode.object' tmp2/out/bug.sol/ERC20_2.json) impure
WARNING: hevm was only able to partially explore the call prefix 0xunknown due to the following issue(s):
- Unexpected Symbolic Arguments to Opcode
msg: "trying to access a symbolic address that isn't already present in storage"
program counter: 73
arguments:
(SymAddr "caller")
QED: No reachable property violations discovered
=== Reachable Expression ===
(ITE
(IsZero
TxValue
)
...
Fixed in PR #526 Do you wanna check out that PR and see if it's good?
And thanks again for notifying us! indeed it was a bug. We should have a few concrete test cases for the cli
Great job! PR #526 works!
for this solidity code:
with command: