-
Notifications
You must be signed in to change notification settings - Fork 47
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
move builders to it's own package #286
Conversation
5cc7ba3
to
47bcb7c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Just some small nits wrt being consistent with the FromConfig or not. Think we should use the same convention everywhere?
elChainReader, err := elcontracts.NewReaderFromConfig( | ||
elcontracts.Config{ | ||
DelegationManagerAddress: avsBindings.DelegationManagerAddr, | ||
AvsDirectoryAddress: avsBindings.AvsDirectoryAddr, | ||
}, | ||
client, | ||
logger, | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we really need this to be created outside and passed via dependency injection? Or could we just build it inside the NewChainWriter constructor?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm good ques. idk. need to think more
Fixes # .
What Changed?
Reviewer Checklist