-
Notifications
You must be signed in to change notification settings - Fork 75
improve(spoke-pool): Slow relay execution should emit FillRelay event #69
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
Conversation
chrismaree
left a comment
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.
good catch!
| // Note: Set repayment chain ID to 0 to indicate that there is no repayment to be made. The off-chain data | ||
| // worker can use repaymentChainId=0 as a signal to ignore such relays for refunds. | ||
| _emitFillRelay(relayHash, fillAmountPreFees, 0, relayerFeePct, relayData); |
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.
I think not emitting this event was intentional. What benefit does this one provide over using the other event that's already being emitted?
| ) | ||
| ) | ||
| ) | ||
| .to.emit(spokePool, "ExecutedSlowRelayRoot") |
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.
Why do we no longer check this event?
No description provided.