Commit Graph

11021 Commits

Author SHA1 Message Date
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
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
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
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
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
Leo Arias
1395bef7ae tests: add yul simplifier not applied with function calls 2018-08-09 03:46:22 +00:00
chriseth
711e2b7cff
Merge pull request #4781 from ethereum/stdNext
Explicitly use std::next to avoid boost version.
2018-08-09 01:30:40 +02:00
chriseth
7d9692c31d Explicitly use std::next to avoid boost version. 2018-08-09 01:12:55 +02:00
chriseth
b4e33ec25c
Merge pull request #4778 from ethereum/dynamicArraysDocs
Change note about returning dynamic arrays.
2018-08-09 01:09:10 +02:00
chriseth
cfc745de05 Change note about returning dynamic arrays. 2018-08-09 00:55:50 +02:00
chriseth
5cd5a9652c
Merge pull request #4775 from ethereum/sha3-to-keccak256
Rename FunctionKind SHA3 to KECCAK256 (as the instruction was renamed in libevmasm)
2018-08-09 00:29:40 +02:00
chriseth
cbd64e0e11
Merge pull request #4773 from ethereum/chriseth-patch-1
Clarify packed encoding.
2018-08-09 00:29:06 +02:00
Alex Beregszaszi
ed52f422b7 Rename FunctionKind SHA3 to KECCAK256 (as the instruction was renamed in libevmasm) 2018-08-08 22:37:40 +01:00
Alex Beregszaszi
478012a000
Merge pull request #4772 from ethereum/asm-json
Add tests for the assembler object (and avoid misusing string{} for u256)
2018-08-08 21:59:07 +01:00
Alex Beregszaszi
d3c3fd2079 Use dev::toString() in Assembly instead of misusing string{} for u256 2018-08-08 20:52:19 +01:00
Alex Beregszaszi
0eeb06b6ea Test for legacyAssembly in StandardCompiler 2018-08-08 20:52:18 +01:00
Alex Beregszaszi
a16461249f Add tests for the assembler object 2018-08-08 20:52:18 +01:00