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: implement proposer #349

Merged
merged 5 commits into from
Feb 20, 2025
Merged

feat: implement proposer #349

merged 5 commits into from
Feb 20, 2025

Conversation

fakedev9999
Copy link
Member

@fakedev9999 fakedev9999 commented Jan 27, 2025

Implements a new component responsible for creating and managing OP-Succinct fault dispute games on L1. The proposer monitors the L2 chain and creates dispute games at configurable intervals to ensure L2 state transition validity.

Key Features

  • Automated dispute game creation at configurable block intervals
  • Optional game resolution for unchallenged games
  • Continuous L2 chain monitoring
  • Fast finality mode with proof inclusion
  • Configurable via environment variables

You can find the proposer creating games on ETH sepolia network: Factory Contract

You can also find proposer resolving unchallenged games that timed out on ETH sepolia network: Resolve tx

@fakedev9999 fakedev9999 changed the base branch from main to taehoon/implement-zkfp January 27, 2025 05:33
Copy link

github-actions bot commented Jan 27, 2025

Metric Value
Batch Start 790,180
Batch End 790,185
Witness Generation (seconds) 0
Execution Duration (seconds) 25
Total Instruction Count 1,118,267,831
Oracle Verify Cycles 172,578,038
Derivation Cycles 858,538,556
Block Execution Cycles 7,678,690
Blob Verification Cycles 23,292,488
Total SP1 Gas 0
Number of Blocks 5
Number of Transactions 5
Ethereum Gas Used 244,554
Cycles per Block 223,653,566
Cycles per Transaction 223,653,566
Transactions per Block 1
Gas Used per Block 48,910
Gas Used per Transaction 48,910
BN Pair Cycles 0
BN Add Cycles 0
BN Mul Cycles 0
KZG Eval Cycles 0
EC Recover Cycles 0
P256 Verify Cycles 0

Base automatically changed from taehoon/implement-zkfp to main January 28, 2025 20:26
@fakedev9999 fakedev9999 force-pushed the taehoon/implement-proposer branch from f8eedd1 to b72131f Compare January 29, 2025 05:48
@fakedev9999 fakedev9999 marked this pull request as ready for review January 29, 2025 05:49
@fakedev9999 fakedev9999 requested a review from puma314 January 29, 2025 05:50
proposer/fp/src/main.rs Outdated Show resolved Hide resolved
proposer/fp/src/main.rs Outdated Show resolved Hide resolved
proposer/fp/src/main.rs Outdated Show resolved Hide resolved
@fakedev9999 fakedev9999 force-pushed the taehoon/implement-proposer branch 2 times, most recently from 20d9b85 to 241fc47 Compare February 1, 2025 02:14
book/SUMMARY.md Outdated Show resolved Hide resolved
book/SUMMARY.md Outdated Show resolved Hide resolved
@fakedev9999 fakedev9999 force-pushed the taehoon/implement-proposer branch 2 times, most recently from 241fc47 to bb77999 Compare February 1, 2025 06:24
proposer/fp/src/config.rs Outdated Show resolved Hide resolved
proposer/fp/src/main.rs Outdated Show resolved Hide resolved
fault_proof/bin/proposer.rs Outdated Show resolved Hide resolved
book/fault_proofs/deploy.md Outdated Show resolved Hide resolved
contracts/script/fp/DeployOPSuccinctDG.s.sol Outdated Show resolved Hide resolved
fault_proof/bin/proposer.rs Outdated Show resolved Hide resolved
fault_proof/src/lib.rs Outdated Show resolved Hide resolved
@fakedev9999 fakedev9999 force-pushed the taehoon/implement-proposer branch from 7b32736 to 79d0387 Compare February 4, 2025 21:21
Cargo.toml Outdated Show resolved Hide resolved
fault_proof/src/sol.rs Outdated Show resolved Hide resolved
fault_proof/Cargo.toml Outdated Show resolved Hide resolved
@ratankaliani
Copy link
Member

Looks a lot cleaner now, once the above comments are resolved, we can merge.

@fakedev9999 fakedev9999 force-pushed the taehoon/implement-proposer branch from f1d8817 to e5243e8 Compare February 5, 2025 23:51
@fakedev9999
Copy link
Member Author

Will be ready to review again after contracts are finalized. Won't be much change.

@fakedev9999 fakedev9999 marked this pull request as draft February 12, 2025 19:05
@fakedev9999 fakedev9999 force-pushed the taehoon/implement-proposer branch from e5243e8 to be7e63f Compare February 14, 2025 18:33
@fakedev9999 fakedev9999 changed the base branch from main to taehoon/update-fdg February 14, 2025 18:33
@fakedev9999 fakedev9999 force-pushed the taehoon/implement-proposer branch 3 times, most recently from 2101358 to 5cfdf89 Compare February 14, 2025 21:49
@fakedev9999 fakedev9999 marked this pull request as ready for review February 14, 2025 23:14
@fakedev9999 fakedev9999 force-pushed the taehoon/implement-proposer branch from 139ee5d to 9c09304 Compare February 15, 2025 08:30
fault_proof/src/lib.rs Outdated Show resolved Hide resolved
@fakedev9999 fakedev9999 mentioned this pull request Feb 19, 2025
book/fault_proofs/deploy.md Outdated Show resolved Hide resolved
fault_proof/src/lib.rs Outdated Show resolved Hide resolved
@fakedev9999 fakedev9999 force-pushed the taehoon/implement-proposer branch from bed1446 to 9b1cc31 Compare February 19, 2025 23:33
@fakedev9999 fakedev9999 force-pushed the taehoon/implement-proposer branch 3 times, most recently from b1442a3 to 77eba09 Compare February 20, 2025 02:48
Base automatically changed from taehoon/update-fdg to main February 20, 2025 03:22
@fakedev9999 fakedev9999 force-pushed the taehoon/implement-proposer branch from 77eba09 to 44ef872 Compare February 20, 2025 03:27
@fakedev9999 fakedev9999 merged commit 6925f92 into main Feb 20, 2025
11 checks passed
@fakedev9999 fakedev9999 deleted the taehoon/implement-proposer branch February 20, 2025 03:30
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