chore: add citrea specific methods to compute unit costs#995
Merged
dannikathompson merged 1 commit intomainfrom Feb 6, 2026
Merged
chore: add citrea specific methods to compute unit costs#995dannikathompson merged 1 commit intomainfrom
dannikathompson merged 1 commit intomainfrom
Conversation
Added 17 Citrea methods (5 citrea_* and 12 ledger_*) with CU value of 20: - citrea_getL2StatusHeightsByL1Height - citrea_getLastCommittedL2Height - citrea_getLastProvenL2Height - citrea_sendRawDepositTransaction - citrea_syncStatus - ledger_getHeadL2Block - ledger_getHeadL2BlockHeight - ledger_getL2BlockByHash - ledger_getL2BlockByNumber - ledger_getL2BlockRange - ledger_getL2GenesisStateRoot - ledger_getLastScannedL1Height - ledger_getLastVerifiedBatchProof - ledger_getSequencerCommitmentByIndex - ledger_getSequencerCommitmentsOnSlotByHash - ledger_getSequencerCommitmentsOnSlotByNumber - ledger_getVerifiedBatchProofsBySlotHeight Slack thread: https://alchemyinsights.slack.com/archives/C03306R8XTL/p1770409063033049?thread_ts=1770408666.020069&cid=C03306R8XTL https://claude.ai/code/session_019KCdgagkM9Lj51MuYqPS2Y
🌿 Documentation Preview
|
SahilAujla
approved these changes
Feb 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Added 17 Citrea methods (5 citrea_* and 12 ledger_*) with CU value of 20:
Slack thread: https://alchemyinsights.slack.com/archives/C03306R8XTL/p1770409063033049?thread_ts=1770408666.020069&cid=C03306R8XTL
https://claude.ai/code/session_019KCdgagkM9Lj51MuYqPS2Y
Related Issues
Changes Made
Testing
pnpm run validate)