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
|
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 |
|
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
|
7fb7d5ae39
|
Optimizer: Clear state for JUMPDESTs.
|
2016-11-22 14:58:24 +01:00 |
|
Alex Beregszaszi
|
a35ca910c7
|
Rename test contract names to capitalised
|
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 |
|
chriseth
|
2c14a96820
|
Some more assertions and style changes.
|
2016-11-16 15:09:01 +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
|
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
|
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 |
|
Yoichi Hirai
|
f3d0433ec3
|
test: add a test about external function type taking/returning internal functions
|
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
|
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
|
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 |
|
Yoichi Hirai
|
c9f9b2ab4d
|
codegen: add a compilation mode and a runtime context to CompilerContext
|
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 |
|
Yoichi Hirai
|
3158a8ea7b
|
test: add a test for storing an internal function in the constructor and then using the stored function in runtime
|
2016-11-16 14:37:18 +01:00 |
|
chriseth
|
87b148494b
|
Tests.
|
2016-11-16 14:37:18 +01:00 |
|
Yoichi Hirai
|
6172590b87
|
Add a test around storing functions in an array
|
2016-11-16 14:37:17 +01:00 |
|
Yoichi Hirai
|
708b7b35ad
|
Add a parser test for arrays containing functions
|
2016-11-16 14:37:17 +01:00 |
|
Yoichi Hirai
|
ab3d1b024d
|
Add tests around calling functions returning functions returning functions
|
2016-11-16 14:37:17 +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 |
|
Alex Beregszaszi
|
227f6aab4f
|
Change natspec/abi JSON expected message to be the same
|
2016-11-15 17:58:55 +00:00 |
|
Alex Beregszaszi
|
81c50143f2
|
Move JSON helpers to libdevcore/json
|
2016-11-15 17:38:18 +00:00 |
|
Alex Beregszaszi
|
9205662de9
|
Update tests to use JSON
|
2016-11-15 17:20:30 +00:00 |
|
Alex Beregszaszi
|
ae8403ed08
|
Rename ErrorTag to invalidJumpLabel in inline assembly
|
2016-11-15 10:30:33 +00:00 |
|
Alex Beregszaszi
|
bee926bf3f
|
Add tests for the ErrorTag
|
2016-11-15 10:30:33 +00:00 |
|
chriseth
|
dce80911e1
|
Add tests
|
2016-11-15 09:16:33 +01:00 |
|
Yoichi Hirai
|
e6247195dd
|
test: add a testcase about using an invalid enum value as an external call argument
|
2016-11-14 20:46:30 +01:00 |
|
Yoichi Hirai
|
454e7618c8
|
test: add tests about returning invalid enum values from interface functions
|
2016-11-14 16:44:04 +01:00 |
|
Yoichi Hirai
|
4b6e7e0677
|
test: add a test conerting an enum into another enum, which should fail
|
2016-11-11 17:48:03 +01:00 |
|
Yoichi Hirai
|
eee629652e
|
parsing: ban empty enum definition.
|
2016-11-11 17:48:03 +01:00 |
|
Yoichi Hirai
|
457daecba1
|
test: add a test converting -1 as a literal into an enum
This shows #1334 fixes #1344
|
2016-11-11 17:48:03 +01:00 |
|
Yoichi Hirai
|
08a889a908
|
test: add a test case for #1343
The test witnesses that #1334 fixes #1343.
|
2016-11-11 17:48:03 +01:00 |
|