Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Recognize localdev.me as "local" domain #2619

Merged
merged 2 commits into from
Sep 30, 2023

Conversation

joroshiba
Copy link
Contributor

Motivation

When running an application in k8s locally it is common to use localdev.me domain for ingress, as documented in ingress-nginx docs. This is a domain owned by Amazon which DNS points to 127.0.01, can be considered stable. Ethers-rs, however, doesn't recognize this as a local chain.

My primary motivation here is for polling in foundry to have local polling behavior running against a local k8s cluster.

Solution

Update theis_local_endpoint rules to recognize localdev.me as local chain.

PR Checklist

  • Added Tests
  • Added Documentation (I don't think this is needed)
  • Breaking changes (none)

Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's reasonable

@DaniPopes DaniPopes merged commit b7e7c28 into gakonst:master Sep 30, 2023
19 checks passed
@joroshiba joroshiba deleted the joroshiba/other-localhost branch October 2, 2023 17:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants