Commit Graph

18237 Commits

Author SHA1 Message Date
a3d4
90c8c32d86 If a declaration shadows several others, group them together 2020-10-08 21:01:25 +02:00
chriseth
aa7aa21913 Enable test. 2020-10-08 21:00:50 +02:00
chriseth
49c2e84181
Merge pull request #9998 from ethereum/noshiftneg
Remove traces of errors due to shifts by negative amounts.
2020-10-08 20:59:04 +02:00
chriseth
ca86eacfb2 Remove traces of errors due to shifts by negative amounts. 2020-10-08 20:24:53 +02:00
a3d4
f29ebc0847 Fix shadowing/same-name warnings for later declarations 2020-10-08 20:22:04 +02:00
chriseth
14352ed921 Merge remote-tracking branch 'origin/develop' into HEAD 2020-10-08 20:18:04 +02:00
chriseth
2d1bd03a98
Merge pull request #9994 from ethereum/revertOnFailingReadFromCalldata
Revert on failing read from calldata.
2020-10-08 20:11:45 +02:00
chriseth
d513e05ce9
Merge pull request #9961 from ethereum/stackLimitEvaderRefactor2
StackToMemoryMover: encapsulate memory offset tracking into its own class.
2020-10-08 19:56:44 +02:00
chriseth
3970c4e57d
Merge pull request #9892 from ethereum/constantsAtFileLevel
Constants at file-level.
2020-10-08 19:53:33 +02:00
chriseth
8b96d17cb5 Revert on failing read from calldata. 2020-10-08 19:43:16 +02:00
chriseth
f8d5c4db36
Merge pull request #9843 from ethereum/deleteStructSol2Yul
[Sol->Yul] Implementing delete struct
2020-10-08 19:08:40 +02:00
chriseth
70ebc0a13c
Merge pull request #9960 from ethereum/stackLimitEvaderRefactor
StackLimitEvader: Track unreachable variables globally instead of per function.
2020-10-08 19:01:26 +02:00
chriseth
15c618d6d7 Changelog. 2020-10-08 18:56:42 +02:00
chriseth
df16515b52 Documentation. 2020-10-08 18:56:18 +02:00
chriseth
34e7ae6ff9 New tests. 2020-10-08 18:56:18 +02:00
chriseth
b2f1d558da Update existing tests. 2020-10-08 18:56:17 +02:00
chriseth
b2be8e1c0f Fix module member access. 2020-10-08 18:56:17 +02:00
chriseth
346fe1c6c5 Constants at file-level. 2020-10-08 18:56:17 +02:00
chriseth
21dee1c8ba Check for circular constants across contracts. 2020-10-08 18:56:17 +02:00
chriseth
c4d8b4fa0e Fix error reporter for zero-length location. 2020-10-08 18:56:17 +02:00
chriseth
2d9479b06c Properly set scope. 2020-10-08 18:56:17 +02:00
chriseth
b5a08f8641
Merge pull request #9958 from a3d4/fix-ice-storage-parameters-in-libraries
Fix ICE caused by storage parameters with nested mappings in libraries
2020-10-08 17:17:09 +02:00
Djordje Mijovic
ad8d840ee7 [Sol->Yul] Implementing conversion of struct to struct pointer.
Co-authored-by: Daniel Kirchner <daniel@ekpyron.org>
2020-10-08 16:37:57 +02:00
franzihei
1b5794b755 update Solidity docs index page 2020-10-08 16:25:26 +02:00
chriseth
030ebc27c5
Merge pull request #9942 from ethereum/copyArrFromStorageToMemory
[Sol->Yul] Copying of arrays from storage to memory.
2020-10-08 15:27:53 +02:00
Djordje Mijovic
fa69378f4f Changing unimplemented test for yul 2020-10-08 15:27:33 +02:00
Djordje Mijovic
4e8275df2c Enabling triggered tests and adding one new for deleting struct 2020-10-08 15:27:33 +02:00
Djordje Mijovic
700390a68b [Sol->Yul] Implementing deleting storage structs 2020-10-08 15:27:33 +02:00
Djordje Mijovic
3ede1f1bca Adding support for recursive functions in MultiUseYulFunctionCollector 2020-10-08 15:27:33 +02:00
chriseth
fd6196af16 Copying of arrays from storage to memory. 2020-10-08 15:16:13 +02:00
chriseth
e16811e79f Merge remote-tracking branch 'origin/develop' into HEAD 2020-10-08 14:56:52 +02:00
chriseth
e990b2016a
Merge pull request #9865 from ethereum/dissalow-explicit-conversion-to-address
[BREAKING] Disallow explicit conversions from negative literals to ``address``
2020-10-08 14:51:07 +02:00
a3d4
d7b4b4a7aa Fix ICE caused by storage parameters with nested mappings in libraries 2020-10-07 22:07:57 +02:00
chriseth
93df3d43df
Merge pull request #9983 from ethereum/ver074
Set version to 0.7.4.
2020-10-07 19:09:31 +02:00
chriseth
ddcb6c04f2 Set version to 0.7.4. 2020-10-07 18:56:56 +02:00
Harikrishnan Mulackal
a309669f75 Disallow explicit conversions from negative literals to `address` 2020-10-07 16:06:02 +02:00
chriseth
9bfce1f651
Merge pull request #9975 from ethereum/prepareChangelog073
Set release date.
2020-10-07 15:45:17 +02:00
chriseth
b4f6092f90 Set release date. 2020-10-07 15:40:42 +02:00
chriseth
45668fdce5
Merge pull request #9953 from ethereum/issue-9952
Add missing lValue assignment
2020-10-07 15:03:53 +02:00
Mathias Baumann
6114cd8e8e Add missing annotation assignments 2020-10-07 14:52:35 +02:00
chriseth
22caed1e1e
Merge pull request #9978 from ethereum/dead-code-cleanup
Dead code cleanup
2020-10-07 14:10:20 +02:00
Christian Parpart
99d48348de Eliminate dead ASTReduce. 2020-10-07 13:38:46 +02:00
Christian Parpart
04079bff6f Eliminates dead code around GasEstimator
- structuralEstimation()
- breakToStatementLevel()
2020-10-07 13:31:40 +02:00
chriseth
d15360a9e3
Merge pull request #9976 from ethereum/drop-appveyor
Dropping AppVeyor CI (as we've moved Windows tests to CircleCI)
2020-10-07 13:01:08 +02:00
Christian Parpart
a69e56e243 Dropping AppVeyor CI (as we've moved Windows tests to CircleCI) 2020-10-07 11:59:35 +02:00
chriseth
431397eddf
Merge pull request #9943 from ethereum/array-cleanup
Array cleanup
2020-10-07 11:53:06 +02:00
chriseth
19a835bfc9
Merge pull request #9972 from ethereum/alwaysRunFunctionHoister
Always run the FunctionHoister as part of the optimizer Suite.
2020-10-07 10:48:10 +02:00
chriseth
93ad6f8422
Merge pull request #9835 from ethereum/fix-missing-checks-for-calls-with-mixed-abi-encoder-versions
Add missing checks for parameter compatibility with ABIEncoderV1 in calls
2020-10-07 10:46:12 +02:00
Daniel Kirchner
5442a7ade2 Always run the FunctionHoister as part of the optimizer Suite. 2020-10-06 22:30:37 +02:00
Kamil Śliwak
33ff79bf82 Add missing checks for parameter compatibilty with ABIEncoderV1 in calls 2020-10-06 21:28:46 +02:00