Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[indexer]: Create script to autogenerate indexer schema #5012

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

tomxey
Copy link
Contributor

@tomxey tomxey commented Jan 24, 2025

Description of change

Create script to autogenerate indexer schema.

Based on upstream patch MystenLabs/sui#19337

Links to any relevant issues

fixes #5008

Type of change

  • Enhancement (a non-breaking change which adds functionality)

How the change has been tested

./scripts/generate_indexer_schema.sh
cargo ci-clippy
cargo +nightly ci-fmt
cargo test --profile simulator --package=iota-indexer --features shared_test_runtime

Change checklist

Tick the boxes that are relevant to your changes, and delete any items that are not.

  • I have followed the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that new and existing unit tests pass locally with my changes

@tomxey tomxey self-assigned this Jan 24, 2025
Copy link

vercel bot commented Jan 24, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
apps-backend ⬜️ Ignored (Inspect) Visit Preview Jan 24, 2025 10:24am
apps-ui-kit ⬜️ Ignored (Inspect) Visit Preview 💬 Add feedback Jan 24, 2025 10:24am
rebased-explorer ⬜️ Ignored (Inspect) Visit Preview Jan 24, 2025 10:24am
wallet-dashboard ⬜️ Ignored (Inspect) Visit Preview 💬 Add feedback Jan 24, 2025 10:24am

@iota-ci iota-ci added infrastructure Issues related to the Infrastructure Team sc-platform Issues related to the Smart Contract Platform group. labels Jan 24, 2025
@tomxey tomxey marked this pull request as ready for review January 24, 2025 11:20
@tomxey tomxey requested review from a team as code owners January 24, 2025 11:20
Copy link
Contributor

@kodemartin kodemartin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm ⛱️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Issues related to the Infrastructure Team sc-platform Issues related to the Smart Contract Platform group.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

indexer: ensure schema always matches what diesel generated
3 participants