mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
isoltest: Do not try to enforce gas costs when ABIEncoderV1 is used
This commit is contained in:
parent
eb2425bd7c
commit
a039431627
@ -83,7 +83,7 @@ bool IsolTestOptions::parse(int _argc, char const* const* _argv)
|
||||
return false;
|
||||
}
|
||||
|
||||
enforceGasTest = enforceGasTest || (evmVersion() == langutil::EVMVersion{});
|
||||
enforceGasTest = enforceGasTest || (evmVersion() == langutil::EVMVersion{} && !useABIEncoderV1);
|
||||
|
||||
return res;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user