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): rust validity proposer #399

Merged
merged 117 commits into from
Mar 7, 2025
Merged

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).

@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 force-pushed the ratan/rust-proposer branch from ec5c97f to ae1856c Compare March 5, 2025 23:53
@ratankaliani ratankaliani marked this pull request as ready for review March 7, 2025 20:02
@ratankaliani ratankaliani changed the title feat: proposer feat(proposer): rust validity proposer Mar 7, 2025
@ratankaliani ratankaliani merged commit 6271c58 into main Mar 7, 2025
11 checks passed
@ratankaliani ratankaliani deleted the ratan/rust-proposer branch March 7, 2025 21:31
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