Gustav Simonsson
b448390889
Further fixes to block test wrapper
...
* Move go test wrapper for block tests from cmd/geth to tests
* Fix logic for when tests are valid or not, by adding correct
validations for expected valid/invalid blocks
* Change block insertion helper to work on single blocks
* Add one test case for each file in BlockTests and comment out
the tests which are currently failing
* Add Skip call in all block tests in lieu of performance fixes
around ethash cache which are needed before it will be fast enough
to start / stop the node between each test
2015-04-21 05:23:10 +02:00
Gustav Simonsson
805345d135
Add block tests wrapper and fixes for tx tests
...
* Add fixes to parsing and converting of fields in tx tests
* Correct logic in tx tests; validation of fields and correct
logic for when RLP decoding works/fails and when this is
expected or not
* Rename files for consistency
* Add block tests wrapper to run block tests with go test
2015-04-20 17:46:35 +02:00
Felix Lange
c453f1f370
tests: hopefully improve test conversion helpers
...
(cherry picked from commit 035a30acbe
)
2015-04-19 00:07:09 +02:00
Felix Lange
235ed7ecb9
cmd/geth, tests: enable running multiple tests from a single file
...
This commit also changes the block test loading so tests containing
invalid RLP blocks can be loaded and return an error only when they are
run.
(cherry picked from commit 898ba87984
)
2015-04-19 00:06:52 +02:00
Gustav Simonsson
c617a6ec79
Fixes for TransactionTests
...
* Include tests which now has consistent HEX encodings
* Comment out two failing tests: "
"TransactionWithHihghNonce" due to wrong nonce size
"TransactionWithSvalueHigh" due to wrong ECDSA s range
* Cleanup conversion functions and fix expected encodings for
tests validation fields
2015-04-15 22:37:16 +02:00
Gustav Simonsson
2d8a2d0c99
Update JSON tests
2015-04-15 22:36:33 +02:00
Gustav Simonsson
6d20d634ca
Enable more tx tests by expecting most common encoding of values
2015-04-10 12:34:55 +02:00
Gustav Simonsson
6dc2146ed7
Remove unneeded map assignments for working tx RLP tests
2015-04-10 12:03:46 +02:00
Gustav Simonsson
9ac5671c18
Add TransactionTests wrapped as Go tests
...
* Add initial go wrapping for TransactionTests with some tests
disabled in lieu of consistent HEX encodings and a few other
pending bugfixes
* TODO: Consider better way of perhaps modelling each test in
the JSON files as a single Go test, instead of one Go test per
JSON file
2015-04-10 11:55:31 +02:00
Gustav Simonsson
1e18f4544b
Update JSON test files
2015-04-10 11:52:31 +02:00
obscuren
a7750c929b
Fixed tests to reflect log changes
2015-04-08 20:45:39 +02:00
obscuren
9c55576c7b
Block header changed & console miner control
...
* miner control moved to `admin.miner`
* miner option to set extra data
* block extra now bytes
2015-04-05 18:59:18 +02:00
obscuren
a0e44e3281
basic glog
2015-04-04 12:40:11 +02:00
obscuren
4558e04c0d
Merge commit 'f6bd4b16e38f9cacd57b57befdeeaed789a473c4' into develop
2015-04-03 12:29:13 +02:00
obscuren
c59c826ab4
fixed stack level
2015-04-03 11:27:56 +02:00
obscuren
fd5c5b2969
Merge commit '812cbff1a28d89b44a0c8c5a210ac61c7e19da35' into develop
2015-04-03 10:50:18 +02:00
obscuren
b8124ec791
Removed old (unused) argument
2015-04-01 23:58:26 +02:00
obscuren
109b27b552
Merge commit '4e3ffbcf9bae7e44e45fd1b6e504b3645040d73c' into develop
2015-04-01 17:50:19 +02:00
obscuren
516423cdac
Merge commit 'f801183b8bea24ce9988fbd06c2f17fedfc3587f' into develop
2015-04-01 17:41:58 +02:00
obscuren
0a554a1f27
Blocktest fixed, Execution fixed
...
* Added new CreateAccount method which properly overwrites previous
accounts (excluding balance)
* Fixed block tests (100% success)
2015-04-01 10:53:32 +02:00
obscuren
2ef0bc03ec
Merge commit 'ec181b308addc30c04973e9058960d579c84eef5' into develop
2015-03-31 16:25:22 +02:00
obscuren
d0fa0a234d
Merge commit 'a718515b3d43f00497231f981b5ea757b71d55ff' into develop
2015-03-26 13:14:24 +01:00
obscuren
ff9d66e096
Cleaned up changes
2015-03-24 15:23:16 +01:00
obscuren
23bccbbc58
Modified according to poc 9 changes
...
* Refund of value
2015-03-24 15:15:17 +01:00
obscuren
d6da533345
Merge commit '24066dca4646c8a376aa5dfbceec0a4b3f872c11' into develop
2015-03-24 13:39:49 +01:00
obscuren
4877e52c15
Merge commit '58c6cc8fd7ff8a27004ed62d912e0a61ae1b73bb' into develop
2015-03-24 11:22:58 +01:00
obscuren
7b8a47f484
removed legacy code
2015-03-23 22:05:12 +01:00
zelig
a983a215dc
fix ethtest logging
2015-03-23 17:08:49 +00:00
obscuren
0330077d76
moved state and vm to core
2015-03-23 16:59:09 +01:00
Gustav Simonsson
5d31a475e9
Fix new types for blocktests and comment out non-working log level setter
2015-03-23 16:32:20 +01:00
Gustav Simonsson
60de4d6dd1
gofmt
2015-03-23 16:32:20 +01:00
Gustav Simonsson
08bb472c91
Add validation of post state accounts to block tests
2015-03-23 16:32:20 +01:00
obscuren
013427bde2
Merge branch 'develop' into conversion
2015-03-19 21:18:29 +01:00
obscuren
b4a51de602
Merge commit 'f144a95940a5df0809bb028eef7b337125423602' into develop
2015-03-19 21:14:51 +01:00
obscuren
d4e5747d04
Merge branch 'develop' into conversion
2015-03-19 14:31:41 +01:00
obscuren
e67d32b467
Merge commit '85fa3790ac9f67232f0e31e7f861c66ef0e0047e' into develop
2015-03-18 22:13:08 +01:00
obscuren
942980609f
conversions
2015-03-18 11:44:25 +01:00
obscuren
86661de077
Fixed tests and bloom
2015-03-17 18:00:03 +01:00
obscuren
c21293cd91
bloom
2015-03-17 16:05:17 +01:00
obscuren
0fa7859b94
Fixed VM & Tests w/ conversion
2015-03-17 13:24:25 +01:00
obscuren
ff55c6f5ba
Merge branch 'develop' into conversion
...
Conflicts:
common/types.go
2015-03-17 13:09:22 +01:00
obscuren
b0ebccb31e
fixed to
2015-03-17 12:56:29 +01:00
obscuren
9663493ba0
Merge commit 'dffaa678f966f87dcd011671a16b554b29a37549' into develop
2015-03-17 12:02:50 +01:00
obscuren
843db4978e
updated blockpool
2015-03-16 23:10:26 +01:00
obscuren
b523441361
Moved ethutil => common
2015-03-16 11:27:38 +01:00
obscuren
d9966d6158
merge
2015-03-14 23:37:21 +01:00
Felix Lange
a80be98f31
tests: add helper functions for block tests
2015-03-13 18:41:09 +01:00
obscuren
f76cc6699e
Changed context and ADDMOD, MULMOD
...
* Cleaned up VM execution. VM run now takes a context
* ADDMOD/MULMOD - removed incorrect cast
2015-03-13 13:44:15 +01:00
obscuren
3a88da578f
Merge commit '6051345bc9ab8ccf74a49c43342771e0c2cba588' into develop
2015-03-12 22:32:05 +01:00
obscuren
310ca62285
Removed some of that gas pre pay magic
2015-03-12 22:29:10 +01:00