Skip to content

Conversation

@Reinis-FRP
Copy link
Contributor

Adds overriding to local chain_id in execute_v3_slow_relay_leaf. This makes SVM behavior consistent with EVM SpokePool: if someone was trying to replay slow fill targeted at another chain, this should fail the proof verification due to mismatched chain id.

Signed-off-by: Reinis Martinsons <reinis@umaproject.org>
Copy link
Member

@chrismaree chrismaree left a comment

Choose a reason for hiding this comment

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

really good check. the base slow fill implementation was missing many of these.

Copy link
Contributor

@md0x md0x left a comment

Choose a reason for hiding this comment

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

Looks good!

Signed-off-by: Reinis Martinsons <reinis@umaproject.org>
@Reinis-FRP Reinis-FRP merged commit 67ad74e into master Sep 20, 2024
9 checks passed
@Reinis-FRP Reinis-FRP deleted the reinis-frp/slow-fill-chain-id branch September 20, 2024 22:13
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.

4 participants