Merge pull request #13041 from ethereum/post_merge_test_fixes

Fix tests failing due to the develop branch merge
This commit is contained in:
Daniel Kirchner 2022-05-19 11:14:18 +02:00 committed by GitHub
commit 00fb31c8cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View File

@ -6,4 +6,4 @@ contract test {
} }
} }
// ---- // ----
// TypeError 4907: (97-99): Unary operator - cannot be applied to type uint256: Unary negation is only allowed for signed integers. // TypeError 4907: (97-99): Unary operator - cannot be applied to type uint256. Unary negation is only allowed for signed integers.

View File

@ -11,4 +11,4 @@ contract D {
} }
} }
// ---- // ----
// TypeError 9767: (102-113): Unary operator delete cannot be applied to type struct D.Test storage ref: Contains a (possibly nested) mapping // TypeError 9767: (102-113): Unary operator delete cannot be applied to type struct D.Test storage ref. Contains a (possibly nested) mapping

View File

@ -43,8 +43,8 @@ contract C {
pop(calldataload(0)) pop(calldataload(0))
pop(calldatasize()) pop(calldatasize())
calldatacopy(0, 1, 2) calldatacopy(0, 1, 2)
pop(codesize()) //pop(codesize())
codecopy(0, 1, 2) //codecopy(0, 1, 2)
//pop(extcodesize(0)) //pop(extcodesize(0))
//extcodecopy(0, 1, 2, 3) //extcodecopy(0, 1, 2, 3)
pop(returndatasize()) pop(returndatasize())
@ -85,6 +85,6 @@ contract C {
// ==== // ====
// EVMVersion: >=london // EVMVersion: >=london
// ---- // ----
// Warning 5740: (94-1755): Unreachable code. // Warning 5740: (94-1759): Unreachable code.
// Warning 5740: (1768-1780): Unreachable code. // Warning 5740: (1772-1784): Unreachable code.
// Warning 5740: (1823-1832): Unreachable code. // Warning 5740: (1827-1836): Unreachable code.