Skip to content
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

Merged
merged 6 commits into from
Jan 15, 2025
Merged

No template op stack script #42

merged 6 commits into from
Jan 15, 2025

Conversation

godzillaba
Copy link
Contributor

@godzillaba godzillaba commented Jan 9, 2025

tested against OP devnode, checkout their monorepo at v1.10.0

make devnet-up

Copy link
Collaborator

@yahgwai yahgwai left a 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;
Copy link
Collaborator

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?

Copy link
Contributor Author

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

Copy link

@TucksonDev TucksonDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @godzillaba !

@godzillaba godzillaba merged commit 2105b6a into main Jan 15, 2025
1 of 2 checks passed
@godzillaba godzillaba deleted the no-template-op-stack-script branch January 15, 2025 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants