Commit Graph

21435 Commits

Author SHA1 Message Date
Daniel Kirchner
95c973d6c2 Refactoring of optimiser suite and yulopti. 2021-11-03 19:33:01 +01:00
Daniel Kirchner
0cbb297c7b Non-interactive mode for yulopti. 2021-11-03 19:33:01 +01:00
chriseth
696964d2b3
Merge pull request #12173 from ethereum/circleci-base-dicts
[CI] Base image templates
2021-11-03 19:00:56 +01:00
chriseth
f59943f763
Merge pull request #12231 from ethereum/changelogEntry
Add missing changelog entry for new Yul EVM code transform.
2021-11-03 16:52:02 +01:00
Leo
58688bd9c1
Merge pull request #12167 from ethereum/smt_merge_query_entry_points
[SMTChecker] Merge all entry points for a target
2021-11-03 16:43:16 +01:00
Daniel Kirchner
45b87d41f7 Add missing changelog entry. 2021-11-03 16:40:08 +01:00
Leo Alt
dff280cadc Fix ICE in CHC when using gas in the function options 2021-11-03 15:40:54 +01:00
chriseth
d3ba117145
Merge pull request #12224 from dbrans/patch-2
Added the BigSur 11.6 in the supported os list
2021-11-03 14:53:10 +01:00
chriseth
6b029c3349
Merge pull request #11974 from ethereum/newCodeTransformIROnly
New code transform (IR codegen only).
2021-11-03 14:52:28 +01:00
Kamil Śliwak
c76a8a738d CI: Tweak some job names to better reflect what they run 2021-11-03 12:54:56 +01:00
Kamil Śliwak
9c96234724 CI: Define a base_ dict for every image and set default values for some env variables there 2021-11-03 12:54:56 +01:00
Kamil Śliwak
9aafbf1092 CI: Replace test_ dicts with base_ ones and make their steps explicit 2021-11-03 12:54:56 +01:00
Kamil Śliwak
e9708105a4 CI: Remove superfluous/unused test_ dicts 2021-11-03 12:54:56 +01:00
Kamil Śliwak
2d45099a87
Merge pull request #12118 from ethereum/separate-input-modes-for-help-license-version
Separate input modes for `--help`,  `--license` and `--version`
2021-11-03 12:52:47 +01:00
Kamil Śliwak
5ce85d7a90
Merge pull request #12187 from ethereum/external-tests-directly-on-upstream
Run external tests directly on upstream repo where possible
2021-11-03 12:51:46 +01:00
Daniel Kirchner
28ae316556 Named function labels. 2021-11-03 12:42:07 +01:00
Daniel Kirchner
1a0605c594 Update tests. 2021-11-03 12:39:55 +01:00
Daniel Kirchner
4229369180 Compatibility with StackCompressor and StackLimitEvader. 2021-11-03 12:39:55 +01:00
Daniel Kirchner
b2c9b69de2 Enable for IR code generation with stack optimization > homestead. 2021-11-03 12:39:55 +01:00
Leo Alt
e40cf92b1d [SMTChecker] Merge all entry points for a target 2021-11-03 11:12:58 +01:00
Derek Brans
285528f407
Added the BigSur 11.6 in the supported os list 2021-11-02 20:27:32 -05:00
Kamil Śliwak
0417db0f6a Don't return an error from --help 2021-11-02 16:31:45 +01:00
Kamil Śliwak
a1c9c1e2b5 CommandLineInterface: Merge processInput() and actOnInput()
- The distinction between them is not as clear-cut as it should be. For example processInput() prints output in assembly mode.
2021-11-02 16:31:45 +01:00
Kamil Śliwak
93c1fe6878 Treat --help, --license and --version as separate input modes 2021-11-02 16:31:43 +01:00
chriseth
a7b137829f
Merge pull request #12091 from ethereum/applyControlFlowSideEffectsUserDefined
Use side effects of user-defined functions in other optimizer steps.
2021-11-02 15:50:37 +01:00
chriseth
be6fb5f3d6 Changelog entry. 2021-11-02 11:59:01 +01:00
chriseth
7f7c5ca171 New tests. 2021-11-02 11:59:01 +01:00
chriseth
3996d0a343 Update tests. 2021-11-02 11:59:01 +01:00
chriseth
d6c461ed61 Use side effects of user-defined functions in other optimizer steps. 2021-11-02 11:59:01 +01:00
chriseth
5eb97fa6ee
Merge pull request #12219 from ethereum/precompile-extcodesize-check-test
Semantic test for high level call to precompiles.
2021-11-01 15:08:52 +01:00
chriseth
ced7db9501
Merge pull request #12212 from ethereum/fixmodiferparams
Fix assignment of return variables from modifiers.
2021-11-01 14:56:30 +01:00
hrkrshnn
7683442ce2 Semantic test for high level call to precompiles.
Because of the extcodesize check, the high level call will fail. Even though the low level call can
succeed and return data.
2021-11-01 14:22:48 +01:00
chriseth
8e208f23cb Fix assignment of return variables from modifiers. 2021-11-01 14:14:50 +01:00
chriseth
408bd5fa62
Merge pull request #12213 from ethereum/fix-typos
Fix two typos and a misnamed test
2021-10-29 13:51:47 +02:00
Kamil Śliwak
fd66f13dc0 soltest.sh: Fix typo in a comment 2021-10-29 00:19:43 +02:00
Kamil Śliwak
60ba3b307f isolate_tests: Fix typo in script description 2021-10-29 00:19:43 +02:00
Kamil Śliwak
464ac18a1f Rename negation_bug.yul to negation_bug.sol 2021-10-29 00:19:43 +02:00
Kamil Śliwak
558d9d4556
Merge pull request #12177 from DavidRomanovizc/patch-4
Include actual contract size in the code size warning
2021-10-29 00:18:07 +02:00
chriseth
cede36930d
Merge pull request #12207 from ethereum/fix-isoltest-enforce-gas-default
Fix defaults for `--enforce-gas-cost` in isoltest
2021-10-27 23:10:14 +02:00
David Dzhalaev
79ffa16a61 Improve error message for contract size limit error 2021-10-27 20:06:53 +02:00
Kamil Śliwak
f4421f1b69 Disable metadata in syntax tests 2021-10-27 20:06:53 +02:00
Kamil Śliwak
a039431627 isoltest: Do not try to enforce gas costs when ABIEncoderV1 is used 2021-10-27 18:56:45 +02:00
Kamil Śliwak
eb2425bd7c isoltest: Fix gas tests always being enforced regardless of evm version 2021-10-27 18:56:45 +02:00
chriseth
7ebf71f315
Merge pull request #12203 from ethereum/fixuseafterfreeside
Fix use-after-free bug.
2021-10-27 16:43:44 +02:00
chriseth
e4a94b69be
Merge pull request #12201 from ethereum/docs-path-fix
Fix wrong path to isoltest in docs
2021-10-27 16:13:13 +02:00
chriseth
9be882c90d
Merge pull request #12186 from ethereum/fix-userdefined-ice
Moved storage size assert to TypeChecker from DeclarationTypeChecker
2021-10-27 16:12:16 +02:00
chriseth
dce13fbb6a Fix use-after-free bug. 2021-10-27 15:49:41 +02:00
Marenz
61519da4f0 Fix wrong path to isoltest in docs 2021-10-27 14:16:50 +02:00
hrkrshnn
8815d6f5f0 Moved a check related to constants to TypeChecker
And added a proper error message when constant types containing (nested) mapping types are used.
2021-10-26 18:43:04 +02:00
hrkrshnn
51009c005d Moved a canBeStored assert for struct members to TypeChecker
This is to avoid a assert from failing for forward declared user defined value types.
2021-10-26 18:43:04 +02:00