aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/blocktestcmd.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2015-06-23 22:48:33 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-07-07 16:43:31 +0800
commit83ee39448e0f23d42dff27bccde27f828afa3707 (patch)
tree429fa8f20a4bc017a58ffc4c7c0ed8596d1d206f /cmd/geth/blocktestcmd.go
parentd764bd058457cd9eb91d205d1ac187d40c4866d6 (diff)
downloaddexon-83ee39448e0f23d42dff27bccde27f828afa3707.tar
dexon-83ee39448e0f23d42dff27bccde27f828afa3707.tar.gz
dexon-83ee39448e0f23d42dff27bccde27f828afa3707.tar.bz2
dexon-83ee39448e0f23d42dff27bccde27f828afa3707.tar.lz
dexon-83ee39448e0f23d42dff27bccde27f828afa3707.tar.xz
dexon-83ee39448e0f23d42dff27bccde27f828afa3707.tar.zst
dexon-83ee39448e0f23d42dff27bccde27f828afa3707.zip
Registrar and contractInfo handling
* resolver -> common/registrar * global registrar name registry interface * add Call to resolver backend interface * the hashReg and UrlHing contracts now initialised from global registry * initialization of contracts uniform * improve errors and more econsistent method names * common/registrar/ethreg: versioned registrar * integrate new naming and registrar in natspec * js console api: setGlobalRegistrar, setHashReg, setUrlHint * js test TestContract uses mining - tests fixed all pass * eth/backend: allow PoW test mode (small ethash DAG) * console jsre refers to resolver.abi/addr, * cmd/geth/contracts.go moved to common/registrar
Diffstat (limited to 'cmd/geth/blocktestcmd.go')
-rw-r--r--cmd/geth/blocktestcmd.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/geth/blocktestcmd.go b/cmd/geth/blocktestcmd.go
index 116eec2b3..ffea4400e 100644
--- a/cmd/geth/blocktestcmd.go
+++ b/cmd/geth/blocktestcmd.go
@@ -86,7 +86,6 @@ func runBlockTest(ctx *cli.Context) {
}
func runOneBlockTest(ctx *cli.Context, test *tests.BlockTest) (*eth.Ethereum, error) {
- // TODO remove in favor of logic contained in tests package
cfg := utils.MakeEthConfig(ClientIdentifier, Version, ctx)
cfg.NewDB = func(path string) (common.Database, error) { return ethdb.NewMemDatabase() }
cfg.MaxPeers = 0 // disable network