Skip to content

[PVM-host] Reject blocks with duplicate NEW service ids#366

Merged
0xjunha merged 4 commits intomainfrom
service-id-dup
Feb 3, 2026
Merged

[PVM-host] Reject blocks with duplicate NEW service ids#366
0xjunha merged 4 commits intomainfrom
service-id-dup

Conversation

@0xjunha
Copy link
Copy Markdown
Member

@0xjunha 0xjunha commented Feb 3, 2026

Summary

This PR fixes Service ID handling during accumulation:

  • Reject blocks when two services create the same NEW ID in the same parallel accumulation round (true duplicate).
  • Allow reuse of IDs removed earlier in the block (the check function ignores Removed).
  • Ensure a later NEW overrides a prior Removed entry during merge (no silent skip).

@0xjunha 0xjunha merged commit c60df8e into main Feb 3, 2026
1 check passed
@0xjunha 0xjunha deleted the service-id-dup branch February 3, 2026 17:07
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.

1 participant