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

Create Integration tests for SLP Indexer #551

Open
christroutner opened this issue Feb 6, 2020 · 1 comment
Open

Create Integration tests for SLP Indexer #551

christroutner opened this issue Feb 6, 2020 · 1 comment
Labels
enhancement New feature or request Ready Issue is actionable

Comments

@christroutner
Copy link

christroutner commented Feb 6, 2020

@SpendBCH and I conducted some tests yesterday to validate balances being reported by the different SLP indexers.

The method we used was to look at old mainnet SLP tokens that have small numbers of transactions (a small DAG). For instance, here the genesis TXID for a token with only 2 addresses holding balances and only three transactions:

By using tokens like this, we were able to manually verify the results we were getting from SLPDB queries, the block explorer, and the Java Indexer. I asked Simple Ledger if they had developed any automated tests like this, that could be used to validate the data coming back from fully-synced SLPDB instances. They said there were no tests like this.

The scope of this issue is to create a series of Integration tests that can be run against SLPDB and the Java SLP Indexer to verify accurate balances for specific tokens where the balances can be validated manually.

@christroutner christroutner added enhancement New feature or request Ready Issue is actionable labels Feb 6, 2020
@christroutner
Copy link
Author

A first step for this task would be to create a candidate list of mainnet SLP tokens. Tokens that would make good candidates for this kind of test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Ready Issue is actionable
Projects
None yet
Development

No branches or pull requests

1 participant