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

ioctl ioid register crashing on mainnet #4452

Open
simonerom opened this issue Oct 18, 2024 · 0 comments
Open

ioctl ioid register crashing on mainnet #4452

simonerom opened this issue Oct 18, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@simonerom
Copy link
Member

 ioctl config set endpoint api.iotex.one:443
 ioctl ioid register myproject  


panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
github.com/iotexproject/iotex-core/ioctl/cmd/ioid.register({0xc00068b8d0?, 0x0?, 0x0?})
	/home/back/Source/GitHub/iotex-core/ioctl/cmd/ioid/projectregister.go:96 +0x2e5
github.com/iotexproject/iotex-core/ioctl/cmd/ioid.init.func5(0xc00014ca00?, {0xc00068b8d0?, 0x4?, 0x1243986?})
	/home/back/Source/GitHub/iotex-core/ioctl/cmd/ioid/projectregister.go:43 +0x25
github.com/spf13/cobra.(*Command).execute(0x1ebe1a0, {0xc00068b8b0, 0x1, 0x1})
	/home/back/go/pkg/mod/github.com/spf13/[email protected]/command.go:872 +0x6a2
github.com/spf13/cobra.(*Command).ExecuteC(0xc00054e588)
	/home/back/go/pkg/mod/github.com/spf13/[email protected]/command.go:990 +0x38d
github.com/spf13/cobra.(*Command).Execute(0xc000006380?)
	/home/back/go/pkg/mod/github.com/spf13/[email protected]/command.go:918 +0x13
main.main()
	/home/back/Source/GitHub/iotex-core/tools/ioctl/ioctl.go:16 +0x18
@simonerom simonerom added the bug Something isn't working label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants