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(contracts): Deployment script doesn't work as intended for PortalRegistry #833

Conversation

alainncls
Copy link
Collaborator

What does this PR do?

Moves the isTestnet param from the constructor to the initialize function

Related ticket

Fixes #807

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 27, 2024
@codecov-commenter
Copy link

codecov-commenter commented Nov 27, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 74.12%. Comparing base (f50828b) to head (de93854).

Files with missing lines Patch % Lines
contracts/src/PortalRegistry.sol 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##              dev     #833       +/-   ##
===========================================
+ Coverage   48.84%   74.12%   +25.28%     
===========================================
  Files          18       51       +33     
  Lines         389      885      +496     
  Branches       63      187      +124     
===========================================
+ Hits          190      656      +466     
- Misses        196      226       +30     
  Partials        3        3               

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

@alainncls alainncls force-pushed the fix/deployment-script-doesnt-work-as-intended-for-portalregistry branch from a2bdc70 to ba3f33d Compare November 27, 2024 11:02
@alainncls alainncls marked this pull request as draft November 27, 2024 15:19
@alainncls alainncls force-pushed the fix/deployment-script-doesnt-work-as-intended-for-portalregistry branch from ba3f33d to dcdcb0c Compare November 27, 2024 17:37
@alainncls alainncls marked this pull request as ready for review November 27, 2024 17:39
@satyajeetkolhapure satyajeetkolhapure force-pushed the fix/deployment-script-doesnt-work-as-intended-for-portalregistry branch from dcdcb0c to f7964f0 Compare November 28, 2024 11:06
@satyajeetkolhapure satyajeetkolhapure merged commit 3ce6449 into dev Nov 28, 2024
9 checks passed
@satyajeetkolhapure satyajeetkolhapure deleted the fix/deployment-script-doesnt-work-as-intended-for-portalregistry branch November 28, 2024 11:18
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.

[BUG] Deployment script doesn't work as intended for PortalRegistry
3 participants