Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Not possible to specify gas/value for operation calls #179

Open
andreasmuelder opened this issue Oct 12, 2018 · 0 comments
Open

Not possible to specify gas/value for operation calls #179

andreasmuelder opened this issue Oct 12, 2018 · 0 comments
Labels
Milestone

Comments

@andreasmuelder
Copy link
Member

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
    }
}
@andreasmuelder andreasmuelder added this to the 0.8.0 milestone Oct 12, 2018
@andreasmuelder andreasmuelder changed the title Not possible to specify gas / value for operation calls Not possible to specify gas/value for operation calls Oct 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant