Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--testnet crashes the node #8

Open
korjavin opened this issue Oct 16, 2018 · 0 comments
Open

--testnet crashes the node #8

korjavin opened this issue Oct 16, 2018 · 0 comments

Comments

@korjavin
Copy link

System information

1.5.3
Gdbix version: gdbix version
OS & Version: Windows/Linux/OSX
linux
Commit hash : (if develop)

Expected behaviour

If started with --testnet flag should start and connect to tesnet

Actual behaviour

It panics on the start

Steps to reproduce the behaviour

start with --testnet

Backtrace

I1016 14:27:46.583445 cmd/utils/flags.go:608] WARNING: No etherbase set and no accounts found as default
I1016 14:27:46.583849 dbixdb/database.go:83] Allotted 1024MB cache and 1024 file handles to /root/.dubaicoin/testnet/gdbix/chaindata
I1016 14:27:46.593309 dbixdb/database.go:176] closed db:/root/.dubaicoin/testnet/gdbix/chaindata
panic: failed to load default genesis: bzip2 data invalid: bad magic value

goroutine 1 [running]:
github.com/dubaicoin-dbix/go-dubaicoin/core.DefaultTestnetGenesisBlock(0xc42009c500, 0xdf3043)
	/go-dubaicoin/build/_workspace/src/github.com/dubaicoin-dbix/go-dubaicoin/core/genesis.go:201 +0x518
github.com/dubaicoin-dbix/go-dubaicoin/cmd/utils.RegisterEthService(0xc42009c500, 0xc4201338c0, 0xc4204de0e0, 0x19, 0x19)
	/go-dubaicoin/build/_workspace/src/github.com/dubaicoin-dbix/go-dubaicoin/cmd/utils/flags.go:757 +0x8fd
main.makeFullNode(0xc42009c500, 0xc42026a347)
	/go-dubaicoin/build/_workspace/src/github.com/dubaicoin-dbix/go-dubaicoin/cmd/gdbix/main.go:211 +0x204
main.gdbix(0xc42009c500, 0xe59800, 0xb2d05e00)
	/go-dubaicoin/build/_workspace/src/github.com/dubaicoin-dbix/go-dubaicoin/cmd/gdbix/main.go:187 +0x2b
github.com/dubaicoin-dbix/go-dubaicoin/vendor/gopkg.in/urfave/cli%2ev1.HandleAction(0xcaa8e0, 0xe5a920, 0xc42009c500, 0xc42009c500, 0xc4204a9f40)
	/go-dubaicoin/build/_workspace/src/github.com/dubaicoin-dbix/go-dubaicoin/vendor/gopkg.in/urfave/cli.v1/app.go:485 +0xd2
github.com/dubaicoin-dbix/go-dubaicoin/vendor/gopkg.in/urfave/cli%2ev1.(*App).Run(0xc420078340, 0xc420010100, 0x10, 0x10, 0x0, 0x0)
	/go-dubaicoin/build/_workspace/src/github.com/dubaicoin-dbix/go-dubaicoin/vendor/gopkg.in/urfave/cli.v1/app.go:259 +0x695
main.main()
	/go-dubaicoin/build/_workspace/src/github.com/dubaicoin-dbix/go-dubaicoin/cmd/gdbix/main.go:177 +0x55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant