Replace the dependency
latest tag and saves that exact fork version. Commit the lockfile with the migration.Update package imports
Import package APIs from Keep Ponder virtual-module imports unchanged:
@subsquid/ponder in ponder.config.ts, ponder.schema.ts, and API files:Add a Portal dataset per chain
Add a Keep the RPC configured for realtime indexing, chain setup, and contract reads.
portal dataset URL beside each chain’s existing rpc URL:Validate a bounded range
Set a bounded Compare the resulting rows or application-level aggregates with the stock RPC path before widening the range. The repository’s migration guide includes compatibility checks and tooling that compares the two paths row by row.
startBlock and endBlock, then run the migrated app:Roll back
To return to stock Ponder, replace@subsquid/ponder with ponder, restore package imports, and remove the portal fields. Your handlers, schema, and virtual-module imports do not need to change.
Check Benchmarks and validation for the currently tested versions, sources, and datasets. Because the integration tracks active Ponder development, repeat the bounded comparison when upgrading either package line.