Commit Graph

6877 Commits

Author SHA1 Message Date
Yoichi Hirai
d4173cd54a
test: add a test about trying to log an event with too big enum values 2016-11-24 11:31:45 +01:00
Yoichi Hirai
d49904c92a
test: add a test that compares overflown enums 2016-11-24 11:31:45 +01:00
chriseth
e461904854 Merge pull request #1413 from ethereum/calldata-layout
docs: add a section about calldata layout
2016-11-24 11:05:50 +01:00
chriseth
851f85769e Merge pull request #1430 from ethereum/runopt
Enable the optimizer for test runs.
2016-11-24 10:59:25 +01:00
Yoichi Hirai
2faaddca05
interface: fix the substring search 2016-11-23 17:38:41 +01:00
Yoichi Hirai
cace51fc47
test: wrapping the error message checking in a macro 2016-11-23 17:38:41 +01:00
Yoichi Hirai
ab3db782ae
test: check the error texts
by changing parseAnalyseAndReturnError to return the whole Error, not just the type
2016-11-23 17:38:41 +01:00
chriseth
c9293f2f23 Enable the optimizer for test runs. 2016-11-23 16:48:13 +01:00
Yoichi Hirai
c33b098e55
docs: add a description about the types of parameters of overriding functions 2016-11-23 16:40:57 +01:00
chriseth
a7c2509adf Merge pull request #1393 from VoR0220/giveBytesOstream
add ostream to bytes for ease of development
2016-11-23 14:57:02 +01:00
chriseth
b1d2d07e60 Merge pull request #1407 from escull638/patch-1
Fixed spelling mistake in Logs
2016-11-23 14:55:04 +01:00
chriseth
ec2e882376 Merge pull request #1408 from ethereum/keytype
docs: some types cannot be the key type for mappings
2016-11-23 14:54:46 +01:00
Yoichi Hirai
452dbef3dc
docs: add a section about calldata layout
Part of #1390
2016-11-23 13:55:37 +01:00
chriseth
0c874bbf27 Merge pull request #1425 from ethereum/fixLicensing
Fix licensing headers
2016-11-23 12:45:57 +01:00
VoR0220
3f9f725737 Fix licensing headers
Signed-off-by: VoR0220 <rj@erisindustries.com>
2016-11-23 12:22:33 +01:00
chriseth
f3662ca498 Merge pull request #1421 from ethereum/test_memory_struct_from_library
test: add a test case about returning a struct in memory from a library
2016-11-23 12:17:23 +01:00
chriseth
d25fb2f243 Merge pull request #1422 from innovator256/patch-1
Update types.rst
2016-11-23 12:16:43 +01:00
chriseth
17f1107770 Merge pull request #1424 from ethernomad/patch-2
Mention when the bug was introduced.
2016-11-23 12:16:05 +01:00
Yoichi Hirai
475009b93d Merge pull request #1411 from ethereum/function-type-docs
Fix function type examples
2016-11-23 11:34:40 +01:00
Jonathan Brown
aa4340ca89 Mention when the bug was introduced. 2016-11-23 17:00:06 +07:00
Ola
622952d4b9 Update types.rst
line 349 "returns" not return
2016-11-22 18:21:13 -05:00
Yoichi Hirai
75686e3d75
test: add a test case about returning a struct in memory from a library
This fixes #1378
2016-11-22 17:09:22 +01:00
chriseth
1a205ebf78 Merge pull request #1420 from ethereum/version
Set version to 0.4.7
2016-11-22 15:45:22 +01:00
chriseth
a65473b371 Set version to 0.4.7 2016-11-22 15:44:48 +01:00
Yoichi Hirai
3d9a180cc3 Merge pull request #1417 from ethereum/fixOptimizer
Optimizer: Clear state for JUMPDESTs.
2016-11-22 15:15:17 +01:00
chriseth
7fb7d5ae39 Optimizer: Clear state for JUMPDESTs. 2016-11-22 14:58:24 +01:00
ethers
217f33c252 Clearer language as suggested by @axic 2016-11-22 00:47:58 -08:00
VoR0220
9869f1a78b
convert individual numbers to hex
Signed-off-by: VoR0220 <rj@erisindustries.com>
2016-11-21 13:53:53 -06:00
chriseth
73eb0235b4 Fix examples and add explanation. 2016-11-21 17:12:33 +01:00
Alex Beregszaszi
81eea45c2d Fix oracle callback example 2016-11-21 13:16:35 +00:00
Alex Beregszaszi
42a84946d2 Fix function type examples 2016-11-21 13:11:43 +00:00
Yoichi Hirai
b24f4a4d00
docs: some types cannot be the key type for mappings 2016-11-21 12:47:40 +01:00
escull638
74ab62de14 Fixed spelling mistake in Logs
Changed 'maps all they way up to the block level' to 'maps all the way up to the block level'.
2016-11-21 11:26:58 +00:00
chriseth
aa48008cc7 Merge pull request #1405 from ethereum/version
Update version.
2016-11-21 11:58:01 +01:00
chriseth
3f48c655e5 Update version. 2016-11-21 11:54:41 +01:00
chriseth
5ebd31ce2d Merge pull request #1404 from ethereum/changelog
Update changelog.
2016-11-21 11:30:57 +01:00
chriseth
5bb050a739 Update changelog. 2016-11-21 11:18:04 +01:00
chriseth
78e8521be7 Merge pull request #1398 from ethereum/VoR0220-patch-1
Typo
2016-11-21 11:12:53 +01:00
chriseth
afda210afd Merge pull request #1382 from ethereum/payable-constructor
Payable constructor
2016-11-21 11:06:56 +01:00
RJ
cc07a918e3 Typo 2016-11-18 12:34:43 -06:00
VoR0220
9dda8f7d84
add ostream to bytes for ease of development
Signed-off-by: VoR0220 <rj@erisindustries.com>

fix up

Signed-off-by: VoR0220 <rj@erisindustries.com>
2016-11-17 21:35:54 -06:00
Alex Beregszaszi
92f1c9d492 Properly define the pragma directive in the grammar 2016-11-18 03:15:24 +00:00
ethers
feebe3e755 Fallback functions don't always have to be payable 2016-11-17 18:14:26 -08:00
ethers
1d9aee97c2 styleguide: Don't include a whitespace in the fallback function 2016-11-17 18:13:33 -08:00
ethers
549bca1494 Don't include a whitespace in fallback function 2016-11-17 18:09:22 -08:00
ethers
39559c1bb6 styleguide: Ordering of functions
Ordering would help readers identify which functions they can call, and to find the "specials" (constructor and fallback function).  Mixing the "specials" in the middle of the code, as well as internal functions between external and public functions, don't help readers

Based on https://github.com/ConsenSys/MultiSigWallet/issues/19
2016-11-17 18:06:28 -08:00
Alex Beregszaszi
910269a29f Add appendCallValueCheck 2016-11-17 17:23:35 +00:00
Alex Beregszaszi
a35ca910c7 Rename test contract names to capitalised 2016-11-17 17:23:35 +00:00
Alex Beregszaszi
d97eb7cc75 Add payable keyword to the multisig wallet 2016-11-17 17:23:35 +00:00
Alex Beregszaszi
1d6fe5c4e4 Add payable to constructor ABI tests 2016-11-17 17:23:35 +00:00