Skip to content

fix: import should count on the delta #17819

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

tmelhao
Copy link
Contributor

@tmelhao tmelhao commented Aug 12, 2025

We're using the count in table to count the imported blocks, this is incorrect, we should use the delta count to check.

@tmelhao
Copy link
Contributor Author

tmelhao commented Aug 13, 2025

@mattsse @Rjected please take a look, i'm not sure why the test failed, seems not related

stdout ───

running 1 test

stderr ───

thread 'test_local_rpc_tests_compat' has overflowed its stack
fatal runtime error: stack overflow, aborting

(test aborted with signal 6: SIGABRT)

DELAY 2/3 by 1.196s reth-rpc-e2e-tests::e2e_testsuite test_local_rpc_tests_compat
RETRY 2/3 [ ] reth-rpc-e2e-tests::e2e_testsuite test_local_rpc_tests_compat
TRY 2 ABRT [ 0.728s] reth-rpc-e2e-tests::e2e_testsuite test_local_rpc_tests_compat
stdout ───

running 1 test

stderr ───

thread 'test_local_rpc_tests_compat' has overflowed its stack
fatal runtime error: stack overflow, aborting

@DaniPopes
Copy link
Member

Taking a look, I can reproduce with the exact command that CI runs and stable rust toolchain, but nothing else

tmel added 4 commits August 14, 2025 15:07
Signed-off-by: tmel <[email protected]>
Signed-off-by: tmel <[email protected]>
Signed-off-by: tmelhao <[email protected]>
@tmelhao tmelhao force-pushed the db-import-use-delta branch from 9d370fc to f3a57a2 Compare August 14, 2025 07:09
@tmelhao
Copy link
Contributor Author

tmelhao commented Aug 14, 2025

@DaniPopes please take another look, this PR is to fix the import count error

@tmelhao
Copy link
Contributor Author

tmelhao commented Aug 15, 2025

@mattsse ping

Copy link
Member

@DaniPopes DaniPopes left a comment

Choose a reason for hiding this comment

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

Makes sense, leaving to @mattsse

@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker Aug 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

2 participants