Skip to content

Fix IPFS connection check with custom IPFS API url#23

Open
mikroskeem wants to merge 2 commits intosunriselayer:mainfrom
mikroskeem:bugfix/ipfs
Open

Fix IPFS connection check with custom IPFS API url#23
mikroskeem wants to merge 2 commits intosunriselayer:mainfrom
mikroskeem:bugfix/ipfs

Conversation

@mikroskeem
Copy link

Overview

Configuring sunrise-da with ipfs_api_url is currently broken, as kubo/client.rpc.NewURLApiWithClient expects non-nil http.Client arguments - when configured, sunrise-da will SIGSEGV with nil pointer dereference.

This PR also includes a note about IPFS_PATH - when running ipfs daemon with non-standard ($HOME/.ipfs) storage directory, then sunrise-da fails to figure out the configuration with ambiguous error message.

@mikroskeem
Copy link
Author

Related: #18

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

Successfully merging this pull request may close these issues.

1 participant