Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 3a222db

Browse files
committed
comments
1 parent 125abaf commit 3a222db

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

apps/nextra/pages/en/build/indexer/indexer-sdk/advanced-tutorials/migration-guide.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: "Migrate to Indexer SDK"
44

55
# Migrate to Indexer SDK
66

7-
This guide contains instructions on how to migrate your custom processor (that's written in the [old way](https://github.com/aptos-labs/aptos-indexer-processors/blob/aptos-indexer-processors-v1.20.0/rust/processor/src/processors/events_processor.rs)) to Indexer SDK.
7+
This guide contains instructions on how to migrate your legacy custom processor (that's written in the [old way](https://github.com/aptos-labs/aptos-indexer-processors/blob/aptos-indexer-processors-v1.20.0/rust/processor/src/processors/events_processor.rs)) to Indexer SDK.
88

99
## 1. Clone the example repo
1010
We use example events processor in `aptos-indexer-processor-example` as a starting point for the migration.
@@ -13,8 +13,9 @@ git clone https://github.com/aptos-labs/aptos-indexer-processor-example.git
1313
```
1414

1515
## 2. Migrate your processor config
16-
In the old way, you created a branch of `aptos-indexer-processors` and updated the processor config to add your custom processor.
17-
This made it very difficult to upgrade your processor, so in the SDK, we've removed the dependency on `aptos-indexer-processors`.
16+
Previously, you would create a branch of `aptos-indexer-processors` and update the processor config to include your custom processor.
17+
This legacy approach made it very difficult to upgrade your processor.
18+
To address this, the SDK no longer depends on `aptos-indexer-processors`.
1819
As a result, you'll need to define your own `IndexerProcessorConfig` and `ProcessorConfig` structs.
1920

2021
The `IndexerProcessorConfig` defines the base configuration for all processors that you'll be running.

0 commit comments

Comments
 (0)