Commit Graph

11699 Commits

Author SHA1 Message Date
Alex Beregszaszi
8d8c855810 Add extcodehash to the assembly documentation 2018-09-26 16:12:54 +01:00
Alex Beregszaszi
f2fa513320 Add LLL tests for EXTCODEHASH 2018-09-26 16:11:02 +01:00
Alex Beregszaszi
6a1e79a8e3 Set the price of EXTCODEHASH properly 2018-09-26 16:11:02 +01:00
Alex Beregszaszi
5d985abcab Add test for extcodehash 2018-09-26 16:11:02 +01:00
Jared Wasinger
c6bd2979b1 Add assembly support for EXTCODEHASH (EIP-1052) 2018-09-26 16:11:02 +01:00
chriseth
a86e1d187b
Merge pull request #4995 from ethereum/docs-2180-improve-introduction
Docs: Add content from old Solidity wiki
2018-09-26 16:36:19 +02:00
Alex Beregszaszi
410d94c498
Merge pull request #5089 from ethereum/gasmeter
Small pathgasmeter cleanups
2018-09-26 15:16:38 +01:00
chriseth
2c860b7d74
Merge pull request #5094 from ethereum/evmasm-grouping
Group LLL only assembly features in libevmasm
2018-09-26 15:51:20 +02:00
Chris Ward
d51b55c847 Add content from old Solidity wiki 2018-09-26 15:37:34 +02:00
Alex Beregszaszi
0f59284a3d
Merge pull request #5079 from ethereum/usingUpdate
[DOCS] Update "using the compiler".
2018-09-26 14:32:28 +01:00
chriseth
29c3526a35 [DOCS] Update "using the compiler". 2018-09-26 15:29:22 +02:00
Alex Beregszaszi
d7c3f197c4 Some cleanups in GasMeter 2018-09-26 14:25:40 +01:00
Alex Beregszaszi
d64be90497 Add PathGasMeter.estimateMax helper 2018-09-26 14:25:40 +01:00
Alex Beregszaszi
9be058eb70 Add explanation to GasMeter::dataGas 2018-09-26 14:25:40 +01:00
chriseth
13cd7c3fed
Merge pull request #5061 from ethereum/fixedSizeArrayLength
Disallow fixed-size arrays with zero length
2018-09-26 14:55:07 +02:00
chriseth
46f630c5a6
Merge pull request #5092 from ethereum/create2-evmversion
CREATE2 is part of Constantinople now
2018-09-26 14:53:44 +02:00
chriseth
83d89e43b1
Merge pull request #5093 from liangdzou/code_refactoring
code refactoring
2018-09-26 14:52:31 +02:00
Alex Beregszaszi
d72498b3d2
Merge pull request #5091 from ethereum/readme-helloworld
Fix the HelloWorld example in the readme
2018-09-26 13:13:42 +01:00
Alex Beregszaszi
7d4acae212
Merge pull request #5095 from ethereum/type-assertions
Use better assertion messages for RationalNumberType::literalValue
2018-09-26 13:13:22 +01:00
Alex Beregszaszi
00b1b96eb4 Use better assertion messages for RationalNumberType::literalValue 2018-09-26 13:05:58 +01:00
Alex Beregszaszi
7ac03a3f26
Merge pull request #5090 from ethereum/libevmasm-log
Add helpers for the LOG instruction in libevmasm
2018-09-26 12:58:38 +01:00
Erik Kundt
79307059e5 Updates breaking changes documentation. 2018-09-26 13:47:59 +02:00
Alex Beregszaszi
913ddf158f Group LLL only assembly features in libevmasm 2018-09-26 12:46:03 +01:00
Erik Kundt
466e8f56e6 Removes unnecessary check of array type. 2018-09-26 12:46:08 +02:00
Alex Beregszaszi
535026b492 Group append() functions in libevmasm 2018-09-26 11:14:40 +01:00
liangdzou
12565fdf79 code refactoring 2018-09-26 17:52:09 +08:00
Alex Beregszaszi
8cfc6c98d6 CREATE2 is part of Constantinople now
Also add hasCreate2 to EVMVersion
2018-09-26 01:58:10 +01:00
Alex Beregszaszi
f588b1dbb2 Fix the HelloWorld example in the readme 2018-09-25 21:13:44 +01:00
Alex Beregszaszi
21beba76e2 Add helpers for the LOG instruction 2018-09-25 20:39:35 +01:00
Alex Beregszaszi
608f36d77b
Merge pull request #5082 from ethereum/abiUpdate
[DOCS] Update abi.
2018-09-25 20:31:17 +01:00
Alex Beregszaszi
15dbb9cc4e
Merge pull request #5083 from ethereum/updatePatterns
[DOCS] Update common patterns.
2018-09-25 20:26:35 +01:00
Alex Beregszaszi
2231df834d
Merge pull request #5088 from ethereum/morePragmas
[DOCS] Some more explanation about pragmas.
2018-09-25 20:09:32 +01:00
Alex Beregszaszi
56eb9dd47f
Merge pull request #4193 from ethereum/050-version
Set version to 0.5.0-develop
2018-09-25 20:04:13 +01:00
chriseth
fc6eee0280
Merge pull request #5086 from nventuro/patch-1
Removed extra whitespace.
2018-09-25 20:55:59 +02:00
Alex Beregszaszi
e3e9ce53d7 Set 0.5.x specific example code to be compilable with >0.4.99 <0.6.0 (e.g. 0.5.x only) 2018-09-25 19:04:34 +01:00
chriseth
3cec3f13e5 [DOCS] Some more explanation about pragmas. 2018-09-25 20:04:10 +02:00
Alex Beregszaszi
3ca00c73f9 Update version pragma in all documentation examples 2018-09-25 19:03:25 +01:00
Alex Beregszaszi
c9f468b717 Better regex for finding version pragmas and replace it with >=0.0
There is a bug which stops ^0 from working.
2018-09-25 19:03:24 +01:00
Alex Beregszaszi
321ab08102 Automatically replace version pragmas in compilation tests 2018-09-25 19:03:24 +01:00
Alex Beregszaszi
d05fdb51b0 Require 0.5.0 in contract tests 2018-09-25 19:03:24 +01:00
Alex Beregszaszi
e9b2c650ce Turn on patch to replace version pragmas for Zeppelin
An also replace every single one of them with ^0
2018-09-25 19:03:24 +01:00
Alex Beregszaszi
b92be02bf0 Set version to 0.5.0-develop 2018-09-25 19:03:24 +01:00
chriseth
b08d49338e
Merge pull request #5022 from ethereum/lastValue
[DOCS] Last part of value types.
2018-09-25 19:45:40 +02:00
Nicolás Venturo
f8d43a4da5
Removed extra whitespace. 2018-09-25 14:40:39 -03:00
chriseth
86e4276e24 [DOCS] Update common patterns. 2018-09-25 19:08:16 +02:00
chriseth
e470408cf4 [DOCS] Update abi. 2018-09-25 19:01:02 +02:00
chriseth
ba62831143 Tests for inlining inside condition. 2018-09-25 17:16:22 +02:00
chriseth
1b8334e58b
Merge pull request #5034 from liangdzou/fix_test_format_issue
fix format issue for test files to enable the format checker in PR #5027
2018-09-25 10:14:44 +02:00
chriseth
3eb5ecdf58
Merge pull request #4925 from wbt/patch-2
Clarify docs around reserved memory byte ranges
2018-09-24 16:27:21 +02:00
wbt
bc363a7e3a Clarify docs around reserved memory byte ranges
Minor documentation issue to improve reading flow as it goes from talking about a specified number of 32-byte slots being reserved to giving numbers which refer to byte ranges within the space of memory resulting from the union of those slots.
2018-09-24 16:26:35 +02:00