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

add validation for channel id upon rollapp validation on delayed ack #794

Closed
omritoptix opened this issue Apr 3, 2024 · 0 comments · Fixed by #796
Closed

add validation for channel id upon rollapp validation on delayed ack #794

omritoptix opened this issue Apr 3, 2024 · 0 comments · Fixed by #796
Assignees

Comments

@omritoptix
Copy link
Contributor

Currently we're only validating the sequencer val hash.
As reported by Khanh from decentrio, a malicious chain could:

  1. fake the rollapp packet id
  2. fake the nextValHash to be the same as our sequencer

In that case the malicious rollapp packet can snick into the queue.

We should also verify the rollapp against the known channel and by that prevent that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants