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: recognise vetted gateways configured in base meta #4138

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

okjodom
Copy link
Contributor

@okjodom okjodom commented Jan 26, 2024

Fedimint clients would only recognise [vetted gateways meta] field if configured via meta override url. This change allows clients to also read the same meta field on the base meta config. vetted gateways meta value from meta_override_url is preferred over value supplied from the base meta.

Copy link

codecov bot commented Jan 26, 2024

Codecov Report

Attention: 42 lines in your changes are missing coverage. Please review.

Comparison is base (ec3bf4e) 58.29% compared to head (13a5434) 58.04%.
Report is 159 commits behind head on master.

Files Patch % Lines
modules/fedimint-ln-client/src/lib.rs 26.41% 39 Missing ⚠️
fedimint-core/src/config.rs 70.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4138      +/-   ##
==========================================
- Coverage   58.29%   58.04%   -0.25%     
==========================================
  Files         192      197       +5     
  Lines       42708    43722    +1014     
==========================================
+ Hits        24896    25379     +483     
- Misses      17812    18343     +531     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

elsirion
elsirion previously approved these changes Jan 26, 2024
modules/fedimint-ln-client/src/lib.rs Show resolved Hide resolved
modules/fedimint-ln-client/src/lib.rs Outdated Show resolved Hide resolved
modules/fedimint-ln-client/src/lib.rs Outdated Show resolved Hide resolved
elsirion
elsirion previously approved these changes Feb 8, 2024
Copy link
Contributor

@elsirion elsirion left a comment

Choose a reason for hiding this comment

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

Looks ok, one nit

fedimint-core/src/config.rs Outdated Show resolved Hide resolved
@elsirion elsirion requested a review from dpc February 8, 2024 10:36
- fedimint clients would only recognise [vetted gateways meta] field if
  configured via meta override url. This change allows clients to also
read the same meta field on the base meta config
@justinmoon justinmoon added this pull request to the merge queue Feb 12, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 12, 2024
@elsirion elsirion added this pull request to the merge queue Feb 13, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Feb 13, 2024
@justinmoon justinmoon added this pull request to the merge queue Feb 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 15, 2024
@justinmoon justinmoon added this pull request to the merge queue Feb 15, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 15, 2024
@justinmoon justinmoon added this pull request to the merge queue Feb 15, 2024
Merged via the queue into fedimint:master with commit eaa9c2c Feb 15, 2024
26 checks passed
@fedimint-backports
Copy link

Backport failed for releases/v0.2, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin releases/v0.2
git worktree add -d .worktree/backport-4138-to-releases/v0.2 origin/releases/v0.2
cd .worktree/backport-4138-to-releases/v0.2
git switch --create backport-4138-to-releases/v0.2
git cherry-pick -x 13a54346c3ebb5d63df4f735316a4be70b0afc64

@github-actions github-actions bot mentioned this pull request Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants