aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi/bind
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-10-24 18:40:42 +0800
committerGitHub <noreply@github.com>2017-10-24 18:40:42 +0800
commit6d6a5a93370371a33fb815d7ae47b60c7021c86a (patch)
treeaa73dff1db3aa2566c2e74cf9ac37f13878fae80 /accounts/abi/bind
parentea5f2da39ad198e58107a79214419e31988c5e5a (diff)
downloadgo-tangerine-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar
go-tangerine-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.gz
go-tangerine-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.bz2
go-tangerine-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.lz
go-tangerine-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.xz
go-tangerine-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.zst
go-tangerine-6d6a5a93370371a33fb815d7ae47b60c7021c86a.zip
cmd, consensus, core, miner: instatx clique for --dev (#15323)
* cmd, consensus, core, miner: instatx clique for --dev * cmd, consensus, clique: support configurable --dev block times * cmd, core: allow --dev to use persistent storage too
Diffstat (limited to 'accounts/abi/bind')
-rw-r--r--accounts/abi/bind/backends/simulated.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/abi/bind/backends/simulated.go b/accounts/abi/bind/backends/simulated.go
index 0621e81c2..e1d5745ca 100644
--- a/accounts/abi/bind/backends/simulated.go
+++ b/accounts/abi/bind/backends/simulated.go
@@ -59,7 +59,7 @@ type SimulatedBackend struct {
// for testing purposes.
func NewSimulatedBackend(alloc core.GenesisAlloc) *SimulatedBackend {
database, _ := ethdb.NewMemDatabase()
- genesis := core.Genesis{Config: params.AllProtocolChanges, Alloc: alloc}
+ genesis := core.Genesis{Config: params.AllEthashProtocolChanges, Alloc: alloc}
genesis.MustCommit(database)
blockchain, _ := core.NewBlockChain(database, genesis.Config, ethash.NewFaker(), vm.Config{})
backend := &SimulatedBackend{database: database, blockchain: blockchain, config: genesis.Config}