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

refactor(indexer): Fix traffic mirror panic on missing blocks #11313

Open
VanBarbascu opened this issue May 14, 2024 · 0 comments · May be fixed by #11315
Open

refactor(indexer): Fix traffic mirror panic on missing blocks #11313

VanBarbascu opened this issue May 14, 2024 · 0 comments · May be fixed by #11315
Assignees
Labels
A-indexer Area: NEAR Indexer related issues

Comments

@VanBarbascu
Copy link
Contributor

VanBarbascu commented May 14, 2024

Currently the traffic mirroring library is used by the indexer and by the forknet tool that mirrors traffic from mainnet to forknet.
Indexer need to crash if blocks are not found, while the forknet traffic generator does not need to and ca work by skipping the error.

The ask is to move the panic and propagate the error out of the mirroring library.
This unblocks forknet for stateless validation testing.

@VanBarbascu VanBarbascu changed the title Fix traffic mirroring panics for missing blocks Fix traffic mirror panic on missing blocks May 14, 2024
@khorolets khorolets transferred this issue from near/read-rpc May 15, 2024
@khorolets khorolets changed the title Fix traffic mirror panic on missing blocks refactor(indexer): Fix traffic mirror panic on missing blocks May 15, 2024
@khorolets khorolets added the A-indexer Area: NEAR Indexer related issues label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-indexer Area: NEAR Indexer related issues
Projects
None yet
2 participants