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

Add New Chain 6119 (SK) #1063

Merged
merged 4 commits into from
Jun 28, 2023
Merged

Conversation

dfenstermaker
Copy link
Contributor

@dfenstermaker dfenstermaker commented Jun 14, 2023

Add New Chain

Thanks for your pull request to add a new support in Sourcify.

If you haven't done so, please follow the instructions on how to request chain support in docs.

Please check the following items before submitting your pull request.

Checklist

  • The branch is named as add-chain-<chainId>.
  • I haven't modified the chains.json file directly.
  • In sourcify-chains.ts file
    • I've set supported: true.
    • I've set monitored: false.
    • I haven't added an rpc field but the one in chains.json is used (if not, please explain why).
  • I've added a test in chain-tests.js file.
  • test-new-chain test in Circle CI is passing.

View in Huly HI-651

@codecov-commenter
Copy link

Codecov Report

Patch coverage has no change and project coverage change: -7.62 ⚠️

Comparison is base (0a21ecc) 77.65% compared to head (c5e5e62) 70.04%.

Additional details and impacted files
@@             Coverage Diff             @@
##           staging    #1063      +/-   ##
===========================================
- Coverage    77.65%   70.04%   -7.62%     
===========================================
  Files           31       40       +9     
  Lines         1450     2270     +820     
  Branches       266      432     +166     
===========================================
+ Hits          1126     1590     +464     
- Misses         188      465     +277     
- Partials       136      215      +79     
Flag Coverage Δ
lib-sourcify 66.70% <ø> (?)
server 71.93% <ø> (-5.73%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/sourcify-chains.ts 84.94% <ø> (ø)

... and 12 files with indirect coverage changes

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

@kuzdogan
Copy link
Member

Hello

It seems you didn't add a test. Can you please add a chain test?

@dfenstermaker
Copy link
Contributor Author

Added the test and its failing but this is the right data

@kuzdogan
Copy link
Member

The file you're adding is not the metadata but the hardhat artifact.

Also please remove the changes the the server.port and console.log statements.

kuzdogan and others added 3 commits June 28, 2023 10:50
For some reason, exit 1 command was not killing the container as expected.

Instead first gracefully stop ipfs daemon and then terminate the
conatiner with `pkill entrypoint.sh`.
This will cause a restart as `restart: always` is set.
@kuzdogan
Copy link
Member

Rebased and tests passing 👍

@kuzdogan kuzdogan merged commit 9b61590 into ethereum:staging Jun 28, 2023
@dfenstermaker dfenstermaker deleted the add-chain-6119 branch July 11, 2023 14:40
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.

3 participants