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

Fix: Prevent spawning of unnecessary chains #940

Merged
merged 6 commits into from
Apr 26, 2024
Merged

Conversation

hmoog
Copy link
Contributor

@hmoog hmoog commented Apr 25, 2024

This PR build on top of: #939 and fixes a problem where we created a short living chain for newly produced engine commitments that replace an already existing commitment extending the same chain.

The problem is fixed by registering ourselves as the main child of our parent (forceChain) before we initialize the behavior of the commitment (so it doesn't prematurely determine its chain).

@hmoog hmoog changed the base branch from develop to fix/tiebreaker April 25, 2024 19:12
@hmoog hmoog changed the title Fix/lazyinit Fix: Prevent chains from being spawned unnecessarily when publishing engine commitment Apr 25, 2024
@hmoog hmoog changed the title Fix: Prevent chains from being spawned unnecessarily when publishing engine commitment Fix: Prevent spawning of unnecessary chains Apr 25, 2024
Base automatically changed from fix/tiebreaker to develop April 26, 2024 06:54
@alexsporn alexsporn merged commit 849071e into develop Apr 26, 2024
4 checks passed
@alexsporn alexsporn deleted the fix/lazyinit branch April 26, 2024 06:56
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.

None yet

2 participants