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

feat: override JsonRpcProvider referrer for game sdk #1064

Merged
merged 2 commits into from
Oct 25, 2023
Merged

Conversation

dom-murray
Copy link
Contributor

Summary

Version 5.7.2 of ethers by default adds a referrer "client" to RPC requests. This is causing an error for all requests on Unreal 4 as it's expecting a valid URL as the referrer. To fix this we are passing "http://imtblgamesdk.local" to both workaround this error and identify requests as coming from the Game SDKs.

Customer Impact

No impact to customers

Before submitting the PR, please consider the following:

  • Prefix your PR title with feat: , fix: , chore: , docs:, or refactor:.

@dom-murray dom-murray requested a review from a team as a code owner October 25, 2023 03:48
@dom-murray dom-murray enabled auto-merge (squash) October 25, 2023 04:52
@dom-murray dom-murray merged commit c3e02a1 into main Oct 25, 2023
6 checks passed
@dom-murray dom-murray deleted the feat-dx-2391 branch October 25, 2023 04:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants