Commit Graph

115 Commits

Author SHA1 Message Date
Gav Wood
6b44029adc Beginnings of cleaning up the Executive/State code. 2014-12-12 15:53:57 +01:00
Paweł Bylica
6b8bc1669e Merge remote-tracking branch 'upstream/develop' into vm
Conflicts:
	libethereum/Executive.cpp
	libethereum/Executive.h
	libethereum/State.cpp
2014-12-11 20:39:48 +01:00
Gav Wood
1d879a9bb4 Remove extraneous old stuff for PoC-7.
Fix gas remaining issue.
2014-12-11 20:07:07 +01:00
Paweł Bylica
c1ffbbe797 VMFactory - a new way of creating VMs 2014-12-10 17:41:53 +01:00
Paweł Bylica
eafe303e08 Merge branch 'develop' into vm 2014-12-08 11:48:26 +01:00
CJentzsch
9101b7073a state log tests 2014-12-05 19:26:32 +01:00
Paweł Bylica
bb6fcfe3f9 Use safe pointers in Executive 2014-12-05 17:00:29 +01:00
CJentzsch
b7601aee9f fix stackoverflow in calldataload, codecopy, extcodecopy + some tests 2014-12-04 17:55:04 +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
Gav Wood
8d0a664740 PV46. Minor protocol alterations. 2014-12-02 17:13:17 +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
Christoph Jentzsch
70a1f73047 style 2014-11-21 07:42:41 +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
Christoph Jentzsch
d3910593a0 All unintended VM exceptions work like OOG in tests 2014-11-10 22:26:07 +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
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
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
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
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
Paweł Bylica
cacc4477bf Fix VM test code loading conditions 2014-10-28 16:26:33 +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