Skip to content

Commit 832a323

Browse files
committed
fix broken links
1 parent d4f9439 commit 832a323

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/indexer/build/mapping-functions/mapping/polkadot.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ A `SubstrateBlock` is an extended interface type of [signedBlock](https://polkad
2727

2828
You can use event handlers to capture information when certain events are included on a new block. The events that are part of the default runtime and a block may contain multiple events.
2929

30-
During the processing, the event handler will receive an event as an argument with the event's typed inputs and outputs. Any type of event will trigger the mapping, allowing activity with the data source to be captured. You should use [Mapping Filters](../manifest/chain-specific/polkadot.md#mapping-handlers-and-filters) in your manifest to filter events to reduce the time it takes to index data and improve mapping performance.
30+
During the processing, the event handler will receive an event as an argument with the event's typed inputs and outputs. Any type of event will trigger the mapping, allowing activity with the data source to be captured. You should use [Mapping Filters](../../manifest/chain-specific/polkadot.md#mapping-handlers-and-filters) in your manifest to filter events to reduce the time it takes to index data and improve mapping performance.
3131

3232
```ts
3333
import { SubstrateEvent } from "@subql/types";
@@ -63,7 +63,7 @@ async function handleEvmLog(event: SubstrateEvent<[EvmLog]>): Promise<void> {
6363

6464
## Call Handler
6565

66-
Call handlers are used when you want to capture information on certain substrate extrinsics. You should use [Mapping Filters](../manifest/chain-specific/polkadot.md#mapping-handlers-and-filters) in your manifest to filter calls to reduce the time it takes to index data and improve mapping performance.
66+
Call handlers are used when you want to capture information on certain substrate extrinsics. You should use [Mapping Filters](../../manifest/chain-specific/polkadot.md#mapping-handlers-and-filters) in your manifest to filter calls to reduce the time it takes to index data and improve mapping performance.
6767

6868
```ts
6969
export async function handleCall(extrinsic: SubstrateExtrinsic): Promise<void> {
@@ -170,7 +170,7 @@ Next, copy and paste the output to a JSON file. In our [kitty example](https://g
170170

171171
**Type definitions**
172172

173-
We assume that the user knows the specific types and RPC support from the chain, and it is defined in the [Manifest](../manifest/chain-specific/polkadot.md#custom-chains).
173+
We assume that the user knows the specific types and RPC support from the chain, and it is defined in the [Manifest](../../manifest/chain-specific/polkadot.md#custom-chains).
174174

175175
Following [types setup](https://polkadot.js.org/docs/api/examples/promise/typegen#metadata-setup), we create :
176176

docs/indexer/quickstart/how-it-works.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Finally, there are three types of mapping handlers (you can have more than one i
7575
* TransactionHandlers: On each and every transaction that matches optional filter criteria, run a mapping function
7676
* LogHandlers: On each and every log that matches optional filter criteria, run a mapping function
7777
78-
The hello-world project has a transaction handler called "handleTransaction" and a LogHandler called "handleLog". These are exported functions that will be explained in the [mapping handlers](../build/mapping/ethereum.md) section. When a filter condition is met, the associated handler is called.
78+
The hello-world project has a transaction handler called "handleTransaction" and a LogHandler called "handleLog". These are exported functions that will be explained in the [mapping handlers](../build/mapping-functions/mapping/ethereum.md) section. When a filter condition is met, the associated handler is called.
7979
8080
:::details handlers
8181
```ts

0 commit comments

Comments
 (0)