-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem
When the watch-tower is indexing single orders, it will immediately attempt to poll on the same block at which the order was created. This may not be the desired effect.
Suggested solution
In the create and createWithContext functions within ComposableCoW, in ConditionalOrderCreated, emit the polling hints.
Alternatives considered
Rely on adapted interfaces in #73 to supply the block hints. Effectively the addition of on-creation hints will save one standard block polling cycle for the conditional order.
Additional context
This is only valid for single orders. As setRoot provides a root of many orders, these orders may have different logic, and therefore it's not practicable, or gas efficient to emit events for all orders within indicating when they should be polled.
Acceptance criteria
-
ConditionalOrderCreatedevent updated to also emit watch tower hints for single orders.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request