Commit Graph

152 Commits

Author SHA1 Message Date
Gav Wood
fff3784c01 Remove VMTRACE.
Better transaction logging.
Avoid bothering with obviously invalid transactions.
2015-04-08 02:42:51 +02:00
Wins Vega
ff5ce7bda3 Check State: windows build 2015-04-08 01:31:30 +04:00
winsvega
dd0cdddd94 Check State
style changes
2015-04-07 21:32:32 +03:00
winsvega
4774ccfb28 Check State
Unused Variable
2015-04-07 21:32:32 +03:00
winsvega
44405625f2 Check State
Style + Rebase
2015-04-07 21:32:32 +03:00
winsvega
c38c8bb567 Check State
style changes
2015-04-07 21:32:32 +03:00
winsvega
923e452846 Check State
Style Changes
2015-04-07 21:32:32 +03:00
winsvega
2e71a91323 Check State
State tests with expect section
2015-04-07 21:32:32 +03:00
winsvega
adba4fb9a1 Check State
Incomplete State Support
2015-04-07 21:32:32 +03:00
winsvega
b0c8babf0e Check State
Refactoring
2015-04-07 21:32:32 +03:00
winsvega
bfc4d2eceb Expect State Check
state and vmtests
2015-04-07 21:32:31 +03:00
winsvega
a14cada9dd State Test
Expected state check when filling test
2015-04-07 21:32:31 +03:00
Gav Wood
a250749505 Typo "fix" fixed. 2015-04-05 22:13:24 +02:00
Gav Wood
0dc70c63a9 Move hash to a hidden function, and provide a datapath to it so avoid
unneeded SHA3s.
2015-04-05 21:08:22 +02:00
Paweł Bylica
7fb437d0da Merge remote-tracking branch 'upstream/develop' into evmjit 2015-03-31 11:44:00 +02:00
Paweł Bylica
f07089ffa3 Test execution stats improvements
--stats can have optional values:
  --stats=out prints all test timings to standard output,
  --stats=<filename> prints all test timings to a file in tab-separated format.

Stats are now kept in vector to allow duplicated values.
2015-03-25 12:13:44 +01:00
Marek Kotewicz
94e4f410e9 ClientBase tests 2015-03-25 10:59:46 +01:00
Gav Wood
ca740a924b Minor rename.
Report errors properly.
2015-03-20 16:47:54 +01:00
Paweł Bylica
3782a33e50 Prettify VM and State test outputs 2015-03-14 00:18:52 +01:00
Paweł Bylica
31db4fbde8 Stats for testeth
Simple listener support added to testeth. Stats class implements the Listener interface and collects tests execution times. Try options: --stats or --stats=full.

Closes ethereum/cpp-ethereum#1285
2015-03-14 00:18:52 +01:00
Gav Wood
827b1e2b3d Merge pull request #1295 from CJentzsch/randomStateTests
Random state tests
2015-03-13 20:12:35 +01:00
CJentzsch
b5ed5d13d1 readd --filltest option and add dejavu issue 42 test 2015-03-12 16:53:00 +01:00
CJentzsch
24754c4693 Merge remote-tracking branch 'upstream/develop' into randomStateTests 2015-03-12 14:35:05 +01:00
Paweł Bylica
e18c7b99cb testeth: optional VM tracing (--vmtrace), command line options refactoring.
Closes ethereum/cpp-ethereum#1280
2015-03-12 12:01:12 +01:00
CJentzsch
cf5f86e384 create random state tests 2015-03-12 09:16:32 +01:00
CJentzsch
f0a216943f blockchain tests fixes 2015-03-10 17:51:08 +01:00
CJentzsch
983514a42a remove genesis state from state tests
Conflicts:
	test/state.cpp
2015-03-06 12:45:25 +01:00
CJentzsch
98a08c926a add memory tests 2015-03-06 12:45:24 +01:00
jhuntley
e229b5d291 Revert all asio.h includes except for in 2 files, DebuggingStateWrapper.h and Transact.cpp. After enabling WIN32_LEAN_AND_MEAN, all the asio.h include issues, commit 20b6e24ffcab088e71092e07030a377d3135da3c, went away. 2015-03-04 11:18:32 -05:00
jhuntley
5ae585f7cf asio.h and windows.h build comments as per request. 2015-03-04 11:17:46 -05:00
jhuntley
26ba1086b8 Avoid boost include order issue on windows:
http://stackoverflow.com/questions/9750344/boostasio-winsock-and-winsock-2-compatibility-issue
http://stackoverflow.com/questions/9750344/boostasio-winsock-and-winsock-2-compatibility-issue/16288859#16288859

