Daniel Kirchner
5989f45e9e
Test updates.
2022-06-14 18:26:16 +02:00
Daniel Kirchner
7a84e9c875
Bugfix.
2022-06-14 18:26:16 +02:00
Daniel Kirchner
a27b063c10
Test for buggy behaviour.
2022-06-14 18:26:16 +02:00
Kamil Śliwak
dccc06cc29
Merge pull request #13135 from ethereum/foreign-event-access-revert-and-selector-cleanup
...
Revert access to foreign events and clean up event/error selector tests/docs
2022-06-14 18:14:30 +02:00
Kamil Śliwak
b76c048ce9
Merge pull request #13138 from ethereum/cheatsheet-shared-operator-list
...
Operator precedence table shared between Cheatsheet and Operators
2022-06-14 18:07:37 +02:00
Daniel Kirchner
f2eada1ee2
Merge pull request #13140 from ethereum/fix-ext-test-zeppelin
...
Changed sed command in `zeppelin.sh` to match renamed test file in openzeppelin project.
2022-06-14 16:18:03 +02:00
Matheus Aguiar
d0d71714a1
Changed sed command in zeppelin.sh to match renamed test file.
2022-06-14 10:32:57 -03:00
Kamil Śliwak
1ab84bb361
Put the table with operator precedence in a separate file, included in both Operators and Cheatsheet
2022-06-14 14:41:41 +02:00
Kamil Śliwak
f323cb2ef5
Improve index entries for selectors, events and selfdestruct
2022-06-14 12:05:49 +02:00
Kamil Śliwak
7785f46efd
Document the .selector
member for errors
2022-06-14 12:05:49 +02:00
Kamil Śliwak
5375dfff9d
Refactor error/event selector tests
...
- Remove redundant semantic tests for error selector
- Consolidate semanticTests/error/ and semanticTests/errors/ dirs
- Make "selector syntax test" for errors and event an actual test for syntax rather than a copy of the same semantic test
2022-06-14 12:04:19 +02:00
Kamil Śliwak
acbdcc3711
Revert the change that made events accessible in other contacts via qualified access
2022-06-14 12:04:14 +02:00
Daniel Kirchner
c8a6bd6b7e
Merge pull request #13134 from Saw-mon-and-Natalie/sw0nt-fix-typo
...
removed a duplicate word from a comment.
2022-06-14 11:55:12 +02:00
Saw-mon-and-Natalie
a265d9968a
removed a duplicate word from a comment.
2022-06-13 17:38:43 -07:00
Daniel Kirchner
82e5339d23
Merge pull request #13129 from ethereum/inlineAssemblyBugSeverity
...
Change severity of inline assembly bug to medium.
2022-06-13 18:02:45 +02:00
Daniel Kirchner
3015afc504
Change severity of inline assembly bug to medium.
2022-06-13 17:18:13 +02:00
Daniel Kirchner
efcbc79b1c
Merge pull request #13100 from ethereum/fixUnusedStoreInlineAssembly
...
Fix unused store inline assembly
2022-06-10 22:56:44 +02:00
Daniel Kirchner
aa7e4e02bb
A few more tests.
2022-06-10 20:12:09 +02:00
Daniel Kirchner
94dd6d0671
Bug list entry draft.
...
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
2022-06-10 20:05:14 +02:00
chriseth
51ef6a62da
Fix removal of memory stores in inline assembly blocks.
2022-06-10 17:32:28 +02:00
chriseth
14cdb76e4b
Add failing test
2022-06-10 17:32:28 +02:00
Kamil Śliwak
80f6a13d65
Merge pull request #13075 from ethereum/add-more-info-to-failed-semantic-tests
...
Print settings options such evmVersion and optimize in isoltest/soltest failed test logs.
2022-06-09 17:05:01 +02:00
Matheus Aguiar
f15e53ce4d
Added printSelectedOptions and toString as method of CommonOptions and used the former to print settings in failed semanticTests.
2022-06-09 11:19:46 -03:00
Daniel Kirchner
01a794dd31
Merge pull request #13117 from ethereum/fixEmptyLinesInDocs
...
Remove all-whitespace lines from docs.
2022-06-09 15:41:47 +02:00
Mathias L. Baumann
cf1b9a5241
Merge pull request #13109 from sourabhxyz/develop
...
Fix commandline tests not detecting a snippet with a broken free function definition
2022-06-09 15:31:54 +02:00
Daniel Kirchner
4576333245
Remove all-whitespace lines from docs.
2022-06-09 15:00:03 +02:00
Kamil Śliwak
ef2aa59f63
Merge pull request #13115 from denis-t-dev/patch-1
...
Fix comment position in the voting example
2022-06-09 14:53:47 +02:00
Denis T
811fa193af
Fix comment position in the voting example
2022-06-09 15:09:02 +03:00
Kamil Śliwak
9b220a2007
Merge pull request #12575 from ethereum/gnosis-gp-v2-ext-test
...
External test for Gnosis Protocol v2
2022-06-08 21:42:30 +02:00
Kamil Śliwak
e777ec9013
Merge pull request #12580 from ethereum/chainlink-ext-test
...
External test for Chainlink
2022-06-08 21:42:05 +02:00
Kamil Śliwak
8e67b28e0f
Make the checks that detect if a docs snippet should compile a bit more robust against comments
2022-06-08 21:32:30 +02:00
sourabh.xyz
8405d167c1
using-for.rst: Fix free function visibility.
...
Example is incorrect in the sense that "Free functions" cannot have visibility specified.
2022-06-08 21:32:30 +02:00
Kamil Śliwak
0b80a56294
External test for Gnosis Protocol v2
2022-06-08 20:23:39 +02:00
Kamil Śliwak
5c76d8ee77
External test for Chainlink
2022-06-08 20:21:58 +02:00
Daniel Kirchner
bbfef2dd6b
Merge pull request #13005 from StrongerXi/fix-typechecker-for-custom-error
...
Display human readable type name in conversion error message
2022-06-08 16:14:19 +02:00
Ryan
4b7ed2d47a
Display human readable type name in conversion error message
2022-06-08 18:23:51 +05:30
Daniel Kirchner
f2c930588c
Merge pull request #13079 from uji/sort-grammer-rules
...
Sort grammar rules of SolidityLexer.g4
2022-06-08 12:55:59 +02:00
Christian Parpart
8c87f58fa5
Merge pull request #13102 from ethereum/cpp-unreachable
...
Better way to annotate unreachability in C++
2022-06-07 17:22:52 +02:00
Christian Parpart
4ae43884d0
Apply a better way to annotate unreachability to the C++ compiler.
2022-06-07 16:41:04 +02:00
Christian Parpart
927da20ce4
Adds solidity::util::unreachable() helper function.
2022-06-07 16:40:55 +02:00
Christian Parpart
87f5865fb0
Merge pull request #13093 from ethereum/lsp.py-fixes
...
lsp.py: Add missing check for non-interactive
2022-06-07 16:13:22 +02:00
Marenz
9c4ea1dc68
lsp.py: Add missing check for non-interactive
2022-06-07 15:30:14 +02:00
Kamil Śliwak
95f22db175
Merge pull request #13097 from ethereum/skipping-ext-benchmark-diff
...
Skipping benchmark diff when previous run failed
2022-06-07 14:46:01 +02:00
Kamil Śliwak
2cea70c04f
Skip external test benchmark diff instead of failing when previous run of the job did not succeed
2022-06-07 13:24:55 +02:00
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