mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Updates tests to version 0.6.0.
This commit is contained in:
@@ -96,17 +96,17 @@ BOOST_AUTO_TEST_CASE(string_storage)
|
||||
compileAndRun(sourceCode);
|
||||
|
||||
if (Options::get().evmVersion() <= EVMVersion::byzantium())
|
||||
CHECK_DEPLOY_GAS(134209, 130895);
|
||||
CHECK_DEPLOY_GAS(134145, 130831);
|
||||
// This is only correct on >=Constantinople.
|
||||
else if (Options::get().useABIEncoderV2)
|
||||
{
|
||||
if (Options::get().optimizeYul)
|
||||
CHECK_DEPLOY_GAS(127785, 127785);
|
||||
CHECK_DEPLOY_GAS(127785, 127721);
|
||||
else
|
||||
CHECK_DEPLOY_GAS(151587, 135371);
|
||||
}
|
||||
else
|
||||
CHECK_DEPLOY_GAS(126993, 119723);
|
||||
CHECK_DEPLOY_GAS(126929, 119659);
|
||||
|
||||
if (Options::get().evmVersion() >= EVMVersion::byzantium())
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
pragma solidity ^0.5.7;
|
||||
pragma solidity >=0.5.7 <0.7.0;
|
||||
|
||||
contract InvalidTest {
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
pragma solidity ^0.5.0;
|
||||
pragma solidity >=0.4.0 <0.7.0;
|
||||
|
||||
contract ERC20 {
|
||||
event Transfer(address indexed from, address indexed to, uint256 value);
|
||||
|
||||
Reference in New Issue
Block a user