Make sure boost/asio.hpp is included before windows.h.
2015-03-04 11:17:45 -05:00
winsvega
af6b44fb90 Transaction Tests
A few changes
2015-03-03 20:06:04 +03:00
winsvega
567c4cd942 Test Helper
style changes
2015-02-26 19:02:56 +03:00
winsvega
5d881b555d More Transaction Tests
Some tests to check YP statements
2015-02-26 18:51:06 +03:00
CJentzsch
5554861fb3 fix too-small-address-length bug in transaction 2015-02-23 08:29:56 +01:00
CJentzsch
968564f21d extra data fix 2015-02-16 11:04:05 +01:00
CJentzsch
e4eeb566ce Merge remote-tracking branch 'upstream/develop' into blockTests
Conflicts:
	test/transaction.cpp
2015-02-13 12:41:31 +01:00
CJentzsch
7abf1f6c93 switch to secretKey in fillers 2015-02-13 12:38:38 +01:00
winsvega
c09d91a2f0 New Tests
Transaction with RLP object and catching exceptions from importByteArray
2015-02-12 23:43:57 +03:00
CJentzsch
f0b2d0f30b check transactions 2015-02-11 16:36:00 +01:00
CJentzsch
87b0a10052 Merge remote-tracking branch 'upstream/develop' into blockTests
Conflicts:
	test/transaction.cpp
2015-02-11 11:19:44 +01:00
Gav Wood
9a792edb33 Test stuff into cpp from header.
Additional debug stuff in cmake.
2015-02-10 20:53:38 +01:00
winsvega
c09b7885e8 Test related
Constant in TestHelper.h
Exception in TestHelper.h
2015-02-10 13:07:31 +03:00
winsvega
d77b3a672c Bigint
bigint(1) << 256
2015-02-09 23:40:47 +03:00
winsvega
f853f4a937 Style Changes
New exception for values larger than 2**256
Auto format .json files
2015-02-07 14:23:17 +03:00
CJentzsch
330caf3f40 create block from transaction with genesis block as parent 2015-02-06 23:43:49 +01:00
winsvega
4d76086860 nonce value from 0 to "0" in fillers 2015-02-06 18:28:48 +03:00
winsvega
f7f26d0fbd state test conditions to filler files 2015-01-31 21:00:35 +03:00
winsvega
ec85da431a style changes 2015-01-23 23:03:29 +03:00
winsvega
34249753e8 Merge remote-tracking branch 'ethereum/develop' into develop 2015-01-23 15:28:04 +03:00
winsvega
91ccc1b7ab Transaction Tests
transaction tests

Transaction Test Work In Progress

transaction test work in progress

work in progress. check for transaction is valid

Transaction Tests Work In Progress

compiler error fix
2015-01-22 12:04:58 +03:00
Gav Wood
5f54782ed0 Cleanups and addition AZ info. 2015-01-20 11:33:33 -08:00
CJentzsch
108388c440 fix callcreates imoport 2015-01-13 15:47:36 +01:00
CJentzsch
203005e2b7 add blockhash test fo vm tests 2015-01-09 10:58:32 +01:00
Paweł Bylica
f591197692 Windows fix 2014-12-17 17:56:54 +01:00
Paweł Bylica
59fe1fdf92 Merge commit '1b8f9fdc3b44503890ed1bcb5da8bd5cb8dd83a5' into develop-evmcc
Conflicts:
	test/TestHelper.cpp
2014-12-15 15:11:35 +01:00
CJentzsch
7f9f847c27 Fix import state for state tests
Conflicts:
	test/TestHelper.cpp
2014-12-12 21:21:18 +01:00
Gav Wood
fe21a5c67e Style fix. 2014-12-12 20:49:28 +01:00
Paweł Bylica
49f995a890 Add "--jit" option to State tests 2014-12-12 11:54:44 +01:00
Paweł Bylica
8ada6f3cb9 Replace spaces with tabs 2014-12-11 20:46:05 +01:00
Paweł Bylica
c044e1d1e9 Report wrong account address in case of unexpected storege key 2014-12-11 19:33:49 +01:00
Paweł Bylica
5d22ebe447 Test unexpected storage entries 2014-12-11 19:32:42 +01:00
Paweł Bylica
3ba2d4195f Merge remote-tracking branch 'origin/vm' into develop-evmcc
Conflicts:
	libethereum/Executive.cpp
	libethereum/Executive.h
	libethereum/State.cpp
	libevm/VM.cpp
	libevm/VM.h
	libevm/VMFace.h
	test/createRandomTest.cpp
	test/vm.cpp
	windows/LibEthereum.vcxproj.filters
2014-12-10 23:42:01 +01:00
CJentzsch
9101b7073a state log tests 2014-12-05 19:26:32 +01:00
Paweł Bylica
20b6b30b99 Merge branch 'develop' into develop-evmcc
Conflicts:
	libevm/VM.h
	test/createRandomTest.cpp
2014-12-05 09:24:47 +01:00
Gav Wood
2f5b9151d5 Merge branch 'develop' of github.com:ethereum/cpp-ethereum into develop
Conflicts:
	test/vm.cpp
2014-12-02 20:09:00 +01:00
CJentzsch
fb7c3bb302 style
Conflicts:
	libevm/VM.h
2014-12-01 22:44:31 +01:00
CJentzsch
d952833c1b added logs to state tests 2014-12-01 22:41:16 +01:00
Paweł Bylica
a5d0496ea4 Merge branch 'develop' into develop-evmcc
Conflicts:
	libevm/VM.h
	test/vm.cpp
2014-11-26 20:20:52 +01:00
Gav Wood
d2ea1d7cc6 Merge pull request #533 from CJentzsch/stateTests
Specify user defined test
2014-11-24 17:03:43 +01:00
Christoph Jentzsch
70a1f73047 style 2014-11-21 07:42:41 +01:00
Christoph Jentzsch
e450bde113 style 2014-11-20 22:21:08 +01:00
Christoph Jentzsch
16be7563e1 Specify user defined test 2014-11-20 20:41:35 +01:00
Paweł Bylica
14366250c5 Merge branch 'develop' into develop-evmcc
Conflicts:
	test/vm.cpp
2014-11-20 17:15:43 +01:00
Christoph Jentzsch
dcc0361c7c Merge remote-tracking branch 'upstream/develop' into newTests
Conflicts:
	test/vm.cpp
2014-11-20 16:59:27 +01:00
Christoph Jentzsch
b1e26e28e3 Add Log tests 2014-11-19 14:30:42 +01:00
Paweł Bylica
7df5ec34c7 In VM tests, check only if an exception occurred if an exception expected (no post state and output checking) 2014-11-19 13:13:19 +01:00
Paweł Bylica
0eecd126f4 Merge branch 'develop' into develop-evmcc
Conflicts:
	windows/LibEthereum.vcxproj
2014-11-14 15:30:08 +01:00
Paweł Bylica
0e187175b8 Test unexpected storage entries 2014-11-14 11:44:51 +01:00
Christoph Jentzsch
4f589053a0 changed name of command line option to filltests 2014-11-11 22:28:43 +01:00
Christoph Jentzsch
508b7f14d8 Create state test with commandline flag 2014-11-11 22:25:21 +01:00
Christoph Jentzsch
9b14af5c15 build fix 2014-11-10 18:30:35 +01:00
Christoph Jentzsch
3c45877e2a added generic userDefinedTest function 2014-11-10 17:37:55 +01:00
Christoph Jentzsch
99c3957eca undefine FILL_TESTS 2014-11-10 07:30:56 +01:00
Christoph Jentzsch
85ded72014 Merge branch 'stateTests' into NewStateTests
Conflicts:
	test/TestHelper.cpp
	test/vm.cpp
2014-11-06 09:43:33 +01:00
Christoph Jentzsch
988ca7b6fc update SIGNEXTEND tests 2014-11-06 09:37:50 +01:00
Christoph Jentzsch
2ce298bca5 undefine FILL_TESTS 2014-11-05 21:07:22 +01:00
Christoph Jentzsch
1d156a5726 Moved code export to export function in ImportHelper 2014-11-05 20:21:33 +01:00
Christoph Jentzsch
6b6bb65eb8 Update transactions, style fix 2014-11-05 18:30:38 +01:00
Christoph Jentzsch
74f4b33d6a added state system operations test 2014-11-05 15:41:02 +01:00
Christoph Jentzsch
4262fbd5e4 Added stSystemOperationsTest 2014-11-04 23:02:50 +01:00
Christoph Jentzsch
c931e3ceec style 2014-11-03 17:53:29 +01:00
Christoph Jentzsch
6eeef2762c Clean up and organize tests + state class tests 2014-11-03 16:33:02 +01:00
Christoph Jentzsch
3d17d7b2f1 Clean up FakeExtVM - move to state tests 2014-10-31 09:41:02 +01:00
Christoph Jentzsch
3565d42a14 Restructure state tests. Remove FakeStateClass 2014-10-29 17:25:02 +01:00
Gav Wood
fa902ec5ff Networking fixes. 2014-09-30 15:53:15 +01:00
Gav Wood
583111ea68 Moved miner over to new Worker class. 2014-09-16 08:09:48 -04:00
Gav Wood
ce3a2713f4 Remove old Client network code & API.
Move over JsonRpcServer to WebThree.
2014-09-15 21:49:52 +02:00
Gav Wood
38dd3fb050 Project-wide reorganisation of namespaces. 2014-09-05 17:09:58 +02:00
Gav Wood
3a2597d871 Split out libethcore from libethereum. 2014-04-23 15:08:11 +01:00