crytic / crytic/echidna

Make "failed with no transactions made" error more explicit

Open
#524 4 comments 0 reactions 0 assignees View on GitHub
documentation enhancement
Dominant language
Haskell
Stars
3.2k
Forks
432
Avg merge
1d 20h
Merged PRs (30d)
5

Description

I'm getting the following error:

> failed with no transactions made ⁉️

Capture d’écran 2020-10-21 à 20 55 00

I looked at the the [related GitHub issues][1] but I am now even more confused than before.

I made sure that the child contract I used to inherit from my main contract has a dummy constructor, as per the instructions given in the [crash course][2]:

```solidity
contract FintrollerInvariants is Fintroller {
constructor() {}

function echidna_liquidation_incentive() external view returns (bool) {
return
liquidationIncentiveMantissa >= liquidationIncentiveLowerBoundMantissa &&
liquidationIncentiveMantissa <= liquidationIncentiveUpperBoundMantissa;
}
}
```

Is there anything wrong with [my invariants contract][3]?

[1]: https://github.com/crytic/echidna/issues?q=failed+with+no+transactions+made
[2]: https://github.com/crytic/building-secure-contracts/blob/master/program-analysis/echidna/how-to-test-a-property.md#write-a-property
[3]: https://github.com/MainframeHQ/mainframe-lending-protocol/blob/828bce3abb1d6d81003c166cdd80c354cde8a7f6/contracts/invariants/FintrollerInvariants.sol

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.