Commit Graph

22345 Commits

Author SHA1 Message Date
Damian Wechman
64979c1119
Merge pull request #13081 from ethereum/cse-optimization-changelog
Update changelog with information about changes to CommonSubexpressionEliminator
2022-06-07 13:18:38 +02:00
wechman
f40c9cdf1d Update changelog with information about changes to CommonSubexpressionEliminator 2022-06-07 11:53:43 +02:00
Kamil Śliwak
3948391ca8
Merge pull request #13092 from ethereum/disable_zepplin_tests_broken_via_ir_due_to_hardhat_heuristics
Disabling more OpenZeppelin tests that expect reverts with specific error
2022-06-06 20:32:09 +02:00
nishant-sachdeva
61306a6f9d disabling more zeppline tests that expect reverts with specific errors and they're broken via IR due to Hardhat heuristics.
Updated zeppelin.sh

Added cautionary comment for two sed commands that depend on the order of occurrence of the patterns in the files.
L122, and L123 both are referencing the 3rd occurrence of the patterns from their respective files.
This could result in an error in the future when the code is further modified.
2022-06-06 19:15:40 +05:30
Kamil Śliwak
035f6abb1b
Merge pull request #13094 from yurivict/fix-missing-include
Fix missing STL include in tools/solidityUpgrade/SourceUpgrade.cpp
2022-06-02 20:23:17 +02:00
Yuri Victorovich
54ac1e8240 Fix missing STL include in tools/solidityUpgrade/SourceUpgrade.cpp 2022-06-02 09:43:18 -07:00
Kamil Śliwak
1f8b8c98d2
Merge pull request #13087 from ethereum/gcc-12-control-reaches-end-of-function-warning-workaround
Workaround for the spurious `control reaches end of non-void function` warning in GCC 12.1
2022-06-02 14:59:01 +02:00
Kamil Śliwak
3f84837e0b
Merge pull request #13088 from ethereum/fix-new-pylint-warnings-after-upgrade
Fix new warnings from pylint 2.14 and adjust pylint config
2022-06-01 21:15:56 +02:00
Kamil Śliwak
e19e6ad806 Remove empty assertion messages in a fews places 2022-06-01 20:37:48 +02:00
Kamil Śliwak
539e139555 Add explicit throws after some assertions to work around a spurious warning in GCC 12.1 2022-06-01 20:37:48 +02:00
Kamil Śliwak
f5e421ff91 pylintrc: Remove bad-whitespace form the list of disabled warnings
- pylint complains that it's not a valid value and removing it does not make any new warnings appear
2022-06-01 20:32:25 +02:00
Kamil Śliwak
6605dd084a gas_diff_stats.py: Replace a list with a generator as suggested by pylint 2022-06-01 20:32:25 +02:00
Kamil Śliwak
f4f4cfe294 CI: Print pylint version before running checks 2022-06-01 20:32:25 +02:00
chriseth
a90bafd44d
Merge pull request #13083 from ethereum/lsp.py-fixes
lsp.py: Fix various problems with subdirectory edge cases
2022-06-01 13:16:43 +02:00
Kamil Śliwak
baf56aff40
Merge pull request #13076 from PrajwalBorkar/develop
Updated broken link for Yul optimizations
2022-05-31 16:25:14 +02:00
Marenz
6c9754a784 lsp.py: Fix various problems with subdirectory edge cases
* fix properly path parsing with nested subdirectories
* fix regex to be able to handle `file://..`
* fix not checking all expected diagnostics
* Some extra comments and renames
2022-05-31 16:17:35 +02:00
Prajwal Borkar
6061219641 Fix link to the optimizer step sequence in optimizer.rst 2022-05-31 15:41:22 +02:00
Kamil Śliwak
96398ee3ee
Merge pull request #13084 from ethereum/revert-workaround-euler-test
Revert workaround introduced in euler tests because it is no longer needed
2022-05-31 15:26:34 +02:00
Matheus Aguiar
3904a0d5ce Revert workaround introduced in euler tests because it is no longer needed.
This reverts commit 98efb46031.
2022-05-31 09:00:00 -03:00
uji
5f6f353953 Sort grammer rules of SolidityLexer.g4 2022-05-30 00:15:48 +09:00
Kamil Śliwak
095cc64728
Merge pull request #13072 from ethereum/make-soltest-print-errors-to-stderr
Added option to allow soltest in CI print errors to stderr in addition to the XML report.
2022-05-28 00:24:46 +02:00
Matheus Aguiar
90514d8893 Added option to allow soltest in CI print errors to stderr in addition to the XML report. 2022-05-27 18:32:21 -03:00
Kamil Śliwak
fdc3c8eede
Merge pull request #13048 from shadyy41/moving-operator-precedence
Move operator precedence from cheatsheet to operators
2022-05-25 23:50:57 +02:00
shady41
ecb7c0b008 Moved operator precedence from the cheatsheet to the operator docs 2022-05-25 23:07:51 +02:00
Kamil Śliwak
1543cfc904
Merge pull request #13067 from ethereum/disable-zeppelin-test-cases-failing-after-relaxing-inlining
Disable more zeppelin test cases in which Hardhat's heuristics break after relaxing inlining.
2022-05-25 23:04:05 +02:00
Matheus Aguiar
be12f90775 Disable zeppelin test cases in which Hardhat's heuristics break after relaxing inilining.
Also disabled one test because of hardhat issue 2115 (revert due to overflow misdetected).
2022-05-25 16:24:18 -03:00
Kamil Śliwak
ea2754c157
Merge pull request #13063 from ethereum/gnosis-euler-ext-test-workarounds
External test workarounds for Gnosis and Euler external test failures
2022-05-25 21:18:11 +02:00
Kamil Śliwak
c8612078c4 Remove the ethers.js 5.6.2 workaround from all ext tests except for gnosis and uniswap 2022-05-25 16:20:49 +02:00
Kamil Śliwak
6937799587 gnosis: Pin typescript dependency at <= 4.7.0 2022-05-25 15:52:21 +02:00
Kamil Śliwak
dcf23edf92
Merge pull request #13061 from DustinAlandzes/patch-1
expect -> except in docs/contributing.rst
2022-05-25 14:53:55 +02:00
Dustin Alandzes
10c991c3ff
expect -> except in docs/contributing.rst 2022-05-24 23:14:21 -05:00
chriseth
2159153162
Merge pull request #13052 from ethereum/cechan
Copy editing changelog.
2022-05-23 16:50:28 +02:00
chriseth
52ea572ec1 Copy editing changelog. 2022-05-23 15:43:03 +02:00
chriseth
a8dc762850
Merge pull request #12818 from ethereum/benchmark-downloader
Benchmark downloader (script + CI job)
2022-05-23 15:41:13 +02:00
chriseth
45030f0740
Merge pull request #12731 from ethereum/removeInliningConstraint
Remove inlining constraint for large functions when targetting the new code transform.
2022-05-23 15:18:37 +02:00
chriseth
df7bfd10d6
Merge pull request #12937 from ethereum/disable-ext-test-cases-broken-after-relaxing-inlining
Disable external test cases in which Hardhat's heuristics break after relaxing inlining constraints
2022-05-23 15:17:20 +02:00
Kamil Śliwak
45dffe598c c_ext_benchmarks: Generate and store benchmark diffs 2022-05-23 14:18:29 +02:00
Kamil Śliwak
9618cb947d download_benchmarks: Script for downloading benchmark results from CircleCI 2022-05-23 14:18:29 +02:00
chriseth
77038aa40e Update test expectations. 2022-05-23 13:37:50 +02:00
Daniel Kirchner
7168c27f0d Relax inliner heuristics. 2022-05-23 13:37:50 +02:00
Kamil Śliwak
f08d349791 Separate some inlining tests into pre- and post-homestead 2022-05-23 13:37:50 +02:00
Kamil Śliwak
49d5c0a292 Disable external test cases where Hardhat's heuristics break after relaxing inlining 2022-05-23 13:37:36 +02:00
chriseth
f0e43921f7
Merge pull request #12921 from ethereum/add_event_and_error_selector_fields_on_the_line_of_function_selector_field
Adding event and error selector fields
2022-05-23 11:34:13 +02:00
chriseth
2bbc9a1445
Merge pull request #13040 from ethereum/returndatacopyOptimizer
Do not remove potentially reverting returndatacopy cases.
2022-05-23 11:32:26 +02:00
chriseth
be85d287b4
Merge pull request #13047 from ethereum/fix-external-test-euler-failing
Workaround for euler ext test failing due to changed chainid behavior
2022-05-23 11:27:10 +02:00
Matheus Aguiar
98efb46031 Patches issue https://github.com/euler-xyz/euler-contracts/issues/119.
After issue is resolved, this should be reverted/changed.
2022-05-23 11:26:50 +02:00
chriseth
f4b16592b6
Merge pull request #13049 from josepot/nit/use-canonical-representation
nit: ABI docs use canonical representation
2022-05-23 11:25:05 +02:00
Daniel Kirchner
9fa907aac2 Do not remove potentially reverting returndatacopy cases. 2022-05-23 11:01:03 +02:00
chriseth
30335c13ff
Merge pull request #13001 from matheusaaguiar/develop
Don't add an empty data slot to ABI-encoded empty strings from storage
2022-05-23 10:56:30 +02:00
nishant-sachdeva
d4c06d2b4e Adding event and error selector fields on the lines of the function selector fields 2022-05-23 10:49:16 +02:00