Commit Graph

22541 Commits

Author SHA1 Message Date
Matheus Aguiar
16f175d3b6 Disallow suffixes with zero or more than one return value. 2022-08-17 01:24:22 -03:00
Kamil Śliwak
2d7a031d47 [TMP] suffixedLiteral annotation and overloading 2022-08-11 13:43:53 +02:00
Kamil Śliwak
b815483fc3 fixup! Test cases 2022-08-11 09:37:32 +02:00
Kamil Śliwak
6fe8ff2acf [TMP] Rewrite suffix handling in ExpressionCompiler 2022-08-11 09:37:32 +02:00
Kamil Śliwak
f114acad71 ExpressionCompiler: Extract internal function handling into a separate function 2022-08-11 09:37:32 +02:00
Kamil Śliwak
d98b12420b [TMP] Replace IdentifierPath with Identifier/Member access for literal suffixes 2022-08-11 09:37:32 +02:00
Kamil Śliwak
a5a294053d [FIXUP] Extra assertions in the type checker 2022-08-11 09:37:32 +02:00
Kamil Śliwak
84c42d4ae2 Disallow non-pure functions as suffixes 2022-08-11 09:37:32 +02:00
Kamil Śliwak
ccb913b244 [FIXUP] Remove ViewPureChecker literal tests 2022-08-11 09:37:32 +02:00
Kamil Śliwak
2678e986b7 AST tests for literal suffixes 2022-08-11 09:37:32 +02:00
Kamil Śliwak
8adf89f042 Test cases 2022-08-11 09:37:32 +02:00
Kamil Śliwak
d6fcb36c4d [FIXUP] Parser: token -> initialToken 2022-08-11 09:37:32 +02:00
Kamil Śliwak
9464a5f366 [TMP] Allow using 2-argument suffixes on integer literals 2022-08-11 09:37:32 +02:00
Kamil Śliwak
1cf0ab1b04 [TMP] More granular type errors for suffix parameter mismatch 2022-08-11 09:37:32 +02:00
Kamil Śliwak
155c93580f [TMP] mantissaExponent(): Allow full uint range for exponent 2022-08-11 09:37:32 +02:00
Kamil Śliwak
4899b854d8 [TMP] Fix parsing for strings 2022-08-11 09:37:32 +02:00
Kamil Śliwak
7b06fba8fb [TMP] Denominations vs suffixes 2022-08-11 09:37:32 +02:00
Kamil Śliwak
15fa973569 [TMP] Refactor mantissaExponent() 2022-08-11 09:37:32 +02:00
chriseth
216df46ff4 User-defined literal suffixes. 2022-08-11 09:37:32 +02:00
Kamil Śliwak
3c0a7355d0
Merge pull request #13262 from xromrom/fixLinkToInternalFunctionCallsInDocs
[Docs] Fixed link to internal-function-calls
2022-08-10 19:07:08 +02:00
Daniel Kirchner
3a5b43eea3
Merge pull request #13286 from LCamel/contract_metadata_doc
Modify the metadata / hash document.
2022-08-10 18:19:10 +02:00
Daniel Kirchner
c4b0cb77ad
Merge pull request #13300 from krakxn/patch-1
Docs — Minor grammar fixes in `abi-spec.rst`
2022-08-10 18:17:49 +02:00
Daniel Kirchner
676e2fe79a
Merge pull request #13379 from ethereum/makeGasDiffScriptExecutable
Make gas diff stats script executable.
2022-08-10 18:03:50 +02:00
Daniel Kirchner
213f951dbb Make gas diff stats script executable. 2022-08-10 16:50:42 +02:00
Roman Figurin
bbf6ecf69d [Docs] Updated a part about abicoder v2 and multi-dimensional array for external-function-calls 2022-08-10 16:09:33 +02:00
Roman Figurin
664b7bfbda [Docs] Fixed link to internal-function-calls 2022-08-10 16:09:14 +02:00
Kamil Śliwak
80f77dc1ad
Merge pull request #13360 from ethereum/update-bugs-by-version-no-error-on-update
`update_bugs_by_version.py`: don't fail when the list gets updated
2022-08-10 15:51:41 +02:00
Daniel Kirchner
6b60524cfe
Merge pull request #13367 from ethereum/invalidTupleAssignment
Fix ICE on invalid tuple assignments.
2022-08-09 15:59:29 +02:00
Daniel Kirchner
9a429e2300 Fix ICE on invalid tuple assignments. 2022-08-09 12:41:47 +02:00
Nikola Matić
bb1a8df97e
Merge pull request #13355 from ethereum/tidy-up-gitignore
Tidy up and update .gitignore
2022-08-09 10:00:43 +02:00
Kamil Śliwak
6a42da8d35
Merge pull request #13361 from ethereum/addBuglistLink
Add blog post link to bug list.
2022-08-08 18:35:15 +02:00
Daniel Kirchner
c2d4e03c55 Add blog post link to bug list. 2022-08-08 17:40:32 +02:00
Kamil Śliwak
8874627dda update_bugs_by_version: Don't fail when the list gets updated 2022-08-08 17:29:47 +02:00
Kamil Śliwak
c1cbffc814 update_bugs_by_version: Use pathlib 2022-08-08 17:10:04 +02:00
Daniel Kirchner
abe869ad7c
Merge pull request #13359 from ethereum/set-version-to-0.8.17
Set version to 0.8.17
2022-08-08 16:47:17 +02:00
Kamil Śliwak
cc11c6f3d5 Set version to 0.8.17 2022-08-08 15:24:48 +02:00
Kamil Śliwak
07a7930e73
Merge pull request #13358 from ethereum/set-release-date-0.8.16
Set release date for 0.8.16 and update the bug list
2022-08-08 14:59:34 +02:00
Nikola Matic
d7531b716f Tidy up and update .gitignore 2022-08-08 14:45:31 +02:00
Kamil Śliwak
caba38db5c Set release date for 0.8.16 and update the bug list 2022-08-08 14:12:42 +02:00
Daniel Kirchner
f390b01dd1
Merge pull request #13357 from ethereum/sort-changelog-0.8.16
Sort changelog for 0.8.16
2022-08-08 14:02:29 +02:00
Kamil Śliwak
fb51bd69a3 Changelog cleanup for 0.8.16 2022-08-08 13:57:19 +02:00
Kamil Śliwak
0835e41626 Sort changelog for 0.8.16 alphabetically 2022-08-08 13:56:22 +02:00
Daniel Kirchner
4e67ef2384
Merge pull request #13282 from ethereum/fix-array-encode-bug
Fix wrong cleanup when copying from calldata to memory.
2022-08-08 13:49:13 +02:00
Marenz
22c7cd22b9 Fix wrong cleanup when copying from calldata to memory
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
2022-08-08 13:07:16 +02:00
Kamil Śliwak
5b0f4a724a
Merge pull request #13354 from ethereum/fuzz-calldata-to-calldata-coding
Place calldata to calldata coder sanity checks.
2022-08-08 12:40:38 +02:00
Bhargava Shastry
53947404e4 Place calldata to calldata coder sanity checks.
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
2022-08-08 11:04:51 +02:00
Kamil Śliwak
49a2db99e6
Merge pull request #13345 from minaminao/docs-this-no-longer-works-in-free-function
Update description of `this` in free functions
2022-08-05 23:47:09 +02:00
minami
796fb2cfad Fix description of this in free functions 2022-08-05 23:05:10 +02:00
Nikola Matić
2c5a8c0e25
Merge pull request #13342 from ethereum/full-stop-for-error-messages
Add full stops to error messages
2022-08-05 11:43:44 +02:00
Nikola Matic
40de2b0442 Add full stops to error messages 2022-08-05 09:52:48 +02:00