Commit Graph

172 Commits

Author SHA1 Message Date
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
43bab79fbc Merge remote-tracking branch 'upstream/develop' into NewStateTests
Conflicts:
	test/state.cpp
	test/tmpFiller.json
2014-11-10 07:15:27 +01:00
Christoph Jentzsch
b4d8ff5fdc specified user defined test 2014-11-10 07:12:29 +01:00
Christoph Jentzsch
a6ba0f7908 style 2014-11-07 15:16:42 +01:00
Christoph Jentzsch
f88f5a7702 Merge remote-tracking branch 'upstream/develop' into StateBug 2014-11-07 13:42:44 +01:00
Christoph Jentzsch
ab3a1ec6ef Added random test execution 2014-11-07 13:29:13 +01:00
Paweł Bylica
6d2979ed5c Merge branch 'develop' into develop-evmcc
Conflicts:
	libevm/VM.h
	test/vm.cpp
2014-11-06 17:58:13 +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
139668dea4 style 2014-11-05 21:55:10 +01:00
Christoph Jentzsch
e53f831510 Added dynamic jump out of code test 2014-11-05 21:02:16 +01:00
Christoph Jentzsch
6b6bb65eb8 Update transactions, style fix 2014-11-05 18:30:38 +01:00
Christoph Jentzsch
26f4637205 Merge remote-tracking branch 'upstream/develop' into stateTests
Conflicts:
	test/state.cpp
	test/vm.cpp
2014-11-05 15:55:50 +01:00
Gav Wood
07ee2e4847 Classify Transaction. 2014-11-05 13:45:19 +00:00
Christoph Jentzsch
adaf26d9ca uncomment vmIOandFlowOPerations test 2014-11-05 00:12:29 +01:00
Christoph Jentzsch
086326b5da Merge branch 'StateBug' into NewStateTests 2014-11-04 23:45:18 +01:00
Christoph Jentzsch
a6f297a27d Merge branch 'newTests' into NewStateTests
Conflicts:
	test/vm.cpp
	test/vmArithmeticTestFiller.json
	test/vmSha3TestFiller.json
2014-11-04 23:08:20 +01:00
Christoph Jentzsch
3a5808c39f Update tests to latest protocol changes (PoC7) 2014-11-04 13:36:29 +01:00
Christoph Jentzsch
1310011f77 Fix ABAcalls OOG bug 2014-11-03 23:49:05 +01:00
Christoph Jentzsch
6eeef2762c Clean up and organize tests + state class tests 2014-11-03 16:33:02 +01:00
artur-zawlocki
5546ac9f94 Merge branch 'develop-evmcc' of github.com:imapp-pl/ethereum into develop-evmcc
Conflicts:
	libevmjit/Compiler.cpp
2014-10-31 15:08:10 +00:00
artur-zawlocki
f19bc2cfef allow --jit as non first argument 2014-10-31 14:47:16 +00:00
Paweł Bylica
d56553dfb6 Merge branch 'develop' into develop-evmcc 2014-10-31 12:35:51 +01:00
Christoph Jentzsch
bc1aaa78a8 Merge remote-tracking branch 'upstream/develop' into stateTests
Conflicts:
	libethereum/AddressState.h
	test/vm.cpp
2014-10-31 09:46:20 +01:00
Christoph Jentzsch
3d17d7b2f1 Clean up FakeExtVM - move to state tests 2014-10-31 09:41:02 +01:00
Gav Wood
bf763824f3 Fix for Trie roots.
AddressState -> Account.
2014-10-30 13:47:28 +01:00
Paweł Bylica
fdca7c8eed Merge branch 'develop' into develop-evmcc
Conflicts:
	libevm/VM.h
	test/vm.cpp
2014-10-30 12:37:21 +01:00
Gav Wood
4c895be53f Merge pull request #434 from CJentzsch/vmtraceBugFix
Vmtrace bug fix
2014-10-29 19:06:54 +01:00
Christoph Jentzsch
4df3ca25f3 Merge remote-tracking branch 'upstream/develop' into stateTests 2014-10-29 17:25:24 +01:00
Christoph Jentzsch
3565d42a14 Restructure state tests. Remove FakeStateClass 2014-10-29 17:25:02 +01:00
artur-zawlocki
ec9330609f Merge branch 'develop-evmcc' of github.com:imapp-pl/ethereum into develop-evmcc
Conflicts:
	test/vm.cpp
2014-10-29 11:02:37 +00:00
artur-zawlocki
621d7fa4b0 MULMOD/ADDMOD implemented in separate functions [FIXES #80566276] 2014-10-29 10:29:34 +00:00
Paweł Bylica
f73a461e13 Expose VM kind setting of State in FakeExtVM
This reverts commit 6ad065bb3e30b5e67283f70e84ac55368e843e6a.
2014-10-29 10:23:17 +01:00
Paweł Bylica
878c41b3e3 Merge branch 'develop' into develop-evmcc
Conflicts:
	libevm/VM.h
2014-10-28 17:41:18 +01:00
Paweł Bylica
cacc4477bf Fix VM test code loading conditions 2014-10-28 16:26:33 +01:00
Paweł Bylica
f8c396c4c1 Merge branch 'develop' into develop-evmcc
Conflicts:
	libevm/ExtVMFace.h
	libevm/VM.h
	test/vm.cpp
	test/vm.h
	windows/LibEthereum.vcxproj.filters
2014-10-28 12:26:45 +01:00
Christoph Jentzsch
01e9cf0cad Fixed storage output in VMTRACE for vm tests 2014-10-28 12:11:52 +01:00
Christoph Jentzsch
a0cfe7aeef Update vm.cpp 2014-10-27 22:33:23 +01:00
Christoph Jentzsch
7a3517ed3a log VMTRACE in file for user defined test 2014-10-27 22:21:30 +01:00
Christoph Jentzsch
6d1c06a719 VMTRACE for internal calls
Conflicts:
	test/vm.cpp
2014-10-27 19:01:10 +01:00
Christoph Jentzsch
1905208649 Add VMTRACE to user defined vm test
Conflicts:
	test/vm.cpp
2014-10-27 18:59:42 +01:00
Gav Wood
dba99342ba Move suicides into SubState and include logs and refunds.
Refund gas from zero-resetting SSTOREs.
2014-10-27 16:32:53 +01:00
Gav Wood
ed7a56cc16 PoC-7: Reversion of 0-hashes, empty-list hashes and sha3('') -> '' 2014-10-27 14:13:16 +01:00
Paweł Bylica
39a74029d2 Revert "Expose VM kind setting of State in FakeExtVM"
This reverts commit 2d0557e2ee236b73546d6dd9f3ed7d19ec852a0f.
2014-10-23 15:49:12 +02:00
Paweł Bylica
6cc1cb1001 Expose VM kind setting of State in FakeExtVM 2014-10-23 15:28:08 +02:00
Christoph Jentzsch
d865275202 Changing gas cost to zero at stackunderflow 2014-10-23 11:25:34 +02:00
Christoph Jentzsch
c7a101dec3 bug fix 2014-10-22 22:13:08 +02:00
Gav Wood
3f5bec5940 Merge pull request #404 from imapp-pl/pr-fixes
Enhance VM tests reports
2014-10-22 21:05:13 +02:00
Paweł Bylica
6ac0c1302a Change the way VMs are created (mostly for tracking where are created) 2014-10-22 18:48:14 +02:00
Paweł Bylica
d740145ecc Update VM test engine to use VMFace interface 2014-10-22 16:52:47 +02:00
Paweł Bylica
44536d4327 Implement VMFace with jit::VM 2014-10-22 16:40:05 +02:00
Paweł Bylica
e987e1a692 Drop universal initializer in some places 2014-10-22 12:54:31 +02:00
Paweł Bylica
d5c09e6450 Remove dead code 2014-10-22 11:46:44 +02:00
Paweł Bylica
05a8e41d5d Another round of fixing ExtVM interface 2014-10-22 11:46:14 +02:00
Paweł Bylica
d6ec0a1248 Fix remaining gas testing [#81118624] 2014-10-21 19:42:24 +02:00
Paweł Bylica
c50afdef18 Merge branch 'develop' into develop-evmcc
Conflicts:
	libevm/FeeStructure.cpp
	test/vm.cpp
2014-10-21 14:44:09 +02:00
Paweł Bylica
ed827c7719 Enhance VM tests reports, resolves ethereum/cpp-ethereum#399 2014-10-21 11:57:44 +02:00
Paweł Bylica
c2495456f4 Enhance VM tests reports 2014-10-21 11:54:54 +02:00
Paweł Bylica
a152c3b6fb Remove dead code 2014-10-21 11:51:45 +02:00
Paweł Bylica
1b2d4c25e6 Another round of fixing ExtVM interface 2014-10-20 17:36:26 +02:00
Christoph Jentzsch
21457052fd Make all exceptions dervie virtual 2014-10-18 14:27:23 +02:00
Paweł Bylica
29ad070d07 Disable test filling 2014-10-17 16:07:53 +02:00
Paweł Bylica
0b3264de22 Turn on JIT testing with "--jit" command line parameter 2014-10-17 13:58:45 +02:00
Paweł Bylica
8c871d0f9a Running vm_tests with JIT 2014-10-17 10:58:10 +02:00
Paweł Bylica
6d3cf5fad9 Prepare VM test engine for running JIT-ed tests 2014-10-16 18:26:50 +02:00
Paweł Bylica
09a50c84a5 Prepare VM test engine for running JIT-ed tests 2014-10-16 18:20:49 +02:00
Christoph Jentzsch
bd7fe3dba8 bug fix 2014-10-14 15:13:38 +02:00
Christoph Jentzsch
5b3c47aa05 Added random test creater 2014-10-14 13:22:49 +02:00
Gav Wood
8472a0f06f Merge pull request #346 from CJentzsch/develop
Corrected call function in FakeExtVM
2014-10-09 20:19:43 +02:00
Gav Wood
9e27cb00da PoC-7: Maximum recursion limit 1024. 2014-10-08 17:51:51 +02:00
Christoph Jentzsch
dcfcbda2fa Corrected call function in FakeExtVM
Added ABA calls to tests, corrections in FakeExtVm::call

Use FakeStateClass instead of altering real state class for testing purposes

remove posts, add broken test
2014-10-08 14:19:44 +02:00
Gav Wood
f24a017a06 PoC-7 crypto-contracts. 2014-10-08 00:07:03 +02:00
Gav Wood
d4a0fc07e1 More attempts to fix for the ultra-pedantic clang compiler. 2014-10-07 23:07:56 +02:00
Christoph Jentzsch
0d5a301957 Bug fix, push callcreate before changing gas value in FakeExtVM 2014-10-06 10:17:27 +02:00
Christoph Jentzsch
d490d3197b Restructured exceptions. Boost::exception is now used primarily. 2014-10-02 14:20:33 +02:00
Christoph Jentzsch
4d7a55f8e2 corrected CALLSTATELESS test, style fixes, code length independent call in FakeExtVM 2014-10-01 13:59:07 +02:00
Christoph Jentzsch
5bdfed39e1 undefined FILL_TESTS and some minor style fixes 2014-09-27 13:06:55 +02:00
Christoph Jentzsch
9183d2e6e3 Reorganized FakeExtVM class into .h and .cpp file. Added state class member in order to test CREATE and CALL. Added system operations test. 2014-09-27 12:51:34 +02:00
Christoph Jentzsch
388ed8fa62 Added more vm tests 2014-09-25 11:18:32 +02:00
Christoph Jentzsch
f3bc035e11 style fix 2014-09-20 22:18:42 +02:00
Christoph Jentzsch
9f04e1d1b7 Added arithmetic test 2014-09-20 02:05:04 +02:00
Gav Wood
f9a7ab94ae Split ethcore off into devcrypto ready for Whisper's crypto and repot namespace.
Rename ethential to devcore.
2014-09-05 18:24:29 +02:00
Gav Wood
38dd3fb050 Project-wide reorganisation of namespaces. 2014-09-05 17:09:58 +02:00
Gav Wood
d0d1e91a68 CALL_STATELESS 2014-09-03 21:28:37 +02:00
Gav Wood
f2524f5578 Debugger improvements. 2014-07-14 17:24:07 +02:00
Gav Wood
b3088a69f3 Even numbers of hex digits for Jeff (Go can't handle odd numbers).
Everything a string in VM tests.
2014-07-10 11:29:39 +01:00
Gav Wood
d66fa9211f Fix for making code. 2014-07-10 10:16:34 +01:00
Gav Wood
27a7415bfa Proper debugger. 2014-07-09 19:36:00 +01:00
Gav Wood
e78fa15227 VM tests prettier. 2014-07-06 16:16:53 +02:00
Gav Wood
99ee1a6a62 New client API. 2014-07-03 21:45:06 +02:00
Gav Wood
d9340fb74a Windows build coersions. 2014-07-03 15:00:22 +02:00
Gav Wood
b62f71c699 Project refactor. Introduce the Serpent library. 2014-06-27 23:47:24 +02:00
Gav Wood
d737f6df42 Latest tests-related refactoring & improvments. 2014-06-27 21:39:46 +02:00
Gav Wood
a418c6c09c Fixes for tests. 2014-05-28 11:52:42 +02:00
Gav Wood
305ddf1fed Pinhole optimise working fairly well... 2014-05-27 18:51:10 +02:00
Gav Wood
ef95ba9ac3 Major reorganisation.
New libs (libethsupport, libevm, liblll).
New LLLC binary.
2014-05-26 11:22:19 +02:00
Gav Wood
9d7047272d Macros and definitions in LLL. 2014-05-25 02:17:17 +02:00
Gav Wood
ebf6d65d92 Move paths so default build dir is cpp-ethereum/build. 2014-05-13 16:05:27 +01:00
Gav Wood
87d48881d8 Updates to VM tests. 2014-05-12 14:40:26 +01:00
Gav Wood
da99f2c515 Protocol changes for PoC-5:
Transactions Trie.
LTMA for gasPrice.
New block header format.
Various additional checks.
New Genesis block.
2014-04-24 15:51:47 +01:00