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

Allow passing tracked L1s config #616

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Allow passing tracked L1s config #616

wants to merge 3 commits into from

Conversation

iansuvak
Copy link
Contributor

@iansuvak iansuvak commented Jan 3, 2025

Why this should be merged

Enables optional passing in of tracked L1s to signature-aggregator which allows for earlier connections and speeds up the tests in #694

How this works

How this was tested

Tested via E2E in #694 on the

How is this documented

TODO

TrackedL1s []string `mapstructure:"tracked-l1s" json:"tracked-l1s"`

// convenience fields
trackedL1s set.Set[ids.ID]
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's initialize this with set.NewSet() in Validate. It should be safe as is, but I prefer explicit constructor calls over implicit zero value initialization whenever possible.

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.

4 participants