You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running echidna allContract.sol --test-mode assertion --contract T fails to identify the other contract despite the source being available.
As an aside, I think it is confusing that running echidna allContract.sol --test-mode assertion does not tell you which contract is selected as the target. It's a source of ambiguity/error that could be clarified (it seems to always pick O)
Code example to reproduce the issue:
contract T {
function t() public {
O o = new O();
o.o();
assert(true);
}
}
contract O {
function o() public {
assert(false);
}
}
but the language is confusing, it should be "Targeting contract". It also specifies which is the target in the call sequence (e.g. T.t()) as well as the relevant source lines in the trace. What is failing is the identification of the naming of the contract in the create of the trace.
Describe the issue:
Running
echidna allContract.sol --test-mode assertion --contract T
fails to identify the other contract despite the source being available.As an aside, I think it is confusing that running
echidna allContract.sol --test-mode assertion
does not tell you which contract is selected as the target. It's a source of ambiguity/error that could be clarified (it seems to always pickO
)Code example to reproduce the issue:
Version:
2.2.3
Relevant log output:
The text was updated successfully, but these errors were encountered: