aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/block_manager_test.go
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-03-24 17:24:39 +0800
committerMaran <maran.hidskes@gmail.com>2014-03-24 17:24:39 +0800
commit97786d03d57e1ca79e34ce5fd9aa172c61c3e665 (patch)
tree251a5e54305e5cedf568f2fb73dbff9302df4185 /ethchain/block_manager_test.go
parent274d5cc91c45349ec8d7a1f5a20ef29896b38b2e (diff)
parent6a86c517c4f4b372cad0ae1d92e926a482eac5ba (diff)
downloaddexon-97786d03d57e1ca79e34ce5fd9aa172c61c3e665.tar
dexon-97786d03d57e1ca79e34ce5fd9aa172c61c3e665.tar.gz
dexon-97786d03d57e1ca79e34ce5fd9aa172c61c3e665.tar.bz2
dexon-97786d03d57e1ca79e34ce5fd9aa172c61c3e665.tar.lz
dexon-97786d03d57e1ca79e34ce5fd9aa172c61c3e665.tar.xz
dexon-97786d03d57e1ca79e34ce5fd9aa172c61c3e665.tar.zst
dexon-97786d03d57e1ca79e34ce5fd9aa172c61c3e665.zip
Merge branch 'master' into miner
Diffstat (limited to 'ethchain/block_manager_test.go')
-rw-r--r--ethchain/block_manager_test.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/ethchain/block_manager_test.go b/ethchain/block_manager_test.go
index ec4fbe8c5..3a1e5f510 100644
--- a/ethchain/block_manager_test.go
+++ b/ethchain/block_manager_test.go
@@ -1,5 +1,6 @@
package ethchain
+/*
import (
_ "fmt"
"github.com/ethereum/eth-go/ethdb"
@@ -14,9 +15,10 @@ func TestVm(t *testing.T) {
db, _ := ethdb.NewMemDatabase()
ethutil.Config.Db = db
- bm := NewBlockManager(nil)
+ bm := NewStateManager(nil)
block := bm.bc.genesisBlock
+ bm.Prepare(block.State(), block.State())
script := Compile([]string{
"PUSH",
"1",
@@ -31,3 +33,4 @@ func TestVm(t *testing.T) {
tx2.Sign([]byte("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"))
bm.ApplyTransactions(block, []*Transaction{tx2})
}
+*/