solidity-ide
solidity-ide copied to clipboard
Not possible to specify gas/value for operation calls
It is not possible to specify gas/value for operation calls:
contract AbstractB {
function getX() returns(uint) {
return 3;
}
}
contract A {
function makeCall(address addressB) {
AbstractB(addressB).getX.value(1 ether).gas(0); // Error can not find value
AbstractB(addressB).getX.gas(1000)(); // Error can not find gas
}
}