-
Notifications
You must be signed in to change notification settings - Fork 3
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
No template op stack script #42
Conversation
This reverts commit d17fded.
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
const toBlock = | ||
(await this.childChainProvider.getBlockNumber()) - this.blockLag; | ||
const logs = await this.childChainProvider.getLogs({ | ||
(await childChainProvider.getBlockNumber()) - this.blockLag; |
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.
maybe make it max of this or 0, otherwise it might cause problems in test environments?
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 flag, i think the block lag is unnecessary in oneOff mode, so I'll remove it when we get rid of !oneOff mode today or tomorrow
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, thanks @godzillaba !
tested against OP devnode, checkout their monorepo at v1.10.0