Open javaadpatel opened 5 years ago
Im getting the same error.
I pin down to external contract call.
Tests with remix and truffle and works.
pragma solidity ^0.5.11;
contract test {
uint256 public _test;
function setTest(uint256 _amount) external {
_test = _amount;
}
}
pragma solidity ^0.5.11;
import "./test.sol";
contract caller {
test public toCall;
constructor(test _tocall) public {
toCall = _tocall;
}
function set() external {
toCall.setTest(10);
}
}
Hi, I was wondering if there are any differences between the ethereum virtual machine that is run with
etherlime ganache
and any others? I am experiencing a wierd issue where my transactions are failing withError: VM Exception while processing transaction: revert
when running my tests but then when I test my contract using remix it works fine.