Alex Beregszaszi
|
4bffd040e2
|
Add tests for weirdly sized types
e.g. bytes00001
|
2020-12-14 11:40:11 +00:00 |
|
chriseth
|
28374447d2
|
Merge pull request #10582 from ethereum/addr-literal
Fix crash with oversized address literals
|
2020-12-14 12:14:28 +01:00 |
|
chriseth
|
561280a5cc
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-12-14 11:33:40 +01:00 |
|
Alex Beregszaszi
|
33ff2b16ff
|
Fix crash with oversized address literals
|
2020-12-11 23:45:23 +00:00 |
|
Alex Beregszaszi
|
7b347b9ec2
|
Introduce address(...).code
|
2020-12-11 03:00:30 +00:00 |
|
Alex Beregszaszi
|
fa37e69c25
|
Improved error messages when converting to/from builtin functions
|
2020-12-10 22:38:15 +00:00 |
|
Alex Beregszaszi
|
ff7e45f417
|
Add test cases for assigning builtins/bound functions to function types
|
2020-12-10 22:18:52 +00:00 |
|
chriseth
|
ef3bcbda97
|
Merge pull request #9549 from ethereum/yul-reserved
[BREAKING] Disallow using reserved identifiers in Yul
|
2020-12-10 18:49:44 +01:00 |
|
Alex Beregszaszi
|
7cd05bf603
|
Introduce block.chainid
|
2020-12-10 17:07:54 +00:00 |
|
Alex Beregszaszi
|
c032ad3379
|
Update tests
|
2020-12-10 17:18:15 +01:00 |
|
chriseth
|
d0551b67d7
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-12-10 17:07:56 +01:00 |
|
chriseth
|
e15136c210
|
Merge pull request #10558 from ethereum/magictype-tests
Adds more tests for state access (block/tx/msg)
|
2020-12-10 14:05:37 +01:00 |
|
chriseth
|
482bda6887
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-12-10 12:15:52 +01:00 |
|
Mathias Baumann
|
37cc795034
|
Fix segfault for empty @return tags in modifiers
|
2020-12-10 11:54:40 +01:00 |
|
Alex Beregszaszi
|
f9d6abf69b
|
Add more tests for state access (block, msg, tx, etc.)
Move some of them out of SolidityEndToEndTests. Additionally this ensures the deterministic values of the testing infrastructure.
|
2020-12-09 20:46:01 +00:00 |
|
chriseth
|
3f748bbb94
|
Merge pull request #10336 from ethereum/enablecoderv2bydefault
[BREAKING] Enable ABI coder v2 by default.
|
2020-12-09 18:05:07 +01:00 |
|
chriseth
|
1c99537b5a
|
Merge pull request #10550 from ethereum/chainIdView
[BREAKING] Mark chainid as view.
|
2020-12-09 17:41:27 +01:00 |
|
chriseth
|
870fd24723
|
Merge pull request #9888 from ethereum/account-hash
Support address().codehash
|
2020-12-09 17:40:56 +01:00 |
|
Daniel Kirchner
|
588535566f
|
Mark chainid as view.
|
2020-12-09 16:55:51 +01:00 |
|
Alex Beregszaszi
|
ad6739d0f6
|
Support address().codehash
|
2020-12-09 14:58:27 +00:00 |
|
chriseth
|
251f2a4d93
|
Fix bug in constant evaluator.
|
2020-12-09 15:50:53 +01:00 |
|
chriseth
|
72f1e4ea0b
|
Explicitly set coder to v1 for syntax tests.
|
2020-12-09 15:25:15 +01:00 |
|
Djordje Mijovic
|
acb93f3a97
|
Disallowing usage of msg.data in receive() function.
|
2020-12-08 11:49:20 +01:00 |
|
Alex Beregszaszi
|
66ee3ec533
|
Remove the \b, \f, \v escape sequences from the Scanner
|
2020-12-07 21:10:03 +00:00 |
|
chriseth
|
a3c5d37d02
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-12-07 17:13:48 +01:00 |
|
chriseth
|
b86c91d1a3
|
Make super unavailable in libraries.
|
2020-12-07 13:59:50 +01:00 |
|
chriseth
|
4be9b409de
|
Remove unary plus.
|
2020-12-04 15:14:25 +01:00 |
|
chriseth
|
89919e47d3
|
New test.
|
2020-12-04 15:14:25 +01:00 |
|
Christian Parpart
|
c5d172c058
|
Reimplement constant evaluator.
|
2020-12-04 15:14:25 +01:00 |
|
chriseth
|
49bde69afa
|
Move computation of constants out of types.cpp
|
2020-12-04 15:14:25 +01:00 |
|
chriseth
|
d56a7bb89e
|
Merge pull request #10489 from ethereum/develop
Merge develop into breaking.
|
2020-12-03 18:11:12 +01:00 |
|
hrkrshnn
|
9e5d7b9910
|
Test updates after disallowing Integer -> Contract conversion
|
2020-12-03 17:53:00 +01:00 |
|
Alex Beregszaszi
|
a9be2e4bb8
|
update tests
|
2020-12-03 17:15:45 +01:00 |
|
Alex Beregszaszi
|
6c0a3bd043
|
Ensure that builtins must be executed
|
2020-12-03 17:15:44 +01:00 |
|
Alex Beregszaszi
|
43353bb6ca
|
update tests
|
2020-12-03 17:15:43 +01:00 |
|
Alex Beregszaszi
|
3da2b67b67
|
simplify parser
|
2020-12-03 17:14:49 +01:00 |
|
hrkrshnn
|
40244c5469
|
Tests/Docs after stricter explicit conversion.
|
2020-12-03 16:51:05 +01:00 |
|
chriseth
|
52c49aebe8
|
Disallow meta type on super.
|
2020-12-02 15:43:18 +01:00 |
|
chriseth
|
6d1454fce6
|
Disallow conversion to super.
|
2020-12-01 14:15:50 +01:00 |
|
chriseth
|
6de7eaba95
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-12-01 10:50:13 +01:00 |
|
Djordje Mijovic
|
bd86588459
|
Adding more tests for array copying from storage to storage.
|
2020-12-01 08:50:36 +01:00 |
|
chriseth
|
3e5396598b
|
Merge pull request #10410 from ethereum/ir-fixedbytes-bitnot
Support BitNot on FixedBytes in IR
|
2020-11-26 14:42:52 +01:00 |
|
Alex Beregszaszi
|
cbae5ca324
|
Support BitNot on FixedBytes in IR
|
2020-11-26 13:20:02 +00:00 |
|
Djordje Mijovic
|
565d0cd4eb
|
Support copying of nested calldata arrays to memory.
|
2020-11-26 12:13:29 +01:00 |
|
hrkrshnn
|
a834476de6
|
Tests/Docs after disallowing super, this and _ as declaration names
|
2020-11-25 11:14:13 +01:00 |
|
chriseth
|
253889cbf1
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-11-24 16:22:03 +01:00 |
|
chriseth
|
2d235bf7b0
|
Merge pull request #10341 from ethereum/optimizeAllocation
Do not allocate memory objects if they will be assigned directly.
|
2020-11-24 16:05:46 +01:00 |
|
chriseth
|
79669ecd48
|
Use new abicoder pragma.
|
2020-11-24 14:57:45 +01:00 |
|
chriseth
|
409e92580f
|
Do not allocate memory objects if they will be assigned directly.
|
2020-11-24 14:11:01 +01:00 |
|
chriseth
|
19e9e8b550
|
Some more tests.
|
2020-11-23 15:00:00 +01:00 |
|
chriseth
|
67ec5f6b17
|
Override semantics for fallback function.
|
2020-11-23 14:22:37 +01:00 |
|
chriseth
|
fda352094f
|
Allow fallback function to return data.
|
2020-11-23 14:22:37 +01:00 |
|
Alex Beregszaszi
|
8228b5b0b8
|
Fix test failures due to merge conflict (from develop to breaking)
|
2020-11-20 18:21:21 +00:00 |
|
chriseth
|
a7db4fa4a5
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-11-18 20:05:02 +01:00 |
|
Kamil Śliwak
|
5560239cf5
|
Replace links to readthedocs.io with ones using the new domain
|
2020-11-18 15:20:34 +01:00 |
|
chriseth
|
9f0a631948
|
Merge pull request #10208 from ethereum/offsetLengthCalldata
Support .offset and .length for dynamic calldata arrays
|
2020-11-18 12:09:11 +01:00 |
|
chriseth
|
2665eaa4fa
|
Support .offset and .length for calldata bytes and string arrays.
|
2020-11-18 01:45:56 +01:00 |
|
Kamil Śliwak
|
dfa0a0cdff
|
IR codegen: Handle address() with library type argument and external library calls
|
2020-11-17 20:36:39 +01:00 |
|
chriseth
|
049c7f7a8e
|
Disallow using modifiers not in the current contract or in base contracts.
|
2020-11-17 18:33:45 +01:00 |
|
Kamil Śliwak
|
1bf700e088
|
Return a type error when an enum has more than 256 members
|
2020-11-16 18:58:19 +01:00 |
|
chriseth
|
141277dadf
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-11-10 17:28:36 +01:00 |
|
hrkrshnn
|
2348b721bb
|
Tests after changing type of super to TypeType
|
2020-11-10 15:38:21 +01:00 |
|
chriseth
|
3c1d990964
|
Merge pull request #10224 from ethereum/strict-literal-to-enum-conversion
[BREAKING] Strict explicit conversion between literals and enums
|
2020-11-10 13:15:12 +01:00 |
|
chriseth
|
765ed13814
|
Immutables with literal values are pure.
|
2020-11-10 13:08:42 +01:00 |
|
chriseth
|
04195439b7
|
Merge remote-tracking branch 'origin/develop' into HEAD
|
2020-11-09 14:28:05 +01:00 |
|
hrkrshnn
|
03f58c6b52
|
Strict explicit conversion between literals and enums
Explicit conversions between literals and enums are only allowed if the literal can represent a
value in the enum.
|
2020-11-06 19:15:02 +01:00 |
|
Alex Beregszaszi
|
1536e49b3d
|
Add more syntax tests for uncovered cases
|
2020-11-05 10:30:09 +00:00 |
|
Harikrishnan Mulackal
|
24cce56215
|
Merge pull request #10189 from ethereum/underscore-tests
Add syntax and semantic tests for underscore
|
2020-11-03 17:06:31 +01:00 |
|
Alex Beregszaszi
|
b0864a4af9
|
Add syntax and semantic tests for underscore
|
2020-11-03 15:22:57 +00:00 |
|
hrkrshnn
|
29e23efc93
|
Tests/Docs after "stricter explicit conversion from Literals to Integers"
|
2020-11-03 14:31:44 +01:00 |
|
chriseth
|
5ffee049fa
|
Merge remote-tracking branch 'origin/develop' into breaking
|
2020-11-03 14:05:14 +01:00 |
|
chriseth
|
e27a1b786b
|
Wording in error messages.
|
2020-11-03 13:31:51 +01:00 |
|
chriseth
|
834da7be90
|
Introduce abicoder pragma.
|
2020-11-03 13:31:50 +01:00 |
|
chriseth
|
b287a6e995
|
Disallow specifying call options multiple times.
|
2020-11-02 20:07:23 +01:00 |
|
chriseth
|
e93a84ccd4
|
Merge remote-tracking branch 'origin/develop' into HEAD
|
2020-10-28 18:19:31 +01:00 |
|
Alex Beregszaszi
|
24d8c2ed90
|
Split error codes for EVM opcodes
|
2020-10-28 11:45:46 +00:00 |
|
chriseth
|
bfc8e26007
|
Remove low-level log functions.
|
2020-10-22 17:50:14 +02:00 |
|
chriseth
|
6979952995
|
Merge remote-tracking branch 'origin/develop' into HEAD
|
2020-10-19 18:02:50 +02:00 |
|
chriseth
|
c9ef727136
|
New tests.
|
2020-10-19 16:58:59 +02:00 |
|
Daniel Kirchner
|
909ce9164a
|
Allow arrays of contract types as type expressions e.g. for abi.decode.
|
2020-10-16 19:40:41 +02:00 |
|
Daniel Kirchner
|
3f14c904b0
|
Disallow invalid use of library names as type names.
|
2020-10-16 18:25:08 +02:00 |
|
chriseth
|
f6e57a0eec
|
Merge pull request #10023 from ethereum/develop
Merge develop into breaking.
|
2020-10-13 18:18:53 +02:00 |
|
chriseth
|
c86ea59384
|
Merge pull request #10019 from ethereum/exp-associativity
[BREAKING] Exp associativity
|
2020-10-13 17:03:18 +02:00 |
|
hrkrshnn
|
13e7012e1e
|
Parser: Exponentiation is right associative
|
2020-10-13 16:38:37 +02:00 |
|
Mathias Baumann
|
006e5f2e1f
|
Allow path syntax for super constructor calls
|
2020-10-13 14:32:11 +02:00 |
|
Mathias Baumann
|
32b4f18023
|
Print warning for unnamed return parameters and no return statement
|
2020-10-13 13:11:29 +02:00 |
|
chriseth
|
0ea4bdafcd
|
Merge pull request #10017 from ethereum/develop
Merge develop into breaking.
|
2020-10-13 12:58:23 +02:00 |
|
chriseth
|
8a1bf41ac0
|
Merge pull request #10010 from ethereum/develop
Merge develop into breaking.
|
2020-10-12 15:33:34 +02:00 |
|
Kamil Śliwak
|
e1cc888369
|
Fix checkBaseABICompatibility() to make it actually check return parameters and not just ordinary parameters twice
|
2020-10-12 15:14:56 +02:00 |
|
Kamil Śliwak
|
3128e82a9a
|
Look for experimental pragmas in the module containing the definition when generating code for modifiers and inherited functions
|
2020-10-12 14:29:53 +02:00 |
|
chriseth
|
e7603d7590
|
Merge pull request #10003 from ethereum/more-tests-and-docs-for-mixed-abi-encoder-use-checks
More tests and some minimal docs for mixed ABI encoder use
|
2020-10-12 14:22:44 +02:00 |
|
Kamil Śliwak
|
94a49fcc4a
|
Additional tests for ABIEncoderV1 calls using ABIEncoderV2 types
|
2020-10-12 13:26:01 +02:00 |
|
Christian Parpart
|
712d0805eb
|
Fixes internal compiler error with an unused reference to module member.
|
2020-10-12 11:56:01 +02:00 |
|
a3d4
|
90c8c32d86
|
If a declaration shadows several others, group them together
|
2020-10-08 21:01:25 +02:00 |
|
a3d4
|
f29ebc0847
|
Fix shadowing/same-name warnings for later declarations
|
2020-10-08 20:22:04 +02:00 |
|
chriseth
|
14352ed921
|
Merge remote-tracking branch 'origin/develop' into HEAD
|
2020-10-08 20:18:04 +02:00 |
|
chriseth
|
34e7ae6ff9
|
New tests.
|
2020-10-08 18:56:18 +02:00 |
|
chriseth
|
b2f1d558da
|
Update existing tests.
|
2020-10-08 18:56:17 +02:00 |
|
chriseth
|
e16811e79f
|
Merge remote-tracking branch 'origin/develop' into HEAD
|
2020-10-08 14:56:52 +02:00 |
|
a3d4
|
d7b4b4a7aa
|
Fix ICE caused by storage parameters with nested mappings in libraries
|
2020-10-07 22:07:57 +02:00 |
|