diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2017-03-01 06:18:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-01 06:18:13 +0800 |
commit | 7ff75ac2f2f8a62d52367271194aa7889a5b5c88 (patch) | |
tree | 5df5082a037b3479fb4fc714c7dc48d41d169416 /cmd/utils | |
parent | 167be7f260763bb21e703d304b553142d5422266 (diff) | |
download | dexon-7ff75ac2f2f8a62d52367271194aa7889a5b5c88.tar dexon-7ff75ac2f2f8a62d52367271194aa7889a5b5c88.tar.gz dexon-7ff75ac2f2f8a62d52367271194aa7889a5b5c88.tar.bz2 dexon-7ff75ac2f2f8a62d52367271194aa7889a5b5c88.tar.lz dexon-7ff75ac2f2f8a62d52367271194aa7889a5b5c88.tar.xz dexon-7ff75ac2f2f8a62d52367271194aa7889a5b5c88.tar.zst dexon-7ff75ac2f2f8a62d52367271194aa7889a5b5c88.zip |
cmd/utils, core, params: fork all teh things for dev mode (#3697)
Diffstat (limited to 'cmd/utils')
-rw-r--r-- | cmd/utils/flags.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 25c3a1ada..a586ffeb3 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -861,6 +861,8 @@ func MakeChainConfigFromDb(ctx *cli.Context, db ethdb.Database) *params.ChainCon if defaults { if ctx.GlobalBool(TestNetFlag.Name) { config = params.TestnetChainConfig + } else if ctx.GlobalBool(DevModeFlag.Name) { + config = params.AllProtocolChanges } else { // Homestead fork config.HomesteadBlock = params.MainNetHomesteadBlock |