Jeffrey Wilcke
a91908e567
tests: updated
8 years ago
Jeffrey Wilcke
445feaeef5
core, core/state, trie: EIP158, reprice & skip empty account write
...
This commit implements EIP158 part 1, 2, 3 & 4
1. If an account is empty it's no longer written to the trie. An empty
account is defined as (balance=0, nonce=0, storage=0, code=0).
2. Delete an empty account if it's touched
3. An empty account is redefined as either non-existent or empty.
4. Zero value calls and zero value suicides no longer consume the 25k
reation costs.
params: moved core/config to params
Signed-off-by: Jeffrey Wilcke <jeffrey@ethereum.org>
8 years ago
Jeffrey Wilcke
64af2aafda
core, core/vm: added gas price variance table
...
This implements 1b & 1c of EIP150 by adding a new GasTable which must be
returned from the RuleSet config method. This table is used to determine
the gas prices for the current epoch.
Please note that when the CreateBySuicide gas price is set it is assumed
that we're in the new epoch phase.
In addition this PR will serve as temporary basis while refactorisation
in being done in the EVM64 PR, which will substentially overhaul the gas
price code.
8 years ago
Péter Szilágyi
461cdb593b
core, params, tests: add DAO hard-fork balance moves
8 years ago
Péter Szilágyi
90e07b19ab
cmd: fix CLI package deprecation warnings
9 years ago
Bas van Kervel
861add3d72
cmd/geth: codegansta/cli package renamed to urfave/cli
9 years ago
Felix Lange
6fdd0893c3
all: fix go vet warnings
9 years ago
Jeffrey Wilcke
f0cbebb19f
core: added basic chain configuration
...
Added chain configuration options and write out during genesis database
insertion. If no "config" was found, nothing is written to the database.
Configurations are written on a per genesis base. This means
that any chain (which is identified by it's genesis hash) can have their
own chain settings.
9 years ago
Jeffrey Wilcke
14013372ae
core: Added EVM configuration options
...
The EVM is now initialised with an additional configured object that
allows you to turn on debugging options.
9 years ago
Jeffrey Wilcke
67c8ccc309
cmd/ethtest: added trace flag for debugging
9 years ago
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
9 years ago
Taylor Gerring
d103af5dd4
Disassociate test directory from test name
9 years ago
Felix Lange
5da82077d1
cmd/ethtest, tests: add support for RLP JSON tests
9 years ago
Felix Lange
bdae4fd573
all: add some godoc synopsis comments
9 years ago
Felix Lange
e813626ee1
all: remove @author comments
9 years ago
Felix Lange
ea54283b30
all: update license information
9 years ago
Taylor Gerring
d1e589289c
Expand --test switch
10 years ago
Taylor Gerring
0743243dce
Add --skip option to CLI
...
Disassociates hardcoded tests to skip when running via CLI. Tests still
skipped when running `go test`
10 years ago
Taylor Gerring
01ec4dbb12
Add stdin option
10 years ago
Taylor Gerring
a86452d22c
Minor cleanup
10 years ago
Taylor Gerring
49336675f3
Expand CLI options to allow running all tests
10 years ago
Taylor Gerring
516362bcad
Allow specifying single depth directory
10 years ago
Taylor Gerring
c941a39b75
Cleanup logging
10 years ago
Taylor Gerring
6931267324
Wire ethtest to new tests structure
10 years ago
Taylor Gerring
6415ed0730
Require a first argument of test type
10 years ago
obscuren
f047699afb
Updated glog
10 years ago
obscuren
a7750c929b
Fixed tests to reflect log changes
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
obscuren
df5901fdc5
Removed more casts
10 years ago
obscuren
ad7e491214
improved test output
10 years ago
obscuren
d7ab716eea
Fixed mkdnode & added some tests
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
obscuren
80592f244d
more obvious failure for ethtest
10 years ago
obscuren
347cb272be
fixed ethtest
10 years ago
obscuren
fb71c9f6ee
Return 1 on fail
10 years ago
obscuren
31a95151c9
updated rnd vm test => state test
10 years ago
obscuren
ea9a549bbd
Removed exported fields from state object and added proper set/getters
10 years ago
obscuren
d5d9746ca3
updated tests
10 years ago
obscuren
585f259b63
Support input from args
10 years ago
obscuren
982c812e81
Read directly from stdin
10 years ago
obscuren
fed3e6a808
Refactored ethutil.Config.Db out
10 years ago
obscuren
117f66e823
Added license headers
10 years ago
obscuren
89244981a8
Additional checking on gas
10 years ago
obscuren
3664cd58e3
Updated testing tools
10 years ago
obscuren
33afb10b0d
clean up
10 years ago
obscuren
9bb1ac7564
Fixes for the log method
10 years ago
obscuren
bed659f9b3
Moved ethtest to cmd
10 years ago
Felix Lange
f3473312ba
all: fix rename breakage
10 years ago