sui icon indicating copy to clipboard operation
sui copied to clipboard

indexer: stop indexing tx_input_objects and tx_changed_objects

Open amnn opened this issue 4 months ago • 1 comments

Description

Stop indexing these tables in favour of tx_affected_objects. This change cannot land without GraphQL first being updated to avoid reading these tables (otherwise its tests will fail as these fields are no longer indexed), but the PR is being put out early for experimentation.

Test plan

sui$ cargo nextest run -p sui-indexer

Stack

  • #19708
  • #19802
  • #19803
  • #19804
  • #19805
  • #19806

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:

amnn avatar Oct 11 '24 14:10 amnn