Commit Graph
6267 Commits
Author SHA1 Message Date
Yoichi Hirai 0be5859503 codegen: cleanup values to fit in storage bytes 2016-11-25 15:50:46 +01:00
Yoichi Hirai 548b7ce42d codegen: storing of non-value types; add some assertions 2016-11-25 15:45:18 +01:00
Yoichi Hirai fa486f5b44 codegen: shorten the bit truncation 2016-11-25 15:45:18 +01:00
Yoichi Hirai 9d25b5601e codegen: merge type conversion and cleaning up 2016-11-25 15:45:18 +01:00
Yoichi Hirai 3fb9625127 codegen: document _chopSignBits parameter of convertType function 2016-11-25 15:45:17 +01:00
Yoichi Hirai ea628001d5 codegen: add an option to CovertType so that it can truncate sign bits 2016-11-25 15:45:16 +01:00
Yoichi Hirai 56d6641086 codegen: cleanup stored values in a more consistent way 2016-11-25 15:44:36 +01:00
Yoichi Hirai 5b8a773986 codegen: cleanup value types before storing them 2016-11-24 11:31:45 +01:00
Yoichi Hirai feb10d015f test: add a test that stores an invalid enum value 2016-11-24 11:31:45 +01:00
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 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
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
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.
untagged-ac13667a0597c2802196 untagged-eb67220b6c6b5ba404ca
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 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
Alex Beregszaszi 7af360882e Add missing payable constructors 2016-11-17 17:23:35 +00:00
Alex Beregszaszi 819da2f0cd Add changelog entry for payable constructor 2016-11-17 17:23:35 +00:00
Alex Beregszaszi 60e9c901e9 Include payable for the constructor in the ABI 2016-11-17 17:23:35 +00:00
Alex Beregszaszi ceeb8f4a2b Add payable check for constructor in codegen 2016-11-17 17:23:35 +00:00
chriseth b46a14f4a8 Merge pull request #1122 from ethereum/firstClassFunctions
Functions as first-class types.
2016-11-17 17:32:21 +01:00