-
Notifications
You must be signed in to change notification settings - Fork 10
Feature make it compatible with theGraph network #437
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
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
41ab920
feat: Add GitHub Actions workflows for deploying and testing Subgraph…
gfournierPro aa25fb9
chore: remove Drone CI configuration for subgraph
gfournierPro 2674849
refactor(subgraph): update build process and dependencies, remove gen…
gfournierPro 0ea9bc6
feat: add environment configuration schema for subgraph
gfournierPro 30f42ee
fix: correct indentation for jobs section in Docker test workflow
gfournierPro c14e40b
fix: add tests/.latest.json to .gitignore
gfournierPro e99224f
feat: enhance docker-push workflow with environment input and improve…
gfournierPro d0fdff0
docs: update README.md for clarity on subgraph build and deployment p…
gfournierPro 7cb9f90
refactor: remove unused pipeline for publishing dataprotector-subgrap…
gfournierPro 24b47e4
fix: update local graph commands to include network name for consistency
gfournierPro 2c4f0c8
refactor: remove deprecated subgraph deployment pipeline from .drone.yml
gfournierPro e28ed9e
feat: add workflow to check and verify subgraph ABIs are up-to-date
gfournierPro 3b3158f
feat: add new Drone CI pipeline for subgraph build and deployment
gfournierPro 7598bef
refactor: remove check-subgraph-abis workflow as it is no longer needed
gfournierPro da6ea86
Merge branch 'develop' into feature/the-graph
gfournierPro File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,11 @@ | ||
| # environment to use for configuration (prod/staging) | ||
| ENV=prod | ||
| # The name of the network (e.g., mainnet, arbitrum, etc.) | ||
| NETWORK_NAME=... | ||
|
|
||
| # override the starting block for indexation of all contracts events | ||
| # START_BLOCK=0 | ||
| # The URL of the Graph Node endpoint for self-hosted Graph Node | ||
| GRAPHNODE_URL=... | ||
|
|
||
| # AppRegistry contract address override | ||
| # APP_REGISTRY_ADDRESS=0x... | ||
| # The URL of the IPFS endpoint for self-hosted IPFS | ||
| IPFS_URL=... | ||
|
|
||
| # DatasetRegistry contract address override | ||
| # DATASET_REGISTRY_ADDRESS=0x... | ||
|
|
||
| # Dataprotector contract address override | ||
| # DATAPROTECTOR_ADDRESS=0x... | ||
|
|
||
| # DataprotectorSharing contract address override | ||
| # DATAPROTECTOR_SHARING_ADDRESS=0x... | ||
|
|
||
| # AddOnlyAppWhitelistRegistry contract address override | ||
| # ADD_ONLY_APP_WHITELIST_REGISTRY_ADDRESS=0x... | ||
| # The version label for the deployment (e.g., v1.0.0) | ||
| VERSION_LABEL=... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,3 +11,4 @@ coverage.json | |
| # subgraph | ||
| generated | ||
| subgraph.yaml | ||
| tests/.latest.json | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| import 'dotenv/config'; | ||
| import { z } from 'zod'; | ||
|
|
||
| const envSchema = z.object({ | ||
| NETWORK_NAME: z.string().min(1, 'NETWORK_NAME is required').default('bellecour'), | ||
|
|
||
| GRAPHNODE_URL: z | ||
| .string() | ||
| .url('GRAPHNODE_URL must be a valid URL') | ||
| .default('http://localhost:8020'), | ||
|
|
||
| IPFS_URL: z.string().url('IPFS_URL must be a valid URL').default('http://localhost:5001'), | ||
|
|
||
| VERSION_LABEL: z.string().min(1, 'VERSION_LABEL is required').default('bellecour/poco-v5'), | ||
| }); | ||
|
|
||
| export const env = envSchema.parse(process.env); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| { | ||
| "fuji": { | ||
| "DataProtector": { | ||
| "address": "0x2296daeDD3090750a80fFB2D0147669984909ED2", | ||
| "startBlock": 39768073 | ||
| }, | ||
| "DatasetRegistry": { | ||
| "address": "0x3441A0C9FE488c51fcABa2bAAA048720f4D4F72D", | ||
| "startBlock": 39768073 | ||
| }, | ||
| "DataProtectorSharing": { | ||
| "address": "0x0000000000000000000000000000000000000000", | ||
| "startBlock": 0 | ||
| }, | ||
| "AppRegistry": { | ||
| "address": "0x4a6531ce5150ee716b2d93865D0fbB9ce5492D17", | ||
| "startBlock": 0 | ||
| }, | ||
| "AddOnlyAppWhitelistRegistry": { | ||
| "address": "0x0000000000000000000000000000000000000000", | ||
| "startBlock": 0 | ||
| } | ||
| }, | ||
| "arbitrum-sepolia": { | ||
| "DataProtector": { | ||
| "address": "0x2296daeDD3090750a80fFB2D0147669984909ED2", | ||
| "startBlock": 145960686 | ||
| }, | ||
| "DatasetRegistry": { | ||
| "address": "0x3441A0C9FE488c51fcABa2bAAA048720f4D4F72D", | ||
| "startBlock": 145960686 | ||
| }, | ||
| "DataProtectorSharing": { | ||
| "address": "0x0000000000000000000000000000000000000000", | ||
| "startBlock": 0 | ||
| }, | ||
| "AppRegistry": { | ||
| "address": "0x4a6531ce5150ee716b2d93865D0fbB9ce5492D17", | ||
| "startBlock": 0 | ||
| }, | ||
| "AddOnlyAppWhitelistRegistry": { | ||
| "address": "0x0000000000000000000000000000000000000000", | ||
| "startBlock": 0 | ||
| } | ||
| }, | ||
| "bellecour": { | ||
| "DataProtector": { | ||
| "address": "0x3a4Ab33F3D605e75b6D00A32A0Fa55C3628F6A59", | ||
| "startBlock": 25455501 | ||
| }, | ||
| "DatasetRegistry": { | ||
| "address": "0x0000000000000000000000000000000000000000", | ||
| "startBlock": 25455501 | ||
| }, | ||
| "DataProtectorSharing": { | ||
| "address": "0x1390c3c6a545198809F1C7c5Dd2600ef74D60925", | ||
| "startBlock": 28566236 | ||
| }, | ||
| "AppRegistry": { | ||
| "address": "0x0000000000000000000000000000000000000000", | ||
| "startBlock": 28566236 | ||
| }, | ||
| "AddOnlyAppWhitelistRegistry": { | ||
| "address": "0x498D324F711b8998Be81818742e268dEE30347c6", | ||
| "startBlock": 28566234 | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good 👍🏻