Commit Graph

12118 Commits

Author SHA1 Message Date
Chris Ward
5ba2fddb54 Move contract related FAQ points
Updates from feedback

Changes from feedback

Further changes from review

Changes from review

Changes from review

Changes from review
2018-08-15 15:40:35 +02:00
chriseth
6c0261e6ab
Merge pull request #4390 from ethereum/abidecode
Add abi.decode
2018-08-15 12:31:26 +02:00
chriseth
c7d2af2637
Merge pull request #4583 from ethereum/nested_array_library_changelog
Bugfix Changelog entry regarding nested arrays returned by library functions
2018-08-15 12:30:54 +02:00
chriseth
b9752b236b
Merge pull request #4797 from bakaoh/issue4718
Fixes #4718: High CPU usage when using large variable names
2018-08-15 10:49:39 +02:00
chriseth
6e139f7d1a Changelog entry. 2018-08-15 10:45:16 +02:00
chriseth
122cd6517c Documentation. 2018-08-15 10:45:16 +02:00
chriseth
9328ea4c3c Add abi.decode(bytes data, (...)) 2018-08-15 10:45:16 +02:00
chriseth
3c5226cefb
Merge pull request #4817 from crypto-jeronimo/fix-typo-in-docs
Fix typo in documentation.
2018-08-15 10:42:38 +02:00
chriseth
2946b7cdc5
Merge pull request #4815 from gftea/develop
multiple inheritance in solidity search from right-to-left, different from python
2018-08-15 10:41:53 +02:00
bakaoh
3fa8829845 Fixes #4718: High CPU usage when using large variable names 2018-08-15 10:23:08 +02:00
Simon Chen
dd960c3d4f clarify multiple inheritance in solidity and its differences against to python 2018-08-15 09:45:18 +02:00
Crypto Jerônimo
628919f416 Fix typo in documentation. 2018-08-15 08:18:57 +01:00
chriseth
f82893450d
Merge pull request #4816 from ethereum/typeConversionDoc
Extend documentation about conversions between integers, bytes and literal types.
2018-08-14 21:53:02 +02:00
Daniel Kirchner
4f3f4a916b Extend documentation about explicit and implicit conversions between (u)intXX, bytesYY and literals. 2018-08-14 21:42:01 +02:00
chriseth
cc54f6c425
Merge pull request #4738 from ethereum/dataloc_merged
Enforce data location.
2018-08-14 21:38:07 +02:00
chriseth
8f27fb1f4a
Merge pull request #4542 from aarlt/constructor_natspec
Fix: natspec annotations on constructors
2018-08-14 19:13:25 +02:00
chriseth
14e116c1d5 Make joinHumanReadable work for input iterators. 2018-08-14 18:53:06 +02:00
chriseth
b30da8859a Update external tests. 2018-08-14 18:53:06 +02:00
chriseth
13905a2094 Update tests. 2018-08-14 18:53:06 +02:00
mingchuan
16de7a0493 New test cases. 2018-08-14 18:53:06 +02:00
Chase McDermott
b000a022f2 Update tests 2018-08-14 18:53:06 +02:00
chriseth
e3b6c5a4bd Update documentation. 2018-08-14 18:07:15 +02:00
Chase McDermott
683bce1869 Refactor data location check. 2018-08-14 18:07:15 +02:00
chriseth
cc2dcf5c31
Merge pull request #4776 from ethereum/const-opt-cost
Calculate the dataGas correctly in the constant optimiser
2018-08-14 17:53:48 +02:00
Alex Beregszaszi
0b6a26f854 Calculate the dataGas correctly in the constant optimiser
This may cause a wrong decision about cost (and as a result choosing the least efficient code),
but will not cause any miscompilation or invalid output.
2018-08-14 17:45:43 +02:00
chriseth
3f42118d19
Merge pull request #4765 from ethereum/fixes-issue-4673
[WIP] Fixes issue where computing storage size for a number would take too long (or even cause a crash).
2018-08-14 17:34:04 +02:00
chriseth
34d3000dcc
Merge pull request #4372 from JesseBusman/implicit-convertibility-functions
Add implicit convertibility to function pointer with higher state mutability
2018-08-14 17:29:16 +02:00
Jesse Busman
c059119145 Add implicit convertibility to function pointer with higher state mutability 2018-08-14 17:13:10 +02:00
chriseth
0e3cbea6f2
Merge pull request #4780 from ethereum/enumData
Clarify data representation of enums.
2018-08-14 17:11:39 +02:00
chriseth
1dc4978883 Clarify data representation of enums. 2018-08-14 17:06:21 +02:00
chriseth
315eec83bd
Merge pull request #4787 from ethereum/updateLinks
Update links
2018-08-14 16:55:11 +02:00
chriseth
62d6ec9b04
Merge pull request #4792 from ethereum/someABIDocFixes
Some style fixes to the ABI documentation.
2018-08-14 16:44:13 +02:00
chriseth
414559bd07
Merge pull request #4788 from ethereum/noWarnDoc
Test that documentation does not contain any warnings.
2018-08-14 16:33:39 +02:00
chriseth
ec7ccbdf86
Merge pull request #4782 from ethereum/encodePackedArrayOfStructs
Encode packed array of structs
2018-08-14 16:32:57 +02:00
chriseth
029e217ed2
Merge pull request #4796 from ethereum/structs-in-interfaces
[BREAKING] Adds support for structs in interfaces.
2018-08-14 16:30:22 +02:00
Leonardo Alt
55e67e41f9 Update bug list and add regular expression to bug list and add test. 2018-08-14 15:57:38 +02:00
Leonardo Alt
e1bb684897 Bugfix entry regarding nested arrays returned by library functions 2018-08-14 15:57:38 +02:00
chriseth
8a06000a30 Update documentation. 2018-08-14 15:50:46 +02:00
chriseth
6a5a187d83 Also extract tests that do not start with a pragma. 2018-08-14 15:50:46 +02:00
chriseth
6cf299bec6 Update documentation examples. 2018-08-14 15:50:46 +02:00
chriseth
f873389c62 Test that documentation does not contain any warnings. 2018-08-14 15:50:46 +02:00
Christian Parpart
43bda53410
Fixes issue where computing storage size for a number would take too long.
Fixes #4673.
2018-08-14 15:38:10 +02:00
Christian Parpart
81faafe7f2
Adds support for structs in interfaces.
Closes #4733.
2018-08-14 15:36:03 +02:00
chriseth
8f0c2a46db
Merge pull request #4813 from ethereum/replace_safety_stop
Replace safety stop by invalid
2018-08-14 13:00:26 +02:00
Leonardo Alt
17cac588d0 Replace safety stop by invalid 2018-08-14 12:32:47 +02:00
chriseth
d01ffd1ad9
Merge pull request #4799 from ethereum/semanticsTestsGasEtAl
Semantics tests for ``gasleft()``, ``blockhash()`` ``tx.gasprice`` and ``block.gaslimit``
2018-08-14 12:14:53 +02:00
Daniel Kirchner
b325a70d59 Fix tests for constantinople (expect zero for the time being). 2018-08-14 11:42:34 +02:00
Daniel Kirchner
06b7edfdcf Add missing tests for `gasleft(), blockhash() tx.gasprice and block.gaslimit`. 2018-08-14 11:42:34 +02:00
chriseth
6ca3973944
Merge pull request #4777 from ethereum/typeConversionMemory
Defaul data location for type conversions is memory.
2018-08-14 11:36:19 +02:00
chriseth
3dd31b704a
Merge pull request #4798 from ethereum/mappingArgumentsAndReturns
Mapping arguments and returns
2018-08-13 17:27:29 +02:00