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

[WIP] Horizon: add subgraph data service #946

Merged
merged 71 commits into from
May 17, 2024
Merged

Conversation

tmigone
Copy link
Contributor

@tmigone tmigone commented Feb 20, 2024

No description provided.

@tmigone tmigone changed the title chore: use eslint-graph-config feat: add subgraph data service Feb 20, 2024
@tmigone tmigone changed the title feat: add subgraph data service [WIP/Experimental] BREAKING CHANGE: add subgraph data service Feb 20, 2024
@tmigone tmigone marked this pull request as draft February 20, 2024 20:37
Copy link

openzeppelin-code bot commented Feb 22, 2024

[WIP] Horizon: add subgraph data service

Generated at commit: 3afdd91fdf334087d994cd8b1e6a9d06364eb5ed

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
2
4
0
16
43
65
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

Copy link

socket-security bot commented Feb 23, 2024

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"
Install scripts npm/[email protected]

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

@tmigone tmigone force-pushed the horizon branch 2 times, most recently from 31237f0 to a9a6717 Compare March 18, 2024 13:07
@tmigone tmigone force-pushed the tmigone/subgraph-service branch from 94d9a0e to ecd9767 Compare March 18, 2024 13:39
Copy link

socket-security bot commented Mar 18, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@types/[email protected] None 0 1.68 MB types
npm/[email protected] environment 0 448 kB eemeli

🚮 Removed packages: npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@babel/[email protected], npm/@changesets/[email protected], npm/@changesets/[email protected], npm/@changesets/[email protected], npm/@changesets/[email protected], npm/@changesets/[email protected], npm/@changesets/[email protected], npm/@changesets/[email protected], npm/@changesets/[email protected], npm/@changesets/[email protected], npm/@changesets/[email protected], npm/@changesets/[email protected], npm/@changesets/[email protected], npm/@changesets/[email protected], npm/@changesets/[email protected], npm/@changesets/[email protected], npm/@changesets/[email protected], npm/@commitlint/[email protected], npm/@commitlint/[email protected], npm/@commitlint/[email protected], npm/@commitlint/[email protected], npm/@commitlint/[email protected], npm/@commitlint/[email protected], npm/@commitlint/[email protected], npm/@commitlint/[email protected], npm/@commitlint/[email protected], npm/@commitlint/[email protected], npm/@commitlint/[email protected], npm/@commitlint/[email protected], npm/@commitlint/[email protected], npm/@commitlint/[email protected], npm/@commitlint/[email protected], npm/@commitlint/[email protected], npm/@commitlint/[email protected], npm/@graphprotocol/[email protected], npm/@graphprotocol/[email protected], npm/@graphprotocol/[email protected], npm/@graphprotocol/[email protected], npm/@graphprotocol/[email protected], npm/@manypkg/[email protected], npm/@manypkg/[email protected], npm/@nodelib/[email protected], npm/@nodelib/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

@tmigone tmigone force-pushed the tmigone/subgraph-service branch from 68c3311 to ea5cdcd Compare March 19, 2024 17:38
Copy link

codecov bot commented Mar 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.70%. Comparing base (a94a455) to head (ddc82ab).

Current head ddc82ab differs from pull request most recent head 3afdd91

Please upload reports for the commit 3afdd91 to get more accurate results.

Additional details and impacted files
@@           Coverage Diff            @@
##           horizon     #946   +/-   ##
========================================
  Coverage    92.70%   92.70%           
========================================
  Files           46       46           
  Lines         2370     2370           
  Branches       426      426           
========================================
  Hits          2197     2197           
  Misses         173      173           
Flag Coverage Δ
unittests 92.70% <ø> (ø)

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

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

Signed-off-by: Tomás Migone <[email protected]>
@tmigone tmigone force-pushed the tmigone/subgraph-service branch from ee0f4b4 to f519b79 Compare March 21, 2024 21:02
@tmigone tmigone changed the base branch from horizon to main March 21, 2024 21:02
@tmigone tmigone changed the base branch from main to horizon March 21, 2024 21:02
@tmigone tmigone force-pushed the tmigone/subgraph-service branch from f519b79 to 8a32061 Compare March 21, 2024 21:04
tmigone added 5 commits March 26, 2024 15:10
Signed-off-by: Tomás Migone <[email protected]>
Signed-off-by: Tomás Migone <[email protected]>
Signed-off-by: Tomás Migone <[email protected]>
Signed-off-by: Tomás Migone <[email protected]>
tmigone and others added 28 commits April 25, 2024 12:37
Signed-off-by: Tomás Migone <[email protected]>
Signed-off-by: Tomás Migone <[email protected]>
Signed-off-by: Tomás Migone <[email protected]>
Signed-off-by: Tomás Migone <[email protected]>
Signed-off-by: Tomás Migone <[email protected]>
…nager-tests

fix: horizon dispute manager tests
Signed-off-by: Tomás Migone <[email protected]>
@tmigone tmigone marked this pull request as ready for review May 17, 2024 20:54
@tmigone tmigone merged commit 46e5da5 into horizon May 17, 2024
3 of 8 checks passed
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.

3 participants