Commit Graph

17096 Commits

Author SHA1 Message Date
Bhargava Shastry
1a0391bceb Fuzzer: Add a specialized StackTooDeepError Exception that is caught in the fuzzing harness 2020-07-01 11:08:20 +02:00
a3d4
acd42a08c1 Add a missing DocStringParser error to tests. 2020-07-01 04:42:37 +02:00
Bhargava Shastry
b82590322c yul proto fuzzer: Remove assertion that no errors/warnings while parsing yul code 2020-06-30 21:46:38 +02:00
chriseth
a1c33249f1
Merge pull request #9274 from ethereum/YulInterpreterSelfBalance
Yul interpreter: Remove selfbalance constant
2020-06-30 17:15:11 +02:00
Bhargava Shastry
d0ea1f97fd Yul interpreter: Return selfbalance constant for the expression
balance(address()) and balance constant otherwise.
2020-06-30 16:59:13 +02:00
chriseth
76943023bd
Merge pull request #9267 from ethereum/issue-8911-split
NatSpec: Implement default inheritance.
2020-06-30 15:16:14 +02:00
Mathias Baumann
c50f0ae00e NatSpec: Implement default inheritance. 2020-06-30 14:45:13 +02:00
chriseth
49e3217933
Merge pull request #9230 from ethereum/issue-8716
Add unit denomination ``gwei``
2020-06-30 12:36:10 +02:00
Mathias Baumann
fe33891531 Natspec: Add warning when using @author with functions 2020-06-29 18:10:36 +02:00
chriseth
a1309e4c5f
Merge pull request #9011 from ethereum/natspec-event
NatSpec for events
2020-06-29 17:14:00 +02:00
chriseth
0ffe0f7c25
Merge pull request #9269 from ethereum/commandline-clearer-error-for-options-disallowed-in-asm-mode
Only actually specified options in command-line error in assembly mode
2020-06-29 16:53:46 +02:00
Kamil Śliwak
3f3f8adcb8 CommandLineInterface: In error message about options disallowed in assembly mode only include the names of actually used options 2020-06-29 15:23:13 +02:00
chriseth
8fde9fd1c3
Merge pull request #9263 from ethereum/disable-publishing-emscripten-from-travis
Temporarily disable pushing empscripten builds to solc-bin from Travis
2020-06-26 15:50:03 +02:00
Kamil Śliwak
66a3d35120 Modify Travis config not to push empscripten builds to solc-bin 2020-06-26 14:21:43 +02:00
Harikrishnan Mulackal
4146ff9fcf NatSpec for events 2020-06-26 15:06:43 +05:30
chriseth
48dd36349d
Merge pull request #9260 from ethereum/updateNodeTravis
Set nodejs version to 10.
2020-06-25 20:28:00 +02:00
chriseth
d315f03590 Set nodejs version to 10. 2020-06-25 19:20:13 +02:00
Mathias Baumann
02328f3bbb Add unit denomination `gwei` 2020-06-24 18:24:56 +02:00
chriseth
6df702a1f7
Merge pull request #9240 from ethereum/yul-linkersymbol
[Yul] Add linkersymbol() builtin
2020-06-24 18:03:18 +02:00
chriseth
479cfb984d
Merge pull request #9239 from ethereum/yul-arbitrary-length-literal-string-arguments
[Yul] Allow string literals longer than 32-bytes in builtin calls that require literal arguments
2020-06-24 18:02:48 +02:00
Kamil Śliwak
a331d4449d Add linkersymbol() builtin to Yul EVM dialect 2020-06-24 15:06:52 +02:00
Kamil Śliwak
1b09b4f950 Allow Yul literals longer than 32-bytes when used as literal arguments for builtins 2020-06-24 15:05:38 +02:00
chriseth
062a999e85
Merge pull request #9228 from ethereum/fix-9210
Add multi source semantic tests
2020-06-23 18:14:55 +02:00
Bhargava Shastry
0397266351 Implement multi source semantic tests
Co-authored-by: chriseth <chris@ethereum.org>
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
2020-06-23 17:29:16 +02:00
chriseth
1213300594
Merge pull request #9214 from ethereum/fix-infinte-loops-ewasm
[ewasm] Fix infinite loops.
2020-06-23 14:29:45 +02:00
Alexander Arlt
86be0fbc2f [ewasm] Fix infinite loops. 2020-06-23 12:35:03 +02:00
chriseth
e419e904d3
Merge pull request #9215 from a3d4/fix-grammar-pragma-version
Fix pragma solidity version in antlr grammar
2020-06-23 12:34:29 +02:00
a3d4
25ebff3a38 Fix pragma solidity version in antlr grammar 2020-06-23 02:25:21 +02:00
chriseth
3941c62d11
Merge pull request #9244 from ethereum/fixAssigncalldata
Do not disallow assigning to external parameters.
2020-06-22 23:42:33 +02:00
chriseth
98e5923e3a Do now disallow assigning to external parameters. 2020-06-22 18:36:32 +02:00
chriseth
1cb02af240
Merge pull request #9227 from a3d4/incorporate-error-codes-into-syntaxtest
Added error codes to SyntaxTest expectations
2020-06-22 17:24:21 +02:00
a3d4
1d2ae7d82a Added error codes to SyntaxTest expectations (changed code) 2020-06-22 16:53:03 +02:00
a3d4
e04cedafc5 Added error codes to SyntaxTest expectations (updated tests) 2020-06-22 16:51:47 +02:00
chriseth
8ebe7676d5
Merge pull request #9209 from ethereum/modulesArePure
Modules are pure.
2020-06-22 12:05:30 +02:00
Harikrishnan Mulackal
231952e01d
Merge pull request #9238 from ethereum/docs-yul-fix-immutable-typos
[docs] Fix a few typos in setimmutable/loadimmutable docs
2020-06-22 13:10:41 +05:30
Kamil Śliwak
44e39f3626 docs/yul.rst: Fix typos in setimmutable/loadimmutable docs 2020-06-19 18:26:30 +02:00
chriseth
cd2cc76f20 Modules are pure. 2020-06-18 18:28:04 +02:00
chriseth
b1d22ab2c8
Merge pull request #9225 from ethereum/fixLocationOfYulAssignment
Fix location of yul assignment
2020-06-18 15:54:46 +02:00
chriseth
b00014c51d Fix source location of yul multi-assignemnt. 2020-06-18 14:31:53 +02:00
chriseth
d19aa2e51b
Merge pull request #9224 from ethereum/fixBoundToStruct
Check if using for refers to a library earlier.
2020-06-18 13:36:39 +02:00
chriseth
63fb0a5475
Merge pull request #9221 from step21/develop
Added raspbian to install_deps
2020-06-18 13:32:36 +02:00
step21
2a0d701f70 added raspbian 2020-06-18 10:29:06 +02:00
chriseth
76468f19fe Check if using for refers to a library earlier. 2020-06-17 17:45:40 +02:00
chriseth
8d3c2ba6d9
Merge pull request #8240 from ethereum/wasmTypeConversions
Remove wasm type conversions
2020-06-16 15:50:44 +02:00
Kamil Śliwak
06e1b38d1d WasmCodeTransform: Convert Yul 'if's with i32 argument directly to wasm 'if' without an extra comparison with zero 2020-06-16 15:36:47 +02:00
Kamil Śliwak
50b426e37b Update the expected output of command-line tests after wasm changes 2020-06-16 15:36:47 +02:00
Kamil Śliwak
d9ca02b47a Enable translation of i32 Yul variables/literals to i32 wasm variables/literals
- Until now they were being translated to i64
2020-06-16 15:36:47 +02:00
chriseth
50e8d6850f Remove wasm type conversions. 2020-06-16 15:36:42 +02:00
chriseth
8086ddd3bd
Merge pull request #9189 from ethereum/simplifyResolver
Simplify inline assembly resolver.
2020-06-16 15:31:21 +02:00
chriseth
3a8c996807
Merge pull request #9193 from ethereum/experimentalFeatureBysource
Directly determine if experimental feature active.
2020-06-16 14:27:27 +02:00