Skip to content

[PVM-host] Enforce parallel accumulation service ID conflict rules using base snapshot#367

Merged
0xjunha merged 2 commits intomainfrom
fix-acc-par-merge
Feb 5, 2026
Merged

[PVM-host] Enforce parallel accumulation service ID conflict rules using base snapshot#367
0xjunha merged 2 commits intomainfrom
fix-acc-par-merge

Conversation

@0xjunha
Copy link
Copy Markdown
Member

@0xjunha 0xjunha commented Feb 5, 2026

Summary

Follow-up on #366.

According to the Graypaper, service IDs newly added or removed in the same parallel accumulation round must not conflict across different accumulate hosts. Reuse across different rounds is allowed (e.g., and ID removed in round 1 can be added in round 2).

Previously, the merge logic of single-service accumulations did not distinguish base state from same-round changes, which caused prior-round removals to be treated as conflicts in the current round.

This PR adds sets to track "base-state" vs "this-round" service ID changes when merging the accumulation results.

@0xjunha 0xjunha merged commit bddbf96 into main Feb 5, 2026
1 check passed
@0xjunha 0xjunha deleted the fix-acc-par-merge branch February 5, 2026 06:10
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