Marenz
5663fbb903
Merge branch 'develop' into breaking
...
Manual Resolved Conflicts:
Changelog.md
* Updated changelog
test/externalTests/ens.sh
* Merged fixes for upstream from both develop and breaking
test/libsolidity/semanticTests/inlineAssembly/external_identifier_access_shadowing.sol
* Removed in #11735 (breaking)
test/libsolidity/semanticTests/inlineAssembly/function_name_clash.sol
* Removed in #12209 (breaking)
test/libsolidity/semanticTests/storage/mappings_array2d_pop_delete.sol
* Removed in #11843 (breaking)
test/libsolidity/semanticTests/storage/mappings_array_pop_delete.sol
* Removed in #11843 (breaking)
test/libsolidity/syntaxTests/inlineAssembly/basefee_berlin_function.sol
* Used version of file from #11842 (breaking)
2022-08-30 18:07:20 +02:00
Daniel Kirchner
9a429e2300
Fix ICE on invalid tuple assignments.
2022-08-09 12:41:47 +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
Nikola Matic
40de2b0442
Add full stops to error messages
2022-08-05 09:52:48 +02:00
Duc Thanh Nguyen
a9e03f5e4a
Fix out-of-range compiler crash for nested tuple assignment involving
...
outer unary tuple
2022-08-04 12:45:46 -04:00
Matheus Aguiar
9acf693aa2
Fixed bad cast when abiEncodeCall receives a tuple from a function.
2022-08-03 18:48:38 -03:00
Duc Thanh Nguyen
5072472917
Fix abi.encodeCall checks
2022-07-25 12:40:54 -04:00
Duc Thanh Nguyen
0a14368315
Display human readable type name in conversion error message
2022-07-06 10:49:51 -04:00
William Entriken
2a957413d0
Update naming of Mainnet
2022-06-30 16:47:11 +02:00
Mathias L. Baumann
3ed9a38abc
Merge pull request #12966 from a3d4/fix-ice-structtype-nativemembers
...
Fix ICE caused by an immutable struct with mapping
2022-06-23 16:11:28 +02:00
Ryan
3b2c6de61c
Propagate purity information for member access to foreign pure variables
2022-06-16 17:11:55 +05:30
Daniel Kirchner
416c3dc1a4
Merge pull request #13139 from ethereum/lvalueBytesPushWarning
...
Warn about multiple assignments to storage byte pushes.
2022-06-15 14:39:46 +02:00
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
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
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
Ryan
4b7ed2d47a
Display human readable type name in conversion error message
2022-06-08 18:23:51 +05:30
a3d4
423f3d3088
Fix ICE caused by an immutable struct
2022-06-07 10:29:45 +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
Kamil Śliwak
7f4f655cca
Disallow RETURNDATASIZE and RETURNDATACOPY in inline assembly blocks in pure functions
...
(cherry picked from commit f567eb1fb2 )
quick fix to pass failing test at ./test/externalTests/ens.sh (line 80) -- Should be removed when 0.9 is released.
2022-05-20 09:31:27 -03:00
nishant-sachdeva
7ff4cab0b9
issue has already been fixed. Adding test cases for confirmation
2022-05-19 15:36:59 +05:30
wechman
f39decee8f
Fix tests failing due to the develop branch merge
2022-05-19 08:51:51 +02:00
chriseth
e702202bdf
Merge remote-tracking branch 'origin/develop' into HEAD
2022-05-18 12:14:56 +02:00
chriseth
dfa0bcf760
More strict override check for data locations.
2022-05-17 13:02:12 +02:00
chriseth
3c2cee5836
Merge pull request #13026 from ethereum/develop
...
Merge develop into breaking.
2022-05-16 15:29:39 +02:00
Matheus Aguiar
35661479b6
Revert "Disallow RETURNDATASIZE and RETURNDATACOPY in inline assembly blocks in pure functions"
...
This reverts commit f567eb1fb2 .
Correcting Bugfixes section of Changelog.
2022-05-13 08:35:21 -03:00
chriseth
a137d42094
Merge pull request #13007 from ethereum/develop
...
Merge develop into breaking.
2022-05-11 16:39:24 +02:00
chriseth
df29ea72f0
Merge pull request #12836 from ethereum/fixUsingGlobal
...
Fix using global with libraries.
2022-05-02 12:41:34 +02:00
chriseth
505fa7763f
Fix checks for "using for ... global" for libraries.
2022-05-02 12:40:56 +02:00
Alexey Shekhirin
cb24e5d545
fix(parser): error for unexpected token
2022-04-29 16:13:04 +04:00
chriseth
a433511128
Merge remote-tracking branch 'origin/develop' into breaking
2022-04-13 17:08:27 +02:00
Kamil Śliwak
f567eb1fb2
Disallow RETURNDATASIZE and RETURNDATACOPY in inline assembly blocks in pure functions
2022-04-08 14:48:35 +02:00
Kamil Śliwak
fb7c969ce8
Tests for assembly instructions allowed with mutable/view/pure functions
2022-04-08 14:47:32 +02:00
Ryan
3a17274691
Improve error message for static array with size too large
2022-04-05 17:36:37 +02:00
chriseth
755e043a6d
Use error message for unary operators.
2022-04-04 16:53:36 +05:30
nishant-sachdeva
4c6066bfad
typeCheckAbiEncodeCallFunction should type check the arguments on functionPointerType->asExternallyCallableFunction instead of teh plain function type
2022-03-24 18:53:46 +05:30
chriseth
0d96c5c8a5
Merge remote-tracking branch 'origin/develop' into breaking
2022-03-16 15:41:37 +01:00
chriseth
9188519f11
Using for with global binding.
2022-03-14 17:39:14 +01:00
hrkrshnn
672951ccc7
Extend using-for.
2022-03-14 12:33:44 +01:00
nishant-sachdeva
b7a9daa2f8
Generate warning when rational numbers are converted to their mobile type without explicit requests
2022-03-14 14:04:46 +05:30
nishant-sachdeva
624d2d3968
Error messages from abi encodecall are giving more details about the types of the involved variables
2022-03-11 16:14:55 +05:30
chriseth
6b88e470ff
Merge remote-tracking branch 'origin/develop' into breaking
2022-03-07 16:34:55 +01:00
Daniel Kirchner
93dd8ad553
Tests.
2022-03-02 17:07:11 +01:00
Daniel Kirchner
6b6e163be5
Tests.
2022-03-02 16:42:28 +01:00
Daniel Kirchner
e6848caac1
Allow annotating inline assembly as memory-safe.
2022-03-02 16:42:28 +01:00
wechman
8e2f929648
Move basefee_berlin_function test to syntax tests.
2022-03-02 10:48:33 +01:00
Sreekesh V
9188e658d8
Revert "Allow basefee as Yul identifier for EVMVersion < london"
...
This reverts commit 7f1a2be0fe .
Added changes to changelog to include Make basfee as a reserved identifier
added changes under the breaking changes rst file
Update Changelog.md
Co-authored-by: Harikrishnan Mulackal <webmail.hari@gmail.com>
Update 090-breaking-changes.rst
moved the changes under "New restrictions" section
Update Changelog.md
avoided removing line no 6
Update docs/090-breaking-changes.rst
Co-authored-by: Alex Beregszaszi <alex@rtfs.hu>
2022-03-02 10:48:33 +01:00
Marenz
175580fe90
Make error message less confusing
2022-02-17 16:52:36 +01:00
chriseth
0801c48e11
Merge remote-tracking branch 'origin/develop' into breaking
2022-02-17 09:42:15 +01:00
Daniel Kirchner
c47da51eab
Consider all grandparents in override analysis.
2022-02-14 15:31:31 +01:00