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

node: (cleanup) remove injectC in favor of using msgC directly #3211

Merged
merged 1 commit into from
Aug 25, 2023

Conversation

tbjump
Copy link
Contributor

@tbjump tbjump commented Jul 17, 2023

Place injected governance messages into msgC directly instead of having a separate codepath for governance messages.

Note that this change necessitates moving a defense-in-depth security check from processor/message.go to node/options.go. The check is to prevent watchers from emitting governance messages and I think it makes sense for it to be located with the other checks for watcher messages.

Copy link
Contributor Author

tbjump commented Jul 17, 2023

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@tbjump tbjump marked this pull request as draft July 19, 2023 04:19
@tbjump tbjump changed the base branch from main to tbjump/testGovernance July 19, 2023 14:18
Base automatically changed from tbjump/testGovernance to main August 14, 2023 18:18
@tbjump tbjump marked this pull request as ready for review August 14, 2023 18:19
@tbjump tbjump requested review from SEJeff and removed request for hendrikhofstadt August 21, 2023 14:17
bruce-riley
bruce-riley previously approved these changes Aug 21, 2023
@tbjump
Copy link
Contributor Author

tbjump commented Aug 25, 2023

Resolved merge conflicts.

@tbjump tbjump merged commit 1d2e26c into main Aug 25, 2023
22 checks passed
@tbjump tbjump deleted the tbjump/noInjectC branch August 25, 2023 18:02
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.

3 participants