Commit Graph

22504 Commits

Author SHA1 Message Date
Daniel Kirchner
16245f7b9b Warn about multiple assignments to storage byte pushes and fix warnings about multiple storage to storage copies.
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
2022-06-15 13:53:05 +02:00
Daniel Kirchner
7f07497f2a
Merge pull request #13023 from SamuelOsewa/patch-1
Changes to error message for Unicode character in non-unicode string literal
2022-06-15 13:31:40 +02:00
Daniel Kirchner
71c838abb3
Merge pull request #13141 from ethereum/danglingReferencesDocs
Add documentation section about dangling references.
2022-06-15 13:23:09 +02:00
Daniel Kirchner
d30b04674e Add resolveUnaryTuples helper. 2022-06-15 13:15:26 +02:00
Daniel Kirchner
1cb8e17d94 Add documentation section about dangling references.
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
2022-06-15 12:51:24 +02:00
Samuel Osewa
c21265f9f8 Changed error message for for Unicode character in non-unicode string literal
Co-authored-by: Kamil Śliwak <cameel2@gmail.com>
2022-06-15 16:12:24 +05:30
Daniel Kirchner
9542e46ea4
Merge pull request #13145 from ethereum/fixCompilationError
Fix GCC compilation errors due to Boost 1.79 update
2022-06-15 11:57:16 +02:00
Daniel Kirchner
53c4facf4e Fix compilation error. 2022-06-15 11:14:50 +02:00
Daniel Kirchner
b45bc3918f
Merge pull request #13045 from ethereum/bytesArrayToStorageBug
Bytes array to storage bug
2022-06-15 10:21:01 +02:00
Daniel Kirchner
27822dbca7 Remove entry in IR breaking changes. 2022-06-14 18:27:52 +02:00
Daniel Kirchner
187f0f070d Some review suggestions. 2022-06-14 18:27:52 +02:00
Daniel Kirchner
91ff02b988 Changelog and buglist entries. 2022-06-14 18:26:16 +02:00
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