All Questions
1 question
0
votes
2
answers
157
views
What if a dynamic call at the end of a function uses all the remaining gas of the caller?
Suppose we have a contact like this:
contract x {
function y() external
{
// do some magic!
if (some_condition) {
another_contract_address.call(abi.encodeWithSignature("...