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
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