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

Introduce E2E tests #532

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Introduce E2E tests #532

wants to merge 5 commits into from

Conversation

tdroxler
Copy link
Member

@tdroxler tdroxler commented Apr 29, 2024

Resolves #527

@tdroxler tdroxler force-pushed the e2e branch 4 times, most recently from c77419e to 5f21f47 Compare April 30, 2024 14:34
@tdroxler tdroxler changed the title CI test Introduce E2E tests Apr 30, 2024
@tdroxler tdroxler requested review from polarker and h0ngcha0 April 30, 2024 14:38
Previously, when updating inputs, the coinbase value from the output_ref
was incorrectly used in the transaction_per_address table.
This was incorrect because the output_ref's coinbase value is not the
actual transaction of the input. Additionally, a transaction with inputs
cannot be a coinbase transaction.

A migration is required to correct the coinbase values in the database.

Before this fix, API users may experience duplicate transactions for certain addresses.
This migration fix the coinbase value inside the
`transaction_per_addresse` table.

This take a while to fix around 13M txs, so the migration is run in
background while the explorer-backend still works normally.
I could happen that timestamp were the same for outputs, which then coud
have the sorting be different between psql and scala.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

E2E tests
1 participant