-
Notifications
You must be signed in to change notification settings - Fork 421
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
Deduplicate provider instances at runtime #1384
Labels
Comments
@mattiecnvr how critical is it to do this soon? |
Not very. Definitely a nice to have change though. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently every
Mailbox
,MailboxIndexer
,InterchainGasPaymaster
,InterchainGasPaymasterIndexer
, ... (MakeableWithProvider
) type creates a duplicate provider instance. This is fine at some levels since they are not maintaining connections, but for things like metrics, we make calls on intervals to update certain information which causes redundant queries.Creating a way to deduplicate at least some levels of the stack will also allow for #1304 to be more useful.
The text was updated successfully, but these errors were encountered: