Commit Graph

17980 Commits

Author SHA1 Message Date
Djordje Mijovic
6f97e6153c [yul] Adding support for accessing subobjects via .
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
2020-07-21 17:56:11 +02:00
chriseth
e02878329d Prepare for 0.6.12 release. 2020-07-21 16:33:48 +02:00
Bhargava Shastry
18fbbfa5ca Fuzzer: Count step by number of interpreted statements
Co-authored-by: chriseth <chris@ethereum.org>
2020-07-21 15:38:02 +02:00
a3d4
0a3c9ec358 Print source file names for uncovered error codes.
Use more consistent naming.
2020-07-21 15:23:22 +02:00
chriseth
8b7567f963 Fix merge conflicts. 2020-07-21 15:06:57 +02:00
chriseth
f4b912fffa
Merge pull request #9446 from ethereum/fix-9445
Add corpus based multi source fuzzer
2020-07-21 14:44:57 +02:00
Bhargava Shastry
4067bab7dd Add corpus based multi source fuzzer
Co-authored-by: Leonardo <leo@ethereum.org>
2020-07-21 13:43:29 +02:00
chriseth
50c3daf693
Merge pull request #9255 from ethereum/solidity-upgrade-constructor
[BREAKING] solidity-upgrade: added module to remove visibility of constructors
2020-07-21 13:24:39 +02:00
chriseth
eab999f753
Merge pull request #9457 from ethereum/docArrayLit
Add example about array literals.
2020-07-21 13:21:01 +02:00
chriseth
c11bb24a51 Add example about array literals. 2020-07-21 13:04:59 +02:00
Djordje Mijovic
952101996c Removing expectDeposit() from AsmAnalysis as unused function 2020-07-21 12:55:05 +02:00
chriseth
dfe07c0b0e
Merge pull request #9455 from xilibi2003/patch-1
Update simplified chinese translation link.
2020-07-21 12:07:08 +02:00
chriseth
e19e4d9db1
Merge pull request #9451 from ethereum/smt_fix_push_push
[SMTChecker] Fix push().push()
2020-07-21 11:40:37 +02:00
chriseth
9be5ed1220 Merge remote-tracking branch 'origin/develop' into breaking 2020-07-21 11:35:28 +02:00
chriseth
fbc0cc52e4 Document 0.7.0 changes. 2020-07-21 10:44:31 +02:00
Tiny熊
1b95a5e1fc
Update simplified chinese translation link.
The implified chinese translation version now host on https://learnblockchain.cn/docs/solidity/ .  

This url will be keep updating .
2020-07-21 16:28:13 +08:00
chriseth
05d43f9d6b
Merge pull request #9453 from a3d4/fix-accent
Replace acute accent with grave accent
2020-07-21 10:22:24 +02:00
a3d4
ecdfef1b30 Replace grave accent with acute accent 2020-07-21 00:18:47 +02:00
chriseth
e7f26c2320
Merge pull request #9218 from ethereum/issue-8911
Natspec: Implement inheritance and @inheritdoc
2020-07-20 18:44:13 +02:00
chriseth
10f93fbd8a
Merge pull request #9428 from ethereum/removeVar
Remove special treatment of ``var``.
2020-07-20 18:43:44 +02:00
chriseth
2c7359de1e
Merge pull request #9394 from ethereum/fix-9391
Yul interpreter: Return addresses of type u160 for create and create2…
2020-07-20 18:38:43 +02:00
Mathias Baumann
ba0a4de50d NatSpec: Implement `@inheritdoc` 2020-07-20 18:32:18 +02:00
chriseth
a8c14c2e68
Merge pull request #9416 from ethereum/disallowOverridePure
Disallow public state variables overriding pure functions.
2020-07-20 18:19:40 +02:00
chriseth
6a1b1283fd
Merge pull request #9447 from ethereum/inlineArrays
[Sol->Yul] Implement inline arrays.
2020-07-20 17:53:08 +02:00
chriseth
93c792c696 Remove special treatment of `var`. 2020-07-20 17:22:04 +02:00
Leonardo Alt
2c93278719 Fix push().push() 2020-07-20 17:17:35 +02:00
chriseth
8bdd93f4b8 Update tests. 2020-07-20 17:17:19 +02:00
chriseth
50a54fa8aa Implement inline arrays. 2020-07-20 17:06:32 +02:00
chriseth
ac95e98b2b
Merge pull request #9449 from ethereum/fixEnforceViaYul
Fix enforce via yul
2020-07-20 17:01:42 +02:00
chriseth
60500778ad
Merge pull request #9450 from ethereum/nowLeftover
Remove leftover of code-generator for ``now``.
2020-07-20 17:01:37 +02:00
chriseth
1c9179683e
Merge pull request #9433 from ethereum/reportAllStackErrors
Report all stack errors
2020-07-20 15:44:51 +02:00
chriseth
f5d8636d28 Document variableHeightDiff. 2020-07-20 15:44:29 +02:00
chriseth
0a25370eeb Update tests. 2020-07-20 15:40:58 +02:00
chriseth
50dc17350c Remove leftover of code-generator for `now`. 2020-07-20 15:37:53 +02:00
chriseth
6bb50a05b8
Merge pull request #9440 from sacgrover/develop
Add SPDX license identifier if not present already in source file
2020-07-20 15:26:02 +02:00
Mathias Baumann
446d15488c Update tests for new public var override rules 2020-07-20 15:18:23 +02:00
chriseth
c8772a54c3 Constants are considered pure. 2020-07-20 15:18:23 +02:00
chriseth
d3647b13e4 Disallow public state variables overriding pure functions. 2020-07-20 15:18:23 +02:00
Mathias L. Baumann
69a596b0ff
Merge pull request #9418 from ethereum/stateMutForOverride
Issue state mutability restriction for overriding and not for virtual functions.
2020-07-20 15:01:25 +02:00
chriseth
53bc0ff18e Fix "enforce via yul". 2020-07-20 14:52:31 +02:00
Bhargava Shastry
deffb7ffc8 Yul interpreter: Return addresses of type u160 for create and create2 calls 2020-07-20 11:26:47 +02:00
Sachin Grover
b7adb2aa42 Add SPDX license identifier if not present already in source file
Fixes: #9220
2020-07-17 20:24:12 +05:30
chriseth
d808302c62
Merge pull request #9438 from ethereum/fix_event_type
Set type properly for event definition subexpressions
2020-07-17 12:15:24 +02:00
Leonardo Alt
2e1067a05a Set type properly for event parameters 2020-07-17 11:17:27 +02:00
chriseth
e1a45ee97d
Merge pull request #9431 from ethereum/smt_fix_compound_array_index
[SMTChecker] Fix ICE on compound assignment to array index
2020-07-17 11:05:36 +02:00
chriseth
ba21d26f88
Merge pull request #9344 from ethereum/issue-3412
Allow overrides to have a more strict mutability than super
2020-07-16 18:50:51 +02:00
Mathias Baumann
dfffecfe2c Allow overrides to have a more strict mutability than super 2020-07-16 17:55:12 +02:00
Leonardo Alt
672633af0a [SMTChecker] Fix ICE on compound assignment to array index 2020-07-16 17:44:10 +02:00
Daniel Kirchner
92cd1ddb7d Add markAsInvalid to the various assemblies. 2020-07-16 17:38:13 +02:00
Daniel Kirchner
579e4b5a69 Report all stack errors in the EVM code transform. 2020-07-16 17:38:04 +02:00