Commit Graph

165 Commits

Author SHA1 Message Date
chriseth
4288543847 Disallow comparison for reference types.
Fixes #2690
2015-08-07 17:50:54 +02:00
chriseth
e0fbdd57e6 Do not allow boolean operators for integers.
Fixes #2496
2015-08-07 17:50:07 +02:00
chriseth
5aec9fba47 Actual auction tests. 2015-08-06 17:48:27 +02:00
Gav Wood
db58e9ff9c Merge pull request #2705 from chriseth/sol_auctionRegistrarTests
Basic tests for auction registrar.
2015-08-06 14:16:29 +02:00
CJentzsch
228fdf633d readd solidity tests 2015-08-06 00:31:35 +02:00
CJentzsch
4626890913 update test to new Block/State refactoring - credit to winsvega and chriseth 2015-08-06 00:14:45 +02:00
Gav Wood
e0863fbd27 First draft at splitting State.
Continuation of State split.

libethereum building again.

Compile fixes galore.
Remove a lot of code redundancy.

mix using new state/block classes
2015-08-05 22:34:13 +02:00
chriseth
4ff890f1dd Basic tests for auction registrar. 2015-08-05 17:19:48 +02:00
chriseth
fbe4ce37a0 Merge pull request #2688 from chriseth/toBytesConversion
Allow explicit conversions bytes <-> string.
2015-08-05 17:19:19 +02:00
chriseth
f2088278aa Break off contract tests. 2015-08-04 16:31:39 +02:00
chriseth
45e6d94078 Allow explicit conversions bytes <-> string. 2015-08-04 11:06:57 +02:00
chriseth
765f303688 strings as mapping keys. 2015-08-03 18:10:08 +02:00
chriseth
840a0108cc Tests for FixedFeeRegistrar. 2015-07-29 19:32:42 +02:00
chriseth
35cb53ad2e Revoke tests. 2015-07-23 23:44:35 +02:00
chriseth
1dc55061f4 Remove block number from internal changes. 2015-07-23 00:05:09 +02:00
chriseth
d4cb489c8f Wallet updated to include daylimit in constructor. 2015-07-22 16:58:24 +02:00
Gav Wood
287088f380 Merge pull request #2524 from chriseth/sol_windowsFix
Compile fix for Windows.
2015-07-20 20:44:14 +02:00
Gav Wood
262643f561 Merge branch 'whizz' into develop 2015-07-20 19:39:09 +02:00
chriseth
f43b7f0828 Windows fix. 2015-07-20 18:44:53 +02:00
chriseth
8e4517a015 Use actual addresses. 2015-07-20 17:51:28 +02:00
arkpar
4046174ea2 fixing solidity tests 2015-07-20 00:36:48 +02:00
Gav Wood
07a29389d6 All fields of BlockInfo now private. 2015-07-19 21:10:13 +02:00
Gav Wood
1c78da65ed Merge pull request #2495 from chriseth/sol_updatedWallet
Updated the wallet contract and tests.
2015-07-17 13:54:26 +02:00
chriseth
1fb87c8579 Updated the wallet contract and tests. 2015-07-16 16:25:23 +02:00
Liana Husikyan
ed6f6d9494 removed unnecessary function 2015-07-16 13:57:56 +02:00
Liana Husikyan
3d7e6d8adf changedthe output style of the Natspec docstring 2015-07-16 13:57:56 +02:00
Liana Husikyan
3f1042d23b now for SolidityEndToEndTest we can use compileRequireThrow<typename> 2015-07-16 13:57:56 +02:00
Liana Husikyan
dd1e770009 modified test network to test exceptions during parsing of documentation
todo:
 - change to work wirh all exceptions
 - fix white space problems in the output text for Natspec
2015-07-16 13:57:56 +02:00
chriseth
c432ec46f9 Merge pull request #2482 from chriseth/sol_fix_initialiseStorageStrings
Fix for initialising storage strings.
2015-07-16 12:31:24 +02:00
chriseth
13effae9d3 Allow structs containing mappings in memory. 2015-07-16 01:10:09 +02:00
chriseth
bb181d8c85 Fix for initialising storage strings. 2015-07-15 22:13:27 +02:00
Gav Wood
a904cafa38 Merge pull request #2473 from chriseth/sol_fix_exponentialNotation
Check whether a literal is a valid literal before using it.
2015-07-14 18:18:38 +02:00
chriseth
cd264b72ab Check whether a literal is a valid literal before using it.
Fixes #2078
2015-07-14 17:43:13 +02:00
chriseth
dd3afa2877 Fix comparison between bytes types.
Fixes #2087
2015-07-14 16:40:16 +02:00
chriseth
2173ad25a9 Flexible string literals, convertible to bytesX, bytes and string. 2015-07-09 17:10:58 +02:00
chriseth
c5984302fc Updated wallet code. 2015-07-06 18:06:01 +02:00
chriseth
a393acd0b2 Struct constructors. 2015-07-03 17:25:30 +02:00
chriseth
3350f1d304 Fix for copying arrays to storage. 2015-07-03 17:25:30 +02:00
chriseth
fc8f83b84e Memory structs. 2015-07-03 17:25:29 +02:00
chriseth
807f7e6579 Fixed checking of abstract functions.
Fixes #2264
2015-06-30 11:55:21 +02:00
chriseth
4e62efc7ff Memory arrays cannot be resized. 2015-06-29 20:08:02 +02:00
chriseth
9cb646697d Merge pull request #2312 from chriseth/sol_updateWallet
Updated wallet test to latest wallet source.
2015-06-29 16:46:50 +02:00
chriseth
4a369a8eee Updated wallet test to latest wallet source. 2015-06-29 12:48:03 +02:00
chriseth
e1b2a79b8b Another test for arrays in constructors. 2015-06-29 12:47:04 +02:00
chriseth
7100b14d4d Delete for memory objects. 2015-06-26 21:28:02 +02:00
chriseth
65d89bde6d Do not copy reference types to memory in-place. 2015-06-26 19:15:00 +02:00
chriseth
5664f62613 Initialisation of memory types. 2015-06-24 19:34:43 +02:00
chriseth
eede8cf2d6 Copy routines for non-byte arrays. 2015-06-24 12:18:19 +02:00
chriseth
1e8c26421b Decoding for constructor. 2015-06-22 20:55:46 +02:00
chriseth
90ee186044 Remove dynamic return types. 2015-06-22 20:50:47 +02:00