Skip to content

chore(precompiles): update checkpoint_commit signature for LIFO assertion#321

Draft
decofe wants to merge 2 commits intotempofrom
rusowsky/checkpoint-commit-lifo
Draft

chore(precompiles): update checkpoint_commit signature for LIFO assertion#321
decofe wants to merge 2 commits intotempofrom
rusowsky/checkpoint-commit-lifo

Conversation

@decofe
Copy link
Member

@decofe decofe commented Mar 11, 2026

Summary

Updates PrecompileStorageProvider::checkpoint_commit signature to accept JournalCheckpoint, matching upstream trait change from tempoxyz/tempo#3094.

Motivation

Upstream changed checkpoint_commit(&mut self)checkpoint_commit(&mut self, checkpoint: JournalCheckpoint) to enable LIFO ordering assertions on nested checkpoints. Both foundry impls (anvil + evm-core) are stubs, so the parameter is unused but required to satisfy the trait.

Changes

  • crates/anvil/src/eth/backend/tempo.rs — add _checkpoint: JournalCheckpoint param
  • crates/evm/core/src/tempo.rs — add _checkpoint: JournalCheckpoint param

Prompted by: rusowsky

…tion

Pass JournalCheckpoint through checkpoint_commit() to match upstream
trait change from tempoxyz/tempo#3094.

Co-Authored-By: 0xrusowsky <90208954+0xrusowsky@users.noreply.github.com>
Co-Authored-By: 0xrusowsky <90208954+0xrusowsky@users.noreply.github.com>
@zerosnacks zerosnacks added the S-blocked This cannot more forward until something else changes label Mar 13, 2026
@zerosnacks
Copy link
Contributor

tagged as blocked until tempoxyz/tempo#3094 is merged

@zerosnacks zerosnacks marked this pull request as draft March 13, 2026 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-blocked This cannot more forward until something else changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants