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

E2E test SL (DA) layer returns wrong blocks #1291

Open
danwt opened this issue Dec 20, 2024 · 0 comments
Open

E2E test SL (DA) layer returns wrong blocks #1291

danwt opened this issue Dec 20, 2024 · 0 comments
Assignees

Comments

@danwt
Copy link
Contributor

danwt commented Dec 20, 2024

On my branch

#1288

I'm getting the wrong blocks when pulling from DA, in the e2e test

        �jtime="Dec 20 12:19:09.445" level=info msg="syncing to target height[targetHeight 1]" module=block_manager
        �ptime="Dec 20 12:19:09.446" level=info msg="Retrieved state update from SL.[state_index 1]" module=block_manager
        �ptime="Dec 20 12:19:09.446" level=debug msg="trying to retrieve batch from DA[daHeight 92]" module=block_manager
        �etime="Dec 20 12:19:09.447" level=debug msg="retrieved batches[n 1 daHeight 92]" module=block_manager
        ��time="Dec 20 12:19:09.447" level=info msg="Freezing node[err block not valid at height 1, dropping it: err:block: possible fraud, double check using correct DRS and block version: invalid dym header: height : 1]" module=block_manager
        ��$time="Dec 20 12:19:09.447" level=error msg="ErrGroup goroutine.[err process next DA batch. err:apply block: height: 1: block not valid at height 1, dropping it: err:block: possible fraud, double check using correct DRS and block version: invalid dym header: height : 1]" module=block_manager
        ��time="Dec 20 12:19:09.447" level=error msg="node is unhealthy[error block not valid at height 1, dropping it: err:block: possible fraud, double check using correct DRS and block version: invalid dym header: height : 1]"

Which is due to this error

return ErrInvalidDymHeaderHash

But it should be impossible since all blocks come from this func

block.Header.SetDymHeader(types.MakeDymHeader(block.Data.ConsensusMessages))


It seems like the e2e test is getting corrupted blocks/local DA is not properly storing. But not sure.


logs_32305702115.zip

e2e

https://github.com/dymensionxyz/rollapp-evm/actions/runs/12431048644/job/34707953066

@danwt danwt assigned danwt and srene Dec 20, 2024
@danwt danwt changed the title E2E test SL layer returns wrong blocks E2E test SL (DA) layer returns wrong blocks Dec 20, 2024
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

No branches or pull requests

2 participants