Skip to content

fix state chain total_time_to_proof using el block time#398

Open
mooncitydev wants to merge 1 commit intoGOATNetwork:devfrom
mooncitydev:fix/state-chain-total-time-to-proof
Open

fix state chain total_time_to_proof using el block time#398
mooncitydev wants to merge 1 commit intoGOATNetwork:devfrom
mooncitydev:fix/state-chain-total-time-to-proof

Conversation

@mooncitydev
Copy link
Copy Markdown

@mooncitydev mooncitydev commented Apr 17, 2026

Fixes #366

State chain total_time_to_proof used wall time minus DB created_at (task row insert time). It now uses the max EL block header timestamp in the batch as the anchor, so the metric is (proving completed at) minus (latest proved block time).

Testing: cargo check -p proof-builder -p proof-builder-rpc

made by mooncitydev

@eigmax
Copy link
Copy Markdown
Contributor

eigmax commented Apr 19, 2026

Plz code format. Thanks!

@mooncitydev
Copy link
Copy Markdown
Author

thanks for merging
@blake-pro
would love to talk with you on tg btw, t.me/moooncity

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.

Fix total_time_to_proof

3 participants