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

feat: proposer #399

Draft
wants to merge 106 commits into
base: main
Choose a base branch
from
Draft

feat: proposer #399

wants to merge 106 commits into from

Conversation

ratankaliani
Copy link
Member

@ratankaliani ratankaliani commented Feb 19, 2025

Overview

Replace the fork of op-proposer with a Rust proposer. This unifies the validity binaries and allows just running a single container.

Features

  • Prometheus metrics for the Rust binary.
  • Expose range-elf-embedded and range-elf-bump.
  • Remove ProgramType and RunContext.
  • Use sqlx for compile-time query checks.
  • Better logging on validate config mismatches.
  • Nicely handle panics from underlying libraries (e.g. kona).

TODO: Switch to upstream kona when op-rs/kona#1170 is merged.

@ratankaliani ratankaliani marked this pull request as draft February 19, 2025 18:42
Copy link

github-actions bot commented Feb 20, 2025

Metric Value
Batch Start 804,220
Batch End 804,225
Witness Generation (seconds) 0
Execution Duration (seconds) 27
Total Instruction Count 1,219,178,811
Oracle Verify Cycles 174,508,256
Derivation Cycles 954,256,540
Block Execution Cycles 7,750,874
Blob Verification Cycles 23,291,510
Total SP1 Gas 0
Number of Blocks 5
Number of Transactions 5
Ethereum Gas Used 255,622
Cycles per Block 243,835,762
Cycles per Transaction 243,835,762
Transactions per Block 1
Gas Used per Block 51,124
Gas Used per Transaction 51,124
BN Pair Cycles 0
BN Add Cycles 0
BN Mul Cycles 0
KZG Eval Cycles 0
EC Recover Cycles 0
P256 Verify Cycles 0

@ratankaliani ratankaliani changed the title wip: proposer feat: proposer Mar 4, 2025
Copy link

@vcastellm vcastellm left a comment

Choose a reason for hiding this comment

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

Any specific reason you're switching to Postgres?

@ratankaliani ratankaliani force-pushed the ratan/rust-proposer branch from ec5c97f to ae1856c Compare March 5, 2025 23:53
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.

4 participants