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

test: inscription indexing, parsing, sequencing and satoshi numbering #359

Merged
merged 34 commits into from
Sep 17, 2024

Conversation

rafaelcr
Copy link
Collaborator

@rafaelcr rafaelcr commented Sep 5, 2024

Adds a lot of unit tests. Also, refactors some of the code to make it easier to find and maintain:

  • Separate DB functions into different files by concern (rocksdb, ordinals sqlite, helpers)
  • Add test builders to create custom blocks, transactions, and inputs for testing
  • Consolidate DB connection functions into one single utility
  • Consolidate application configuration into the existing Config class

Increases test coverage from ~25% to ~50% 🚀

@rafaelcr rafaelcr changed the title test: add coverage for inscription indexing test: inscription indexing, parsing, sequencing and satoshi numbering Sep 13, 2024
@rafaelcr rafaelcr marked this pull request as ready for review September 16, 2024 15:32
@rafaelcr rafaelcr had a problem deploying to Development-mainnet-blue September 17, 2024 05:28 — with GitHub Actions Failure
@rafaelcr rafaelcr merged commit a0300ce into develop Sep 17, 2024
6 of 7 checks passed
@rafaelcr rafaelcr deleted the fix/stuff branch September 17, 2024 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant