Commit Graph

8334 Commits

Author SHA1 Message Date
chriseth
38446a9669 ABI encoder tests. 2017-08-14 13:11:38 +01:00
chriseth
4630b3315a Interface for new ABI encoder. 2017-08-14 12:44:25 +02:00
chriseth
42fe8a2cb1 New ABI encoder. 2017-08-14 12:44:25 +02:00
chriseth
bda410bb07 Helpers. 2017-08-14 12:44:25 +02:00
chriseth
77b26552b1 Allow multi-dimensional arrays in interfaces. 2017-08-14 12:44:25 +02:00
chriseth
4d9790b6d5 Merge pull request #2703 from ethereum/warnAboutLargeStorageArrays
Warn about large storage structures.
2017-08-14 11:37:01 +02:00
Stu West
fdeb94a105 docs typo: remove duplicate period and unnecessary spaces in intro 2017-08-12 15:43:41 -07:00
Alex Beregszaszi
52ccc26494 Merge pull request #2581 from federicobond/improve-override-error
Improve override function error messages
2017-08-11 23:06:00 +01:00
Federico Bond
3571db6e3f Avoid duplicate errors due to function overrides 2017-08-11 22:45:26 +01:00
Federico Bond
d4997dd9a3 Use a secondary location for function override errors 2017-08-11 22:45:25 +01:00
Federico Bond
a6949851f3 Refactor function override check to remove duplicate logic 2017-08-11 22:45:25 +01:00
Federico Bond
f0dc572055 Improve and add missing tests 2017-08-11 22:45:25 +01:00
Federico Bond
ff5bb54e3c Use fully qualified name of super in message 2017-08-11 22:45:25 +01:00
Federico Bond
a5ceaac8df Improve override changes signature error message 2017-08-11 22:45:25 +01:00
chriseth
da3ac86403 Warn about large storage structures. 2017-08-11 20:57:57 +02:00
Alex Beregszaszi
d968912a4c Merge pull request #2714 from federicobond/enforce-tuple-commas
Enforce commas in tuple/array syntax
2017-08-11 18:50:35 +01:00
Federico Bond
a8c047f48d Enforce commas in tuple syntax 2017-08-11 17:28:48 +01:00
chriseth
5b26e2bcee Merge pull request #2486 from jamesray1/patch-22
Ref to getter function in docs/miscellaneous.rst
2017-08-11 18:26:46 +02:00
chriseth
a0f9e8e778 Merge pull request #2485 from jamesray1/patch-21
Update frequently-asked-questions.rst with a ref to getter functions
2017-08-11 18:26:14 +02:00
chriseth
0fab0ed427 Merge pull request #2487 from jamesray1/patch-23
Ref to getter function in docs/introduction-to-smart-contracts.rst
2017-08-11 18:25:23 +02:00
chriseth
20540bc6af Merge pull request #2730 from ethereum/indented-writer
Introduce IndentedWriter
2017-08-11 18:24:01 +02:00
Alex Beregszaszi
e3d1137d2b Merge pull request #2712 from ethereum/experimental-metadata
Store experimental flag in metadata CBOR
2017-08-11 17:21:08 +01:00
Alex Beregszaszi
92b535f2ac Merge pull request #2624 from izgzhen/amend-test-msg
Amend NameAndTypeResolution expected messages
2017-08-11 17:13:55 +01:00
Alex Beregszaszi
ecec557d2b Merge pull request #2634 from ethereum/chriseth-patch-1
Clarify internal function types
2017-08-11 16:59:22 +01:00
Zhen Zhang
b5aeae0084 Amend expected test messages for SolidityNameAndTypeResolution 2017-08-11 16:45:52 +01:00
Alex Beregszaszi
2d1bab0de8 Output experimental flag in metadata only for risky features 2017-08-11 16:38:43 +01:00
Alex Beregszaszi
4d82d4f57a Store experimental flag in metadata CBOR 2017-08-11 16:38:43 +01:00
Alex Beregszaszi
53a497b4d8 Add analysis-only experimental features 2017-08-11 16:38:37 +01:00
Alex Beregszaszi
644c91fc2d Add __test experimental mode for testing 2017-08-11 16:38:02 +01:00
chriseth
a7a9ed4718 Merge pull request #2727 from ethereum/simplify-types
Simplify if/else statements in Types
2017-08-11 11:46:16 +02:00
chriseth
bd639b9c6b Merge pull request #2653 from ethereum/docs-asm
Add pure assembly example for summing
2017-08-11 11:02:09 +02:00
chriseth
c84de7fa63 Merge pull request #2724 from ethereum/function-type-payable
Check for payable when comparing function types
2017-08-11 10:56:13 +02:00
Alex Beregszaszi
d5188fb671 Introduce IndentedWriter 2017-08-10 22:47:09 +01:00
Alex Beregszaszi
3dcf089c3f Simplify if/else statements in Types 2017-08-10 19:14:33 +01:00
Alex Beregszaszi
9358001ba4 Use temporary variable for sum example 2017-08-10 17:47:35 +01:00
Alex Beregszaszi
34503d98d7 Move init/cond into the for loop 2017-08-10 17:30:57 +01:00
Alex Beregszaszi
a323486a9b Add pure assembly example for summing 2017-08-10 17:30:57 +01:00
gubatron
ad7a63f890 FunctionType operator== boolean refactor 2017-08-10 17:04:40 +01:00
Alex Beregszaszi
1b32cdcf21 Check for payable when comparing function types 2017-08-10 17:03:45 +01:00
Alex Beregszaszi
abe6eb9830 Merge pull request #2700 from ethereum/abiTests
Some more ABI tests.
2017-08-10 16:59:09 +01:00
chriseth
95acbc7a9f Some more ABI tests. 2017-08-10 15:49:02 +02:00
chriseth
41e3cbe084 Merge pull request #2690 from ethereum/experimental-pragma
Support experimental feature pragma
2017-08-10 15:23:34 +02:00
Alex Beregszaszi
470950e75e Add tests for experimental pragma 2017-08-10 00:15:25 +01:00
Alex Beregszaszi
57c2451130 Introduce ExperimentalFeatures header 2017-08-10 00:15:25 +01:00
Alex Beregszaszi
0a5553b7b1 Merge pull request #2701 from ethereum/determineDynamicEncoding
Add isDynamicallyEncoded member function to types.
2017-08-09 23:49:06 +01:00
Alex Beregszaszi
690ed37fd4 Reject wildcard and multiple experimental pragmas 2017-08-09 23:41:46 +01:00
Alex Beregszaszi
de9e758ef7 Reject unsupported experimental feature names 2017-08-09 23:41:46 +01:00
Alex Beregszaszi
e44da40835 Warn if using experimental pragma 2017-08-09 23:41:46 +01:00
Alex Beregszaszi
fbcc5f4ee5 Support experimental feature pragma 2017-08-09 23:41:46 +01:00
chriseth
b38f31617e Add isDynamicallyEncoded member function to types. 2017-08-09 23:18:42 +01:00