Skip to content

Commit 85f5513

Browse files
committed
Run pnpm check:fix
1 parent 4921830 commit 85f5513

File tree

240 files changed

+0
-610
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

240 files changed

+0
-610
lines changed

website/src/pages/ar/archived/arbitrum/arbitrum-faq.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ The Graph’s billing system accepts GRT on Arbitrum, and users will need ETH on
2525
Consequently, to pay for queries, you need GRT on Arbitrum. Here are a few different ways to achieve this:
2626

2727
- If you already have GRT on Ethereum, you can bridge it to Arbitrum. You can do this via the GRT bridging option provided in Subgraph Studio or by using one of the following bridges:
28-
2928
- [The Arbitrum Bridge](https://bridge.arbitrum.io/?l2ChainId=42161)
3029
- [TransferTo](https://transferto.xyz/swap)
3130

website/src/pages/ar/indexing/overview.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -680,13 +680,11 @@ graph indexer actions execute approve
680680
Note that supported action types for allocation management have different input requirements:
681681

682682
- `Allocate` - allocate stake to a specific Subgraph deployment
683-
684683
- required action params:
685684
- deploymentID
686685
- amount
687686

688687
- `Unallocate` - close allocation, freeing up the stake to reallocate elsewhere
689-
690688
- required action params:
691689
- allocationID
692690
- deploymentID
@@ -695,7 +693,6 @@ Note that supported action types for allocation management have different input
695693
- force (forces using the provided POI even if it doesn’t match what the graph-node provides)
696694

697695
- `Reallocate` - atomically close allocation and open a fresh allocation for the same Subgraph deployment
698-
699696
- required action params:
700697
- allocationID
701698
- deploymentID

website/src/pages/ar/indexing/tap.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ As long as you run `tap-agent` and `indexer-agent`, everything will be executed
3838
3. `indexer-agent` takes all the last RAVS and sends redeem requests to the blockchain, which will update the value of `redeem_at`.
3939

4040
4. During the `<finality-time>` period, `indexer-agent` monitors if the blockchain has any reorganizations that revert the transaction.
41-
4241
- If it was reverted, the RAV is resent to the blockchain. If it was not reverted, it gets marked as `final`.
4342

4443
## Blockchain Addresses
@@ -77,17 +76,14 @@ The required software version can be found [here](https://github.com/graphprotoc
7776
### Steps
7877

7978
1. **Indexer Agent**
80-
8179
- Follow the [same process](https://github.com/graphprotocol/indexer/pkgs/container/indexer-agent#graph-protocol-indexer-components).
8280
- Give the new argument `--tap-subgraph-endpoint` to activate the new GraphTally codepaths and enable redeeming of RAVs.
8381

8482
2. **Indexer Service**
85-
8683
- Fully replace your current configuration with the [new Indexer Service rs](https://github.com/graphprotocol/indexer-rs). It's recommend that you use the [container image](https://github.com/orgs/graphprotocol/packages?repo_name=indexer-rs).
8784
- Like the older version, you can scale Indexer Service horizontally easily. It is still stateless.
8885

8986
3. **TAP Agent**
90-
9187
- Run _one_ single instance of [TAP Agent](https://github.com/graphprotocol/indexer-rs) at all times. It's recommend that you use the [container image](https://github.com/orgs/graphprotocol/packages?repo_name=indexer-rs).
9288

9389
4. **Configure Indexer Service and TAP Agent**

website/src/pages/ar/resources/glossary.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ title: قائمة المصطلحات
1515
- **Indexer**: Network participants that run indexing nodes to index data from blockchains and serve GraphQL queries.
1616

1717
- **Indexer Revenue Streams**: Indexers are rewarded in GRT with two components: query fee rebates and indexing rewards.
18-
1918
1. **Query Fee Rebates**: Payments from Subgraph consumers for serving queries on the network.
2019

2120
2. **Indexing Rewards**: The rewards that Indexers receive for indexing Subgraphs. Indexing rewards are generated via new issuance of 3% GRT annually.
@@ -43,7 +42,6 @@ title: قائمة المصطلحات
4342
- **Epoch**: A unit of time within the network. Currently, one epoch is 6,646 blocks or approximately 1 day.
4443

4544
- **Allocation**: An Indexer can allocate their total GRT stake (including Delegators' stake) towards Subgraphs that have been published on The Graph's decentralized network. Allocations can have different statuses:
46-
4745
1. **Active**: An allocation is considered active when it is created onchain. This is called opening an allocation, and indicates to the network that the Indexer is actively indexing and serving queries for a particular Subgraph. Active allocations accrue indexing rewards proportional to the signal on the Subgraph, and the amount of GRT allocated.
4846

4947
2. **Closed**: An Indexer may claim the accrued indexing rewards on a given Subgraph by submitting a recent, and valid, Proof of Indexing (POI). This is known as closing an allocation. An allocation must have been open for a minimum of one epoch before it can be closed. The maximum allocation period is 28 epochs. If an Indexer leaves an allocation open beyond 28 epochs, it is known as a stale allocation. When an allocation is in the **Closed** state, a Fisherman can still open a dispute to challenge an Indexer for serving false data.

website/src/pages/ar/resources/roles/delegating/undelegating.mdx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,11 @@ Learn how to withdraw your delegated tokens through [Graph Explorer](https://the
1313
1. Visit [Graph Explorer](https://thegraph.com/explorer). Please make sure you're on Explorer and **not** Subgraph Studio.
1414

1515
2. Click on your profile. You can find it on the top right corner of the page.
16-
1716
- Make sure that your wallet is connected. If it's not connected, you will see the "connect" button instead.
1817

1918
3. Once you're in your profile, click on the Delegating tab. In the Delegating tab, you can view the list of Indexers you have delegated to.
2019

2120
4. Click on the Indexer from which you wish to withdraw your tokens.
22-
2321
- Make sure to note the specific Indexer, as you will need to find them again to withdraw.
2422

2523
5. Select the "Undelegate" option by clicking on the three dots next to the Indexer on the right side, see image below:
@@ -37,11 +35,9 @@ Learn how to withdraw your delegated tokens through [Graph Explorer](https://the
3735
### Step-by-Step
3836

3937
1. Find your delegation transaction on Arbiscan.
40-
4138
- Here's an [example transaction on Arbiscan](https://arbiscan.io/tx/0xcf2110eac897099f821064445041031efb32786392bdbe7544a4cb7a6b2e4f9a)
4239

4340
2. Navigate to "Transaction Action" where you can find the staking extension contract:
44-
4541
- [This is the staking extension contract for the example listed above](https://arbiscan.io/address/0x00669A4CF01450B64E8A2A20E9b1FCB71E61eF03)
4642

4743
3. Then click on "Contract". ![Contract tab on Arbiscan, between NFT Transfers and Events](/img/arbiscan-contract.png)
@@ -59,7 +55,6 @@ Learn how to withdraw your delegated tokens through [Graph Explorer](https://the
5955
9. If you don't know how many tokens you delegated, you can call `getDelegation` on the Read Custom tab. You will need to paste your address (delegator address) and the address of the Indexer that you delegated to, as shown in the following screenshot:
6056

6157
![Both of the addresses needed](/img/get-delegate.png)
62-
6358
- This will return three numbers. The first number is the amount you can unstake.
6459

6560
10. After you have called `unstake`, you can withdraw after approximately 28 epochs (28 days) by calling the `withdraw` function.

website/src/pages/ar/subgraphs/best-practices/grafting-hotfix.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@ This feature enables quick deployment of hotfixes for critical issues, eliminati
1414
## Benefits of Grafting for Hotfixes
1515

1616
1. **Rapid Deployment**
17-
1817
- **Minimize Downtime**: When a Subgraph encounters a critical error and stops indexing, grafting enables you to deploy a fix immediately without waiting for re-indexing.
1918
- **Immediate Recovery**: The new Subgraph continues from the last indexed block, ensuring that data services remain uninterrupted.
2019

2120
2. **Data Preservation**
22-
2321
- **Reuse Historical Data**: Grafting copies the existing data from the base Subgraph, so you don’t lose valuable historical records.
2422
- **Consistency**: Maintains data continuity, which is crucial for applications relying on consistent historical data.
2523

@@ -30,19 +28,16 @@ This feature enables quick deployment of hotfixes for critical issues, eliminati
3028
## Best Practices When Using Grafting for Hotfixes
3129

3230
1. **Initial Deployment Without Grafting**
33-
3431
- **Start Clean**: Always deploy your initial Subgraph without grafting to ensure that it’s stable and functions as expected.
3532
- **Test Thoroughly**: Validate the Subgraph’s performance to minimize the need for future hotfixes.
3633

3734
2. **Implementing the Hotfix with Grafting**
38-
3935
- **Identify the Issue**: When a critical error occurs, determine the block number of the last successfully indexed event.
4036
- **Create a New Subgraph**: Develop a new Subgraph that includes the hotfix.
4137
- **Configure Grafting**: Use grafting to copy data up to the identified block number from the failed Subgraph.
4238
- **Deploy Quickly**: Publish the grafted Subgraph to restore service as soon as possible.
4339

4440
3. **Post-Hotfix Actions**
45-
4641
- **Monitor Performance**: Ensure the grafted Subgraph is indexing correctly and the hotfix resolves the issue.
4742
- **Republish Without Grafting**: Once stable, deploy a new version of the Subgraph without grafting for long-term maintenance.
4843
> Note: Relying on grafting indefinitely is not recommended as it can complicate future updates and maintenance.
@@ -130,7 +125,6 @@ Suppose you have a Subgraph tracking a smart contract that has stopped indexing
130125
- **block**: Block number where grafting should begin.
131126
132127
3. **Deployment Steps**
133-
134128
- **Update the Code**: Implement the hotfix in your mapping scripts (e.g., handleWithdrawal).
135129
- **Adjust the Manifest**: As shown above, update the `subgraph.yaml` with grafting configurations.
136130
- **Deploy the Subgraph**:

website/src/pages/ar/subgraphs/developing/creating/install-the-cli.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ graph init \
4646
```
4747

4848
- The command tries to retrieve the contract ABI from Etherscan.
49-
5049
- The Graph CLI relies on a public RPC endpoint. While occasional failures are expected, retries typically resolve this issue. If failures persist, consider using a local ABI.
5150

5251
- If any of the optional arguments are missing, it guides you through an interactive form.
@@ -87,7 +86,6 @@ Options:
8786
The `graph add` command will fetch the ABI from Etherscan (unless an ABI path is specified with the `--abi` option) and creates a new `dataSource`, similar to how the `graph init` command creates a `dataSource` `--from-contract`, updating the schema and mappings accordingly. This allows you to index implementation contracts from their proxy contracts.
8887

8988
- The `--merge-entities` option identifies how the developer would like to handle `entity` and `event` name conflicts:
90-
9189
- If `true`: the new `dataSource` should use existing `eventHandlers` & `entities`.
9290

9391
- If `false`: a new `entity` & `event` handler should be created with `${dataSourceName}{EventName}`.

website/src/pages/ar/subgraphs/developing/managing/deleting-a-subgraph.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ Delete your Subgraph using [Subgraph Studio](https://thegraph.com/studio/).
1717
![Delete-subgraph](/img/Delete-subgraph.png)
1818

1919
4. Depending on the Subgraph's status, you will be prompted with various options.
20-
2120
- If the Subgraph is not published, simply click “delete” and confirm.
2221
- If the Subgraph is published, you will need to confirm on your wallet before the Subgraph can be deleted from Studio. If a Subgraph is published to multiple networks, such as testnet and mainnet, additional steps may be required.
2322

website/src/pages/ar/subgraphs/explorer.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ When you click into a Subgraph, you will be able to do the following:
2626

2727
- Test queries in the playground and be able to leverage network details to make informed decisions.
2828
- Signal GRT on your own Subgraph or the Subgraphs of others to make indexers aware of its importance and quality.
29-
3029
- This is critical because signaling on a Subgraph incentivizes it to be indexed, meaning it’ll eventually surface on the network to serve queries.
3130

3231
![Explorer Image 2](/img/Subgraph-Details.png)

website/src/pages/ar/subgraphs/mcp/claude.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ Once you've entered your Gateway API key into your settings, save the file and r
8585
2. **Find the Command Path**
8686

8787
After building, the executable will be located at `target/release/subgraph-mcp` inside your project directory.
88-
8988
- Navigate to your `subgraph-mcp` directory in terminal
9089
- Run `pwd` to get the full path
9190
- Combine the output with `/target/release/subgraph-mcp`

0 commit comments

Comments
 (0)