Skip to content

project does not run #154

@jrynkiew

Description

@jrynkiew
2022-02-13T10:03:54.189+0100	FATAL	iotex-election/main.go:49	failed to create server	{"error": "Invalid staking contract address", "errorVerbose": "Invalid staking contract address\ngithub.com/iotexproject/iotex-election/committee.NewCommittee\n\t/home/jeremi/Code/JRPC/external/iotex-election/committee/committee.go:137\ngithub.com/iotexproject/iotex-election/server.NewServer\n\t/home/jeremi/Code/JRPC/external/iotex-election/server/server.go:69\ngithub.com/iotexproject/iotex-election/server.NewServerMix\n\t/home/jeremi/Code/JRPC/external/iotex-election/server/servermix.go:32\nmain.main\n\t/home/jeremi/Code/JRPC/external/iotex-election/main.go:47\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:255\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1581"}
main.main
	/home/jeremi/Code/JRPC/external/iotex-election/main.go:49
runtime.main
	/usr/local/go/src/runtime/proc.go:255
Makefile:51: recipe for target 'run' failed
make: *** [run] Error 1

This is the error I receive when attempting to run the iotex-election project.

I ran:
go mod tidy
make run

The project compiled, but when running it failed due to this error. Do the configuration files need to be updated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions