You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website/src/pages/ar/archived/arbitrum/arbitrum-faq.mdx
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,6 @@ The Graph’s billing system accepts GRT on Arbitrum, and users will need ETH on
25
25
Consequently, to pay for queries, you need GRT on Arbitrum. Here are a few different ways to achieve this:
26
26
27
27
- 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:
Copy file name to clipboardExpand all lines: website/src/pages/ar/indexing/tap.mdx
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,6 @@ As long as you run `tap-agent` and `indexer-agent`, everything will be executed
38
38
3.`indexer-agent` takes all the last RAVS and sends redeem requests to the blockchain, which will update the value of `redeem_at`.
39
39
40
40
4. During the `<finality-time>` period, `indexer-agent` monitors if the blockchain has any reorganizations that revert the transaction.
41
-
42
41
- If it was reverted, the RAV is resent to the blockchain. If it was not reverted, it gets marked as `final`.
43
42
44
43
## Blockchain Addresses
@@ -77,17 +76,14 @@ The required software version can be found [here](https://github.com/graphprotoc
77
76
### Steps
78
77
79
78
1.**Indexer Agent**
80
-
81
79
- Follow the [same process](https://github.com/graphprotocol/indexer/pkgs/container/indexer-agent#graph-protocol-indexer-components).
82
80
- Give the new argument `--tap-subgraph-endpoint` to activate the new GraphTally codepaths and enable redeeming of RAVs.
83
81
84
82
2.**Indexer Service**
85
-
86
83
- 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).
87
84
- Like the older version, you can scale Indexer Service horizontally easily. It is still stateless.
88
85
89
86
3.**TAP Agent**
90
-
91
87
- 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).
Copy file name to clipboardExpand all lines: website/src/pages/ar/resources/glossary.mdx
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,6 @@ title: قائمة المصطلحات
15
15
-**Indexer**: Network participants that run indexing nodes to index data from blockchains and serve GraphQL queries.
16
16
17
17
-**Indexer Revenue Streams**: Indexers are rewarded in GRT with two components: query fee rebates and indexing rewards.
18
-
19
18
1.**Query Fee Rebates**: Payments from Subgraph consumers for serving queries on the network.
20
19
21
20
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: قائمة المصطلحات
43
42
-**Epoch**: A unit of time within the network. Currently, one epoch is 6,646 blocks or approximately 1 day.
44
43
45
44
-**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
-
47
45
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.
48
46
49
47
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.
Copy file name to clipboardExpand all lines: website/src/pages/ar/resources/roles/delegating/undelegating.mdx
-5Lines changed: 0 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,13 +13,11 @@ Learn how to withdraw your delegated tokens through [Graph Explorer](https://the
13
13
1. Visit [Graph Explorer](https://thegraph.com/explorer). Please make sure you're on Explorer and **not** Subgraph Studio.
14
14
15
15
2. Click on your profile. You can find it on the top right corner of the page.
16
-
17
16
- Make sure that your wallet is connected. If it's not connected, you will see the "connect" button instead.
18
17
19
18
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.
20
19
21
20
4. Click on the Indexer from which you wish to withdraw your tokens.
22
-
23
21
- Make sure to note the specific Indexer, as you will need to find them again to withdraw.
24
22
25
23
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
37
35
### Step-by-Step
38
36
39
37
1. Find your delegation transaction on Arbiscan.
40
-
41
38
- Here's an [example transaction on Arbiscan](https://arbiscan.io/tx/0xcf2110eac897099f821064445041031efb32786392bdbe7544a4cb7a6b2e4f9a)
42
39
43
40
2. Navigate to "Transaction Action" where you can find the staking extension contract:
44
-
45
41
-[This is the staking extension contract for the example listed above](https://arbiscan.io/address/0x00669A4CF01450B64E8A2A20E9b1FCB71E61eF03)
46
42
47
43
3. Then click on "Contract". 
@@ -59,7 +55,6 @@ Learn how to withdraw your delegated tokens through [Graph Explorer](https://the
59
55
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:
60
56
61
57

62
-
63
58
- This will return three numbers. The first number is the amount you can unstake.
64
59
65
60
10. After you have called `unstake`, you can withdraw after approximately 28 epochs (28 days) by calling the `withdraw` function.
Copy file name to clipboardExpand all lines: website/src/pages/ar/subgraphs/best-practices/grafting-hotfix.mdx
-6Lines changed: 0 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,12 +14,10 @@ This feature enables quick deployment of hotfixes for critical issues, eliminati
14
14
## Benefits of Grafting for Hotfixes
15
15
16
16
1.**Rapid Deployment**
17
-
18
17
-**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.
19
18
-**Immediate Recovery**: The new Subgraph continues from the last indexed block, ensuring that data services remain uninterrupted.
20
19
21
20
2.**Data Preservation**
22
-
23
21
-**Reuse Historical Data**: Grafting copies the existing data from the base Subgraph, so you don’t lose valuable historical records.
24
22
-**Consistency**: Maintains data continuity, which is crucial for applications relying on consistent historical data.
25
23
@@ -30,19 +28,16 @@ This feature enables quick deployment of hotfixes for critical issues, eliminati
30
28
## Best Practices When Using Grafting for Hotfixes
31
29
32
30
1.**Initial Deployment Without Grafting**
33
-
34
31
-**Start Clean**: Always deploy your initial Subgraph without grafting to ensure that it’s stable and functions as expected.
35
32
-**Test Thoroughly**: Validate the Subgraph’s performance to minimize the need for future hotfixes.
36
33
37
34
2.**Implementing the Hotfix with Grafting**
38
-
39
35
-**Identify the Issue**: When a critical error occurs, determine the block number of the last successfully indexed event.
40
36
-**Create a New Subgraph**: Develop a new Subgraph that includes the hotfix.
41
37
-**Configure Grafting**: Use grafting to copy data up to the identified block number from the failed Subgraph.
42
38
-**Deploy Quickly**: Publish the grafted Subgraph to restore service as soon as possible.
43
39
44
40
3.**Post-Hotfix Actions**
45
-
46
41
-**Monitor Performance**: Ensure the grafted Subgraph is indexing correctly and the hotfix resolves the issue.
47
42
-**Republish Without Grafting**: Once stable, deploy a new version of the Subgraph without grafting for long-term maintenance.
48
43
> 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
130
125
- **block**: Block number where grafting should begin.
131
126
132
127
3. **Deployment Steps**
133
-
134
128
- **Update the Code**: Implement the hotfix in your mapping scripts (e.g., handleWithdrawal).
135
129
- **Adjust the Manifest**: As shown above, update the `subgraph.yaml` with grafting configurations.
Copy file name to clipboardExpand all lines: website/src/pages/ar/subgraphs/developing/creating/install-the-cli.mdx
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,6 @@ graph init \
46
46
```
47
47
48
48
- The command tries to retrieve the contract ABI from Etherscan.
49
-
50
49
- 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.
51
50
52
51
- If any of the optional arguments are missing, it guides you through an interactive form.
@@ -87,7 +86,6 @@ Options:
87
86
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.
88
87
89
88
- The `--merge-entities` option identifies how the developer would like to handle `entity` and `event` name conflicts:
90
-
91
89
- If `true`: the new `dataSource` should use existing `eventHandlers` & `entities`.
92
90
93
91
- If `false`: a new `entity` & `event` handler should be created with `${dataSourceName}{EventName}`.
Copy file name to clipboardExpand all lines: website/src/pages/ar/subgraphs/developing/managing/deleting-a-subgraph.mdx
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,6 @@ Delete your Subgraph using [Subgraph Studio](https://thegraph.com/studio/).
17
17

18
18
19
19
4. Depending on the Subgraph's status, you will be prompted with various options.
20
-
21
20
- If the Subgraph is not published, simply click “delete” and confirm.
22
21
- 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.
0 commit comments