Skip to content

sui_v1.39.0_1732098105_ci

@lxfind lxfind tagged this 20 Nov 06:52
## Description 

Decouples ingestion and benchmarking, remove the benchmark related code
from sui-indexer crate.
After this change, we will always first run synthetic ingestion to
generate a workload, and then separately, run indexer to benchmark it.
This has a few benefits:
1. We no longer need to maintain compatibility between indexer and
indexer-alt in terms of benchmark integration. This is good because it
is a lot easier to benchmark indexer-alt, since it supports stopping at
a specific checkpoint.
2. This will make it easier to use different types of ingestion
workload.

Also cleaned up the ingestion generation code by allowing generation
from checkpoint 0, and made sure that every checkpoint has the same
number of transactions.

## Test plan 

Updated tests.
---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] Indexer: 
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
- [ ] REST API:
Assets 2
Loading