Commit Graph

11284 Commits

Author SHA1 Message Date
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
chriseth
ae8218543b
Merge pull request #4696 from ethereum/byteLiteralConversion
Disallow ambiguous implicit and explicit conversions from number literals to bytesXX
2018-08-13 17:25:30 +02:00
Daniel Kirchner
dfcfc4c35b Add tests for mappings in function types. 2018-08-13 16:33:37 +02:00
Daniel Kirchner
341128962f Allow mappings of arrays as arguments and return values of internal functions. 2018-08-13 16:33:37 +02:00
Daniel Kirchner
4ae59acc09 Consider mappings return values in control flow analysis. 2018-08-13 16:33:37 +02:00
chriseth
463f4b0f35
Merge pull request #4618 from ethereum/docs-1211-contract-type
Add contract type to types documentation
2018-08-13 16:07:29 +02:00
Daniel Kirchner
a9f31da411 Allow mapping arguments and return values in all internal functions. 2018-08-13 15:50:22 +02:00
chriseth
2378948228
Merge pull request #4794 from ethereum/tableWrap
Fix table css.
2018-08-13 15:15:31 +02:00
chriseth
bd567a22c9 Defaul data location for type conversions is memory. 2018-08-13 14:38:12 +02:00
Daniel Kirchner
57ada1d69e Allow mapping arguments and return values in internal library functions. 2018-08-13 14:31:10 +02:00
Daniel Kirchner
7d7abeb149 Disallow ambiguous conversions between number literals and bytesXX types. 2018-08-13 14:27:01 +02:00
chriseth
a2c754b3fe
Merge pull request #4793 from ethereum/emptyRemappings
Disallow remappings with empty prefix.
2018-08-13 13:37:04 +02:00
Chris Ward
631794b72e Update from feedback 2018-08-13 12:34:05 +02:00
Daniel Kirchner
a7885e0b0a Update documentation. 2018-08-10 19:26:48 +02:00
Daniel Kirchner
954d7433bd Disallow remappings with empty prefix. 2018-08-10 19:26:48 +02:00
chriseth
4fc15a5beb Fix table css. 2018-08-09 22:42:29 +02:00
chriseth
499ec8b024 Changelog entry. 2018-08-09 21:16:51 +02:00
chriseth
a38352569b Tests. 2018-08-09 21:16:51 +02:00
chriseth
0b65b2dff6 Disallow packed encoding of arrays of structs. 2018-08-09 21:16:51 +02:00
chriseth
43db88b836
Merge pull request #4791 from ethereum/useCodeBlock
Use code-block when using a different language.
2018-08-09 20:22:09 +02:00
chriseth
8509769927 Some style fixes to the ABI documentation. 2018-08-09 20:21:19 +02:00
chriseth
0197d05cf2 Use code-block when using a different language. 2018-08-09 20:04:47 +02:00
chriseth
6954f83a0c
Merge pull request #4790 from ethereum/fixCalldata
Fix data location of external reference parameters.
2018-08-09 19:40:15 +02:00
Daniel Kirchner
b6e352f694
Merge pull request #4767 from ethereum/cvc4Build
Add workarounds for building against CVC4 on ArchLinux.
2018-08-09 15:45:52 +02:00
chriseth
5535fc0526
Merge pull request #4786 from gftea/develop
add "ref for text "fallback function" in Types.rst
2018-08-09 15:40:51 +02:00
gftea
c45de14ba8 add link for text "fallback function" 2018-08-09 15:12:20 +02:00
chriseth
c9ca083d14 Fix data location of external reference parameters. 2018-08-09 15:04:00 +02:00
chriseth
1dc4301682 Re-group links. 2018-08-09 14:31:30 +02:00
chriseth
8b066b28fa Update links and deprecated unmaintained tools. 2018-08-09 14:29:31 +02:00
chriseth
1f21136737
Merge pull request #4785 from f-daniel/patch-1
Extension of tools list in documentation
2018-08-09 14:17:02 +02:00
f-daniel
7b9c9c40a0
Extension of tools list
Adding some recent and reliable tools to work with smart contracts and analyze their security.
2018-08-09 13:47:05 +02:00
chriseth
63d071d6e0
Merge pull request #4783 from elopio/test/function-call-syntactical-equality
tests: add yul simplifier not applied with function calls
2018-08-09 12:08:55 +02:00
chriseth
fc99014fa2
Merge pull request #4784 from ethereum/fixes-msvc-compilation
Fixes compilation under MSVC introduced in PR #4772.
2018-08-09 11:58:43 +02:00
Christian Parpart
79ba5b61b3 Fixes compilation under MSVC. 2018-08-09 10:14:47 +02:00