isoltest: Do not try to enforce gas costs when ABIEncoderV1 is used

This commit is contained in:
Kamil Śliwak 2021-10-27 18:20:04 +02:00
parent eb2425bd7c
commit a039431627

View File

@ -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;
}