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

Remove chain router from node.Config #2683

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

StephenButtolph
Copy link
Contributor

Why this should be merged

We used to use this to inject custom chain routers into node instances. We no longer do this, so we can cleanup the router initialization (a bit). I was hoping we could also replace Initialize with a constructor... But currently there is a circular dependency between the benchlist manager and the router.

How this works

  • Moves the chain router from the config struct to the node struct.

How this was tested

  • CI

@StephenButtolph StephenButtolph added the cleanup Code quality improvement label Jan 31, 2024
@StephenButtolph StephenButtolph added this to the v1.10.20 milestone Jan 31, 2024
@StephenButtolph StephenButtolph self-assigned this Jan 31, 2024
@StephenButtolph StephenButtolph added this pull request to the merge queue Jan 31, 2024
Merged via the queue into master with commit 14508dd Jan 31, 2024
17 checks passed
@StephenButtolph StephenButtolph deleted the move-chain-router-creation branch January 31, 2024 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code quality improvement
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants