Closed W4RCL0UD closed 2 years ago
./restake-authz-ledger grant -v Fetching networks... ? Choose network Cosmos Hub ? Address cosmos1f23v7zsmx0z8sxwxxxxxxxxxxxxxxxxxx panic: interface conversion: error is errors.errorString, not errors.Error
goroutine 1 [running]: github.com/bjaanes/restake-authz-ledger/cmd.RunE.func1(0x18d21e0, {0xc000da06f0, 0x1, 0x1}) /app/cmd/root.go:34 +0xba github.com/spf13/cobra.(Command).execute(0x18d21e0, {0xc000da06d0, 0x1, 0x1}) /go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:856 +0x60e github.com/spf13/cobra.(Command).ExecuteC(0x18d2be0) /go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:974 +0x3bc github.com/spf13/cobra.(*Command).Execute(...) /go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:902 github.com/bjaanes/restake-authz-ledger/cmd.Execute() /app/cmd/root.go:19 +0x25 main.main() /app/main.go:10 +0x17
@W4RCL0UD I just pushed a new version that works locally for me, let me know if it works better for you with that one.
Hi, I have the same error. I use the windows AMD package
@guiomf could you try using linux (using WSL)? I am not able to reproduce and I am not able to test with Windows.
In WSL, same thing
./restake-authz-ledger grant -v Fetching networks... ? Choose network Cosmos Hub ? Address cosmos1y9eeddpen90a8aaaykrud8fc88ag2f93phm5gc panic: interface conversion: error is errors.errorString, not errors.Error
goroutine 1 [running]: github.com/bjaanes/restake-authz-ledger/cmd.RunE.func1(0x18a94e0?, {0xc000d169a0?, 0x1?, 0x1?}) /app/cmd/root.go:34 +0xbd github.com/spf13/cobra.(Command).execute(0x18a94e0, {0xc000d16980, 0x1, 0x1}) /go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:856 +0x67c github.com/spf13/cobra.(Command).ExecuteC(0x18a9ee0) /go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:974 +0x3b4 github.com/spf13/cobra.(*Command).Execute(...) /go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:902 github.com/bjaanes/restake-authz-ledger/cmd.Execute() /app/cmd/root.go:19 +0x25 main.main() /app/main.go:10 +0x17
I think I cleaned this up now, please try again with the newest version
Thanks you, it's OK now :-)
Thank you so much for checking and reporting back :)
./restake-authz-ledger grant -v Fetching networks... ? Choose network Stargaze ? Address stars1f23v7zsmx0z8sxw0draqqaxxxxxxxxxxxx panic: interface conversion: error is errors.errorString, not errors.Error
goroutine 1 [running]: github.com/bjaanes/restake-authz-ledger/cmd.RunE.func1(0x18d21e0, {0xc000619930, 0x1, 0x1}) /app/cmd/root.go:34 +0xba github.com/spf13/cobra.(Command).execute(0x18d21e0, {0xc000619910, 0x1, 0x1}) /go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:856 +0x60e github.com/spf13/cobra.(Command).ExecuteC(0x18d2be0) /go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:974 +0x3bc github.com/spf13/cobra.(*Command).Execute(...) /go/pkg/mod/github.com/spf13/cobra@v1.4.0/command.go:902 github.com/bjaanes/restake-authz-ledger/cmd.Execute() /app/cmd/root.go:19 +0x25 main.main() /app/main.go:10 +0x17