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 898ba87984791249586b97c9ce340dd087b79d67)
10 years ago
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
10 years ago
Gustav Simonsson
2d8a2d0c99
Update JSON tests
10 years ago
Gustav Simonsson
6d20d634ca
Enable more tx tests by expecting most common encoding of values
10 years ago
Gustav Simonsson
6dc2146ed7
Remove unneeded map assignments for working tx RLP tests
10 years ago
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
10 years ago
Gustav Simonsson
1e18f4544b
Update JSON test files
10 years ago
obscuren
a7750c929b
Fixed tests to reflect log changes
10 years ago
obscuren
9c55576c7b
Block header changed & console miner control
...
* miner control moved to `admin.miner`
* miner option to set extra data
* block extra now bytes
10 years ago
obscuren
a0e44e3281
basic glog
10 years ago
obscuren
c59c826ab4
fixed stack level
10 years ago
obscuren
b8124ec791
Removed old (unused) argument
10 years ago
obscuren
0a554a1f27
Blocktest fixed, Execution fixed
...
* Added new CreateAccount method which properly overwrites previous
accounts (excluding balance)
* Fixed block tests (100% success)
10 years ago
obscuren
ff9d66e096
Cleaned up changes
10 years ago
obscuren
23bccbbc58
Modified according to poc 9 changes
...
* Refund of value
10 years ago
obscuren
7b8a47f484
removed legacy code
10 years ago
zelig
a983a215dc
fix ethtest logging
10 years ago
obscuren
0330077d76
moved state and vm to core
10 years ago
Gustav Simonsson
5d31a475e9
Fix new types for blocktests and comment out non-working log level setter
10 years ago
Gustav Simonsson
60de4d6dd1
gofmt
10 years ago
Gustav Simonsson
08bb472c91
Add validation of post state accounts to block tests
10 years ago
obscuren
942980609f
conversions
10 years ago
obscuren
86661de077
Fixed tests and bloom
10 years ago
obscuren
c21293cd91
bloom
10 years ago
obscuren
0fa7859b94
Fixed VM & Tests w/ conversion
10 years ago
obscuren
b0ebccb31e
fixed to
10 years ago
obscuren
843db4978e
updated blockpool
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
Felix Lange
a80be98f31
tests: add helper functions for block tests
10 years ago
obscuren
f76cc6699e
Changed context and ADDMOD, MULMOD
...
* Cleaned up VM execution. VM run now takes a context
* ADDMOD/MULMOD - removed incorrect cast
10 years ago
obscuren
310ca62285
Removed some of that gas pre pay magic
10 years ago
obscuren
11390a986a
run all test
10 years ago
obscuren
347cb272be
fixed ethtest
10 years ago
Felix Lange
80985f97da
cmd/evm, core, ethdb, state, tests/helper: remove ReadConfig calls
10 years ago
obscuren
9007f2bbdc
reworked stack
10 years ago
obscuren
0795fd2701
wip
10 years ago
obscuren
19efebe91e
Updated tests and fixed suicide
10 years ago
Paweł Bylica
0af08eca1f
Fix VM tests not checked
10 years ago
obscuren
ee0a1bec6c
GasLimit check updated
10 years ago
obscuren
c74c07eed1
Fixed error for invalid transaction
10 years ago
obscuren
fa831206c6
Updated gast costs
10 years ago
obscuren
524bf9e858
wup
10 years ago
obscuren
1650b59cd9
Delet => Delete
10 years ago
obscuren
49da6a8d80
Fixed test helper
10 years ago
obscuren
fa910966ed
Redone rlp
10 years ago
obscuren
c1ef19bef9
quad mem
10 years ago
obscuren
200f66537c
updated tests
10 years ago
obscuren
4f3f881c9b
removed tests
10 years ago
obscuren
b13735b400
updated tests
10 years ago
obscuren
ea9a549bbd
Removed exported fields from state object and added proper set/getters
10 years ago