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

Fix user controller to use custom Safe API Kit instance when interacting with Filecoin networks #253

Merged

Conversation

pheuberger
Copy link
Member

Without this patch the Multisig upsert strategy is trying to construct the SafeAPIKit instance using the default constructor. The problem is that on Filecoin and Filecoin Calibration the transaction service is hosted by a third party and thus needs a custom txServiceUrl in the config.

The Filecoin documentation doesn't exactly specifiy the full path to be
used with the SafeAPIKit SDK. After some digging I found that the API
isn't expected to be under /api by default. That means it needs to be
specified explicitly.

https://docs.safe.global/sdk/api-kit/guides/migrate-to-v2
Without this patch the Multisig upsert strategy is trying to construct
the SafeAPIKit instance using the default constructor. The problem is
that on Filecoin and Filecoin Calibration the transaction service is
hosted by a third party and thus needs a custom txServiceUrl in the
config.
@bitbeckers bitbeckers self-requested a review February 10, 2025 11:28
@bitbeckers bitbeckers added the bug Something isn't working label Feb 10, 2025
@bitbeckers bitbeckers merged commit fed67a6 into hypercerts-org:develop Feb 12, 2025
2 checks passed
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
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants