You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using PollParams in downstream (watch-tower), it's frustrating to have to pass the orderbook config when the watch-tower already has an instantiated orderbook instance.
Details
Adjust the PollParams so that it accepts an instance of the orderbook api sdk.
Acceptance criteria
Downstream consumers don't pass orderbook config to anything except the orderbook's new constructor.
Orderbook instances are passed into the SDK's polling methods.
Context
i see what you mean. Yes, makes sense to pass an instance of the Orderbook API SDK
The text was updated successfully, but these errors were encountered:
mfw78
changed the title
i see what you mean. Yes, makes sense to pass an instance of the Orderbook API SDK
chore: PollParams to accept orderbook instance
Oct 19, 2023
Background
When using
PollParams
in downstream (watch-tower
), it's frustrating to have to pass the orderbook config when thewatch-tower
already has an instantiated orderbook instance.Details
Adjust the
PollParams
so that it accepts an instance of the orderbook api sdk.Acceptance criteria
Context
Originally posted by @anxolin in cowprotocol/watch-tower#112 (comment)
The text was updated successfully, but these errors were encountered: