Commit Graph
100 Commits
Author SHA1 Message Date
chriseth ceac5c5a0c Move explanatory sections and other small changes. 2017-01-09 15:15:30 +01:00
chriseth 1cecaab9b6 Replace `` by $(). 2017-01-09 12:14:01 +01:00
chriseth e45510d02f Create source tarballs for releases. 2017-01-04 13:21:41 +01:00
chriseth e92af89ec8 Typos and clarifications. 2017-01-04 12:58:35 +01:00
chriseth 4bc934abce More information about switch, loops and functions. 2017-01-04 12:34:44 +01:00
chriseth 9683cfea6d Update to new assembly specification. 2017-01-03 15:19:14 +01:00
chriseth 49ac2a1ee5 Rename programSize to bytecodeSize. 2017-01-03 14:13:49 +01:00
chriseth a285ca44f2 Assembly output for Assembly object. 2017-01-03 14:13:49 +01:00
chriseth 0bd8c204f0 Assembly definition. 2017-01-03 14:13:49 +01:00
chriseth 941b5fd928 Require stable nodejs for deployment. 2017-01-03 13:58:54 +01:00
chriseth 7ce7d3e74c Update develop version. 2016-12-15 14:03:31 +01:00
chriseth 11b9abfff3 Update changelog for release. 2016-12-15 12:15:09 +01:00
chriseth 08a11e309f Fix tests. 2016-12-13 17:02:28 +01:00
chriseth e9d3327ad6 Use correct type for storing. 2016-12-13 16:50:50 +01:00
chriseth f7e219ed91 Update documentation. 2016-12-13 16:43:16 +01:00
chriseth 56a027bedc Use multiple URLs for metadata. 2016-12-13 16:37:48 +01:00
chriseth 0e0d5d47c0 Renamed padToWordBoundaries -> padToWords 2016-12-12 23:43:21 +01:00
chriseth cc11739928 Documentation. 2016-12-12 11:12:12 +01:00
chriseth 2fac1d23a7 Tests for bytes. 2016-12-12 11:12:12 +01:00
chriseth 7bc2ecf30a Correct test expectations. 2016-12-12 11:12:12 +01:00
chriseth ffccbd432a Display tx hash for debugging. 2016-12-12 11:12:12 +01:00
chriseth 2738045030 Cleaner shift handling and type conversion for binary operations. 2016-12-12 11:12:12 +01:00
chriseth 2df60bec92 Type after shift should be type of left operand. 2016-12-12 11:12:12 +01:00
chriseth 81d7e0233a Changelog entry. 2016-12-11 17:58:22 +01:00
chriseth bfa4f45116 Split memcopy into three functions. 2016-12-11 17:57:15 +01:00
chriseth 4184525d4a Fix inline assembly. 2016-12-11 17:57:15 +01:00
chriseth 6a40318138 Display tx hash for debugging. 2016-12-09 20:29:02 +01:00
chriseth d1c71b7826 Also provide value and format slightly differently. 2016-12-06 23:52:39 +01:00
chriseth 86953ca3e4 Option to show messages in tests. 2016-12-06 22:31:20 +01:00
chriseth 5098e1eb15 Count instructions without metadata hash. 2016-12-01 16:04:47 +01:00
chriseth f1907bbb12 Add the _runs parameter. 2016-12-01 16:04:00 +01:00
chriseth f91ae3f06b Fix tests 2016-12-01 16:03:59 +01:00
chriseth 6a7ff039df Use CBOR encoding. 2016-12-01 16:03:59 +01:00
chriseth e0d4a3d518 Fix emscripten build. 2016-12-01 16:03:59 +01:00
chriseth 1316c0c872 Fix documentation error. 2016-12-01 16:03:59 +01:00
chriseth 1e35526eb6 Fix tests. 2016-12-01 16:03:59 +01:00
chriseth aa1fd6a879 Add test. 2016-12-01 16:03:59 +01:00
chriseth 91ecc4533d Add swarm hash to the end of the bytecode. 2016-12-01 16:03:59 +01:00
chriseth 36c6fe2b69 Changelog entry. 2016-12-01 16:03:59 +01:00
chriseth 9b46752cc2 Documentation. 2016-12-01 16:03:59 +01:00
chriseth 659b635b2d Make sure some keys are present. 2016-12-01 16:03:59 +01:00
chriseth e666f8cda7 Incorporate comments. 2016-12-01 16:03:59 +01:00
chriseth 5789eaa78d Metadata stamp. 2016-12-01 16:03:59 +01:00
chriseth f521624952 Integrate AddPop. 2016-11-25 16:10:57 +01:00
chriseth 8a78b19516 Changelog. 2016-11-25 16:10:24 +01:00
chriseth 612c1726d9 Templatize. 2016-11-25 16:10:02 +01:00
chriseth f2872bfa99 Peephole optimizer for unreacheable code. 2016-11-25 16:10:02 +01:00
chriseth 6b95303998 Docker documentation. 2016-11-24 23:46:52 +01:00
chriseth 5c662022a7 Alpine base docker file. 2016-11-24 21:48:16 +01:00
chriseth c9293f2f23 Enable the optimizer for test runs. 2016-11-23 16:48:13 +01:00
chriseth a65473b371 Set version to 0.4.7 2016-11-22 15:44:48 +01:00
chriseth 7fb7d5ae39 Optimizer: Clear state for JUMPDESTs. 2016-11-22 14:58:24 +01:00
chriseth 73eb0235b4 Fix examples and add explanation. 2016-11-21 17:12:33 +01:00
chriseth 3f48c655e5 Update version. 2016-11-21 11:54:41 +01:00
chriseth 5bb050a739 Update changelog. 2016-11-21 11:18:04 +01:00
chriseth 2c14a96820 Some more assertions and style changes. 2016-11-16 15:09:01 +01:00
chriseth eeae91c2a2 Update documentation. 2016-11-16 14:37:19 +01:00
chriseth b3eeb5fcf9 Some more tests. 2016-11-16 14:37:19 +01:00
chriseth e1fec9b287 JSON tests. 2016-11-16 14:37:19 +01:00
chriseth 830f14c3a3 Fix documentation formatting. 2016-11-16 14:37:19 +01:00
chriseth ec31d08775 Change encoding to address-funid and add "function" as ABI type. 2016-11-16 14:37:19 +01:00
chriseth a8e7ed37a1 Disable broken tests that are not useful. 2016-11-16 14:37:19 +01:00
chriseth cb000a5532 Fix setting the tag. 2016-11-16 14:37:19 +01:00
chriseth 390ba085b6 fixup! Simple peephole optimizer that is activated even if not requested. 2016-11-16 14:37:19 +01:00
chriseth 739dabff8b Fix tests. 2016-11-16 14:37:19 +01:00
chriseth 7a292c9a05 Fix parser for function type disambiguity. 2016-11-16 14:37:19 +01:00
chriseth 0335ed4cb4 Simple peephole optimizer that is activated even if not requested. 2016-11-16 14:37:19 +01:00
chriseth 22b4d1b29a Check that no internals are used in any external function type. 2016-11-16 14:37:18 +01:00
chriseth e51f852504 Converted sub assembly to smart pointer. 2016-11-16 14:37:18 +01:00
chriseth e543bd34c0 Stored combined creation and runtime tags.
Includes a change to Assembly to allow tags from sub-assemblies to be
used.

Sorry, this get a bit bigger than I thought.
2016-11-16 14:37:18 +01:00
chriseth ee3efa67a8 Fix tests. 2016-11-16 14:37:18 +01:00
chriseth 746266b8fc ABI: Use external function. 2016-11-16 14:37:18 +01:00
chriseth 08763a206d Test passing functions as arrays to other contracts. 2016-11-16 14:37:18 +01:00
chriseth 925d674146 Disallow payable internal functions. 2016-11-16 14:37:18 +01:00
chriseth f7a62c1e69 Mention "payable" in the documentation. 2016-11-16 14:37:18 +01:00
chriseth e1df3bd77f Fix tests. 2016-11-16 14:37:18 +01:00
chriseth f21f794f3c delete for function types 2016-11-16 14:37:18 +01:00
chriseth 5011d6339a Added function types to the grammar. 2016-11-16 14:37:18 +01:00
chriseth 0e5507c78c Updates to the documentation. 2016-11-16 14:37:18 +01:00
chriseth 47794c1da4 Implement uninitialized storage functions. 2016-11-16 14:37:18 +01:00
chriseth b6992d740a Tests for uninitialized storage functions. 2016-11-16 14:37:18 +01:00
chriseth cc847df3c2 Bugfix in code generator. 2016-11-16 14:37:18 +01:00
chriseth 502cc319d7 Documentation examples. 2016-11-16 14:37:18 +01:00
chriseth 87b148494b Tests. 2016-11-16 14:37:18 +01:00
chriseth ff3553a348 Change alignment. 2016-11-16 14:37:18 +01:00
chriseth 679ea2820f Part of the documentation. 2016-11-16 14:37:18 +01:00
chriseth 62492b67e7 Changelog entry and small fixes. 2016-11-16 14:37:18 +01:00
chriseth 95d7555e3c External functions in storage. 2016-11-16 14:37:17 +01:00
chriseth 6f19559de0 Fix some type checks and tests for internal / external function parameters. 2016-11-16 14:37:17 +01:00
chriseth 97a3588701 Function type state variables. 2016-11-16 14:37:17 +01:00
chriseth dd173f83e3 Code generator for function types. 2016-11-16 14:37:17 +01:00
chriseth cc8583ec7d Function types. 2016-11-16 14:37:17 +01:00
chriseth 518fe2aab7 Correct implementation of swarm hash. 2016-11-15 14:55:51 +01:00
chriseth dce80911e1 Add tests 2016-11-15 09:16:33 +01:00
chriseth bf5b0dc2d2 Keep old code. 2016-11-14 23:28:26 +01:00
chriseth 2ecf348a9d Move swarmHash to its own file. 2016-11-14 23:25:12 +01:00
chriseth 8944b092f8 Multi-level swarm hash. 2016-11-14 23:14:10 +01:00
chriseth 2f83a45577 Swarm hash. 2016-11-14 23:14:10 +01:00
chriseth c2c39239d6 Report infinite gas for calls. 2016-11-14 16:02:57 +01:00
chriseth 061b50ae19 Add tests for the std files. 2016-11-11 19:59:31 +01:00