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

Treat chain names as lowercase #2249

Merged
merged 8 commits into from
Jul 3, 2023
Merged

Conversation

mattiekat
Copy link
Contributor

@mattiekat mattiekat commented May 16, 2023

Description

Had to do a little digging but I think this should fix not only the issue that was encountered but fully add support for whatever case they want, it will just treat it as lowercase but still display it correctly for their config paths.

The problem was that HyperlaneDomain was already lowercasing the name but we didn't lowercase the key that we used in from_config_filtered for the base RawSettings to look it up during parsing so we couldn't find the values.

Drive-by changes

None

Related issues

Backward compatibility

Are these changes backward compatible?

Yes

Are there any infrastructure implications, e.g. changes that would prohibit deploying older commits using this infra tooling?

None

Testing

What kind of testing have these changes undergone?

None

@nambrot
Copy link
Contributor

nambrot commented Jun 5, 2023

@mattiecnvr should we merge this

@mattiekat mattiekat requested a review from asaj June 5, 2023 22:46
@mattiekat mattiekat enabled auto-merge (squash) June 6, 2023 17:45
@mattiekat mattiekat assigned asaj and unassigned mattiekat Jun 6, 2023
@asaj asaj assigned mattiekat and unassigned asaj Jun 28, 2023
@codecov
Copy link

codecov bot commented Jul 3, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (35332f4) 64.71% compared to head (1fce514) 64.71%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2249   +/-   ##
=======================================
  Coverage   64.71%   64.71%           
=======================================
  Files          83       83           
  Lines        1312     1312           
  Branches      171      171           
=======================================
  Hits          849      849           
  Misses        456      456           
  Partials        7        7           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mattiekat mattiekat merged commit 420383e into main Jul 3, 2023
22 checks passed
@mattiekat mattiekat deleted the mattie/case-insensative-chain-names branch July 3, 2023 19:44
@mattiekat
Copy link
Contributor Author

oops, I did make a commit to dedup but forgot auto merge was on. Will followup with a small PR.

@mattiekat mattiekat mentioned this pull request Jul 3, 2023
mattiekat added a commit that referenced this pull request Jul 3, 2023
### Description

Missed this by accident from #2249

### Drive-by changes

None

### Related issues

### Backward compatibility

_Are these changes backward compatible?_

Yes

_Are there any infrastructure implications, e.g. changes that would
prohibit deploying older commits using this infra tooling?_

None


### Testing

_What kind of testing have these changes undergone?_

Unit Tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Agents cannot handle mixed case chain names
3 participants