Comments (5)
Weird aspect of this bug, the following function fails:
function echidna_true() returns (bool) {
xs.push(new A());
b.f();
return true;
}
But switching the order of the push and call to f()
works
function echidna_true() returns (bool) {
b.f();
xs.push(new A());
return true;
}
(this is all assuming the add
function is commented out)
from echidna.
A simplified version of this example:
contract B {
int x;
function f() returns (int) {
return x;
}
}
contract TEST {
B b = new B();
function g() public {
return;
}
function echidna_true() returns (bool) {
var x = b.f();
return true;
}
}
from echidna.
Using the last release of hevm (available in branch updated-hevm) solves this issue!
from echidna.
@andremarianiello created PR #141 to migrate to hevm-0.21 using stack. It should solve this issue.
from echidna.
Not longer failing in master, since we are using hevm-0.21.
from echidna.
Related Issues (20)
- [Bug-Candidate]: Missing coverage report information for proxy contracts HOT 1
- [Bug-Candidate]: Set.elemAt: index out of range HOT 15
- Allow Echidna & Medusa to share the same corpus
- [Bug-Candidate]: Echidna takes too long to exit
- [Bug-Candidate]: Echidna `stopOnFail` does not behave as expected when `coverage` is turned on HOT 1
- [Bug-Candidate]: Coverage report seems like can't handle contracts made with ERC-1167 pattern
- [Bug-Candidate]: When returning from an ffi action, special characters are not stripped. HOT 1
- Clearer Readme install and usage instructions
- [Bug-Candidate]: Multiple seemingly related performance issues HOT 2
- [Bug-Candidate]: no back color support for terminal screen.xterm-256color HOT 1
- echidna: Couldn't compile given file HOT 3
- echidna-test: command not found HOT 2
- [Bug-Candidate]: Cannot use command line arguments
- [Bug-Candidate]: Missing dashboard config option HOT 2
- [Bug-Candidate]: Unclear why deployment fails when there is no apparent reason HOT 3
- Expression-level coverage support
- Add a flag to log msg.sender for each function trace HOT 4
- [Bug-Candidate]: Coverage html doesn't match source code for certain characters
- estimateGas: generate gas info in the corpus HOT 1
- looks like 2.2.2 release was not completed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from echidna.