Skip to content

Commit

Permalink
Merge branch 'main' into saihaj/cleanup-resolvers
Browse files Browse the repository at this point in the history
  • Loading branch information
saihaj committed Jul 8, 2024
2 parents 16c3ca3 + 4ff3265 commit 430cdeb
Show file tree
Hide file tree
Showing 114 changed files with 6,981 additions and 1,391 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
build:
strategy:
matrix:
node-version: [18, 19, 20]
node-version: [18, 20, 22]
system:
- os: ubuntu-22.04
runs-on: ${{ matrix.system.os }}
Expand Down Expand Up @@ -53,3 +53,4 @@ jobs:
POSTGRES_TEST_PASSWORD: testpass
NODE_OPTIONS: "--dns-result-order=ipv4first"
INDEXER_TEST_JRPC_PROVIDER_URL: ${{ secrets.TESTS_RPC_PROVIDER }}
INDEXER_TEST_API_KEY: ${{ secrets.TESTS_API_KEY }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,4 @@ yalc.lock
# IDE
.idea/
.envrc
.vscode
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,23 +162,23 @@ Indexer Infrastructure
--rebate-claim-threshold Minimum value of rebate for a single
allocation (in GRT) in order for it to
be included in a batch rebate claim
on-chain [string] [default: "200"]
on-chain [string] [default: "1"]
--rebate-claim-batch-threshold Minimum total value of all rebates in an
batch (in GRT) before the batch is
claimed on-chain
[string] [default: "2000"]
[string] [default: "5"]
--rebate-claim-max-batch-size Maximum number of rebates inside a
batch. Upper bound is constrained by
available system memory, and by the
block gas limit [number] [default: 100]
--voucher-redemption-threshold Minimum value of rebate for a single
allocation (in GRT) in order for it to
be included in a batch rebate claim
on-chain [string] [default: "200"]
on-chain [string] [default: "1"]
--voucher-redemption-batch-threshold Minimum total value of all rebates in an
batch (in GRT) before the batch is
claimed on-chain
[string] [default: "2000"]
[string] [default: "5"]
--voucher-redemption-max-batch-size Maximum number of rebates inside a
batch. Upper bound is constrained by
available system memory, and by the
Expand Down
2 changes: 1 addition & 1 deletion docs/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -886,4 +886,4 @@ This is a sub-error of `IE069`. It is reported when the indexer agent doesn't ha

**Solution**

Please provide a `epoch-subgraph-endpoint` and make sure graph node has consistent network configurations (`mainnet`, `goerli`, `gnosis`) and is on or after version 0.28.0.
Please provide a `epoch-subgraph-endpoint` and make sure graph node has consistent network configurations (`mainnet`, `sepolia`, `gnosis`) and is on or after version 0.28.0.
72 changes: 37 additions & 35 deletions docs/feature-support-matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,50 +4,52 @@ As described in [GIP-0008](https://snapshot.org/#/council.graphprotocol.eth/prop

The matrix below reflects the canonical Council-ratified version. As outlined in GIP-00008, Council ratification is currently required for each update, which may happen at different stages of feature development and testing lifecycle.


| Subgraph Feature | Aliases | Implemented | Experimental | Query Arbitration | Indexing Arbitration | Indexing Rewards |
| ------------------------ | ------------- | ----------- | ------------ | ----------------- | -------------------- | ---------------- |
| **Core Features** | | | | | | |
| Full-text Search | | Yes | No | No | Yes | Yes |
| Non-Fatal Errors | | Yes | Yes | Yes | Yes | Yes |
| Grafting | | Yes | Yes | Yes | Yes | Yes |
| **Data Source Types** | | | | | | |
| eip155:* | * | Yes | No | No | No | No |
| eip155:1 | mainnet | Yes | No | Yes | Yes | Yes |
| eip155:100 | gnosis | Yes | Yes | Yes | Yes | Yes |
| near:* | * | Yes | Yes | No | No | No |
| cosmos:* | * | Yes | Yes | No | No | No |
| arweave:* | * | Yes | Yes | No | No | No |
| eip155:42161 | artbitrum-one | Yes | Yes | Yes | Yes | Yes |
| eip155:42220 | celo | Yes | Yes | Yes | Yes | Yes |
| eip155:43114 | avalanche | Yes | Yes | Yes | Yes | Yes |
| eip155:250 | fantom | Yes | Yes | Yes | Yes | Yes |
| eip155:137 | polygon | Yes | Yes | Yes | Yes | Yes |
| eip155:10 | optimism | Yes | Yes | Yes | Yes | Yes |
| **Data Source Features** | | | | | | |
| ipfs.cat in mappings | | Yes | Yes | No | No | No |
| ENS | | Yes | Yes | No | No | No |
| File data sources: IPFS | | Yes | Yes | No | Yes | Yes |
| Substreams: mainnet | | Yes | Yes | Yes | Yes | Yes |
| Substreams: optimism | | Yes | Yes | Yes | Yes | Yes |


The accepted `graph-node` version range must always be specified; it always comprises the latest available version and the one immediately preceding it.
| Subgraph Feature | Aliases | Implemented | Experimental | Query Arbitration | Indexing Arbitration | Indexing Rewards |
| -------------------------- | ------------- | ----------- | ------------ | ----------------- | -------------------- | ---------------- |
| **Core Features** | | | | | | |
| Full-text Search | | Yes | No | No | Yes | Yes |
| Non-Fatal Errors | | Yes | Yes | Yes | Yes | Yes |
| Grafting | | Yes | Yes | Yes | Yes | Yes |
| **Data Source Types** | | | | | | |
| eip155:\* | \* | Yes | No | No | No | No |
| eip155:1 | mainnet | Yes | No | Yes | Yes | Yes |
| eip155:100 | gnosis | Yes | Yes | Yes | Yes | Yes |
| near:\* | \* | Yes | Yes | No | No | No |
| cosmos:\* | \* | Yes | Yes | No | No | No |
| arweave:\* | \* | Yes | Yes | No | No | No |
| eip155:42161 | artbitrum-one | Yes | Yes | Yes | Yes | Yes |
| eip155:42220 | celo | Yes | Yes | Yes | Yes | Yes |
| eip155:43114 | avalanche | Yes | Yes | Yes | Yes | Yes |
| eip155:250 | fantom | Yes | Yes | Yes | Yes | Yes |
| eip155:137 | polygon | Yes | Yes | Yes | Yes | Yes |
| eip155:10 | optimism | Yes | Yes | Yes | Yes | Yes |
| eip155:8453 | base | Yes | Yes | Yes | Yes | Yes |
| eip155:534352 | scroll | Yes | Yes | Yes | Yes | Yes |
| eip155:59144 | linea | Yes | Yes | Yes | Yes | Yes |
| eip155:56 | bsc | Yes | Yes | Yes | Yes | Yes |
| **Data Source Features** | | | | | | |
| ipfs.cat in mappings | | Yes | Yes | No | No | No |
| ENS | | Yes | Yes | Yes | Yes | Yes |
| File data sources: Arweave | | Yes | Yes | No | Yes | Yes |
| File data sources: IPFS | | Yes | Yes | No | Yes | Yes |
| Substreams: mainnet | | Yes | Yes | Yes | Yes | Yes |
| Substreams: optimism | | Yes | Yes | Yes | Yes | Yes |

The accepted `graph-node` version range must always be specified; it always comprises the latest available version and the one immediately preceding it.
The latest for the feature matrix above:

```
graph-node: >=0.34.1 <0.35.0
graph-node: >=0.35.0 <0.36.0
```

### Latest Council snapshot
[GPP-0037 Update Feature Support Matrix (Graph Node v0.34.1)](https://snapshot.org/#/council.graphprotocol.eth/proposal/0x840a7de34b1dac9c7ef03d3170540abc5957ffd00564777aac9b253068a93723)



[GGP-0043: Updated Feature Matrix Support (base, bsc, scroll, linea)](https://snapshot.org/#/council.graphprotocol.eth/proposal/0x4226f917346416b76f77369181881bebbc9b4e3f66e9681e5fc4e56d7460eba7)

### Other notes
- Currently, one single matrix is used to reflect protocol behaviour for both Ethereum mainnet and Arbitrum One.

- Currently, one single matrix is used to reflect protocol behaviour for both Ethereum mainnet and Arbitrum One.
- Aliases can be used in subgraph manifest files to refer to specific networks.
- Experimental features are generally not fully supported for indexing rewards and arbitration, and usage of experimental features will be considered during any arbitration that does occur.
- Query fees apply to all queries, regardless of the underlying features used by a subgraph.
- Subgraph features not named in the matrix are assumed to be fully supported for indexing & query rewards and arbitration
- Subgraph features not named in the matrix are assumed to be fully supported for indexing & query rewards and arbitration
8 changes: 3 additions & 5 deletions docs/networks.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
# Mainnet and Testnet Configuration

> This content has been moved

[Ethereum Mainnet configuration](./networks/ethereum-mainnet.md)

[Arbitrum One configuration](./networks/arbitrum-one.md)

[Ethereum Goerli configuration](./networks/ethereum-goerli.md)
[Ethereum Sepolia configuration](./networks/ethereum-sepolia.md)

[Arbitrum Goerli configuration](./networks/arbitrum-goerli.md)
[Arbitrum Sepolia configuration](./networks/arbitrum-sepolia.md)

[Testnet setup instructions](./testnet-setup.md)

[Feature Support Matrix (Ethereum & Arbitrum One)](./feature-support-matrix.md)
[Feature Support Matrix (Ethereum & Arbitrum One)](./feature-support-matrix.md)
Loading

0 comments on commit 430cdeb

Please sign in to comment.