Skip to content

Conversation

@stanlou
Copy link
Collaborator

@stanlou stanlou commented Jan 20, 2026

Summary

This PR introduces new classes in the stack package that provide ready-to-use defaults for modules and configuration.

What’s Included

Default Modules & Configs

  • DefaultModules and DefaultConfigs
    • Centralized helpers that return the default module set and configuration for each supported option.
    • Designed to be composable and easy to override.

Goal

The goal of this change is to:

  • Reduce boilerplate for common setups
  • Provide clear defaults
  • Make it easy to bootstrap a Sequencer or AppChain while still allowing customization and overrides

@stanlou stanlou requested a review from rpanic January 20, 2026 10:21
@stanlou stanlou marked this pull request as ready for review January 24, 2026 04:45
graphiqlEnabled: true,
};
export const developmentConfig = {
proofsEnabled: false,
Copy link
Member

Choose a reason for hiding this comment

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

I really don't like that we are redefining all these configuration options here. Because we already have them defined on a module level - ConfigurableModule allows us to extract config typing.
I would queue a followup PR where we try to remove this middle layer and reuse the config types directly. Obviously we need some translation layer from ENV variables -> configs - we can think about how to best do this.
We should also separate clearly between mandatory configs, which we have to set in the starter kit (things like ports, connection strings, etc. - these will mostly be env variables as well) and then non-mandatory configuration, of which we have a quite a few as well, but which aren't included in here at all yet - that's where reusing the module's config types comes in handy

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