mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update tests.
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
pragma solidity >= 0.6.0;
|
||||
|
||||
// This tests skipping the extcodesize check.
|
||||
|
||||
contract T {
|
||||
|
||||
-2
@@ -1,5 +1,3 @@
|
||||
pragma solidity >= 0.6.0;
|
||||
|
||||
// This tests skipping the extcodesize check.
|
||||
|
||||
interface I {
|
||||
|
||||
@@ -18,17 +18,17 @@ contract C {
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// constructor(), 20 wei
|
||||
// gas irOptimized: 220113
|
||||
// gas irOptimized: 218775
|
||||
// gas legacy: 294569
|
||||
// gas legacyOptimized: 177933
|
||||
// gas legacyOptimized: 174699
|
||||
// f(uint256): 20 -> 1370859564726510389319704988634906228201275401179
|
||||
// x() -> 1
|
||||
// f(uint256): 20 -> FAILURE
|
||||
// x() -> 1
|
||||
// stack(uint256): 1023 -> FAILURE
|
||||
// gas irOptimized: 345821
|
||||
// gas irOptimized: 296769
|
||||
// gas legacy: 483942
|
||||
// gas legacyOptimized: 354656
|
||||
// gas legacyOptimized: 298807
|
||||
// x() -> 1
|
||||
// stack(uint256): 10 -> 693016686122178122849713379390321835634789309880
|
||||
// x() -> 2
|
||||
|
||||
@@ -26,9 +26,9 @@ contract C {
|
||||
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// EVMVersion: >=constantinople
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// testHighLevel() -> FAILURE
|
||||
// testHighLevel() -> true
|
||||
// testLowLevel() -> 0xc76596d400000000000000000000000000000000000000000000000000000000
|
||||
// testHighLevel2() -> FAILURE
|
||||
|
||||
Reference in New Issue
Block a user