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

chore(contracts): Refactor duplicated code to manage the Router address #820

Merged

Conversation

alainncls
Copy link
Collaborator

What does this PR do?

Introduces a RouterManger contract to avoid duplicating this piece of code everywhere

Related ticket

Fixes #819

Type of change

  • Chore
  • Bug fix
  • New feature
  • Documentation update

Check list

  • Unit tests for any smart contract change
  • Contracts and functions are documented

@alainncls alainncls self-assigned this Nov 25, 2024
@codecov-commenter
Copy link

codecov-commenter commented Nov 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.37%. Comparing base (7f57adb) to head (53d34df).

Additional details and impacted files
@@             Coverage Diff             @@
##              dev     #820       +/-   ##
===========================================
+ Coverage   48.96%   74.37%   +25.41%     
===========================================
  Files          18       51       +33     
  Lines         388      886      +498     
  Branches       61      183      +122     
===========================================
+ Hits          190      659      +469     
- Misses        195      224       +29     
  Partials        3        3               

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

@alainncls alainncls force-pushed the chore/refactor-duplicated-code-to-manage-the-router-address branch from 61bc606 to 78959ba Compare November 26, 2024 10:32
@alainncls alainncls force-pushed the chore/refactor-duplicated-code-to-manage-the-router-address branch from 78959ba to 53d34df Compare November 26, 2024 13:29
@alainncls alainncls merged commit 9c2f0ce into dev Nov 26, 2024
9 checks passed
@alainncls alainncls deleted the chore/refactor-duplicated-code-to-manage-the-router-address branch November 26, 2024 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TASK] Refactor duplicated code to manage the Router address
3 participants