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

Disable passing relays config to rbuilder #29

Merged
merged 1 commit into from
Jan 17, 2025
Merged

Disable passing relays config to rbuilder #29

merged 1 commit into from
Jan 17, 2025

Conversation

bakhtin
Copy link
Contributor

@bakhtin bakhtin commented Jan 16, 2025

πŸ“ Summary

Disable passing relays config to rbuilder, hardcode it in the Mustache template instead.

β›± Motivation and Context

Rendering loosely defined lists in Mustache templates leaves too much leeway for arbitrary formatted data, including passing arbitrary blocks of configuration.

πŸ“š References


βœ… I have run these commands

  • make lint
  • make test
  • go mod tidy

Signed-off-by: bakhtin <a@bakhtin.net>
Copy link

@MoeMahhouk MoeMahhouk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
don't you need to do the same for the configuration for other operators too and not only flashbots?

@bakhtin
Copy link
Contributor Author

bakhtin commented Jan 17, 2025

I do, this is just a data schema. The actual configuration will be stored in the BuilderHub DB.

@bakhtin bakhtin merged commit 8263227 into main Jan 17, 2025
2 checks passed
@bakhtin bakhtin deleted the ab-v1.2 branch January 17, 2025 12:51
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.

2 participants