Skip to content

chore(eth): make EthGetBlockByNumber & EthGetBlockByHash share cache code#12979

Merged
rvagg merged 2 commits intomasterfrom
rvagg/EthGetBlockByBleh
Mar 25, 2025
Merged

chore(eth): make EthGetBlockByNumber & EthGetBlockByHash share cache code#12979
rvagg merged 2 commits intomasterfrom
rvagg/EthGetBlockByBleh

Conversation

@rvagg
Copy link
Copy Markdown
Member

@rvagg rvagg commented Mar 25, 2025

Both will benefit from the same cache and be impacted by EthBlkCacheSize

Ref: #12977

(Also some minor fixups in here to rename some vars to what they should have been, when I refactored this originally most interfaces were "providers", hence the p in the names.)

…code

Both will benefit from the same cache and be impacted by EthBlkCacheSize

Ref: #12977
@rvagg rvagg force-pushed the rvagg/EthGetBlockByBleh branch from 7943c78 to 3ad9dd5 Compare March 25, 2025 01:56
@BigLep BigLep moved this from 📌 Triage to 🔎 Awaiting Review in FilOz Mar 25, 2025
@BigLep BigLep requested a review from masih March 25, 2025 01:59
@BigLep
Copy link
Copy Markdown
Member

BigLep commented Mar 25, 2025

@masih : can you please review (if it hasn't been reviewed already)?

@BigLep
Copy link
Copy Markdown
Member

BigLep commented Mar 25, 2025

Or actually, maybe it makes sense to have @aarshkshah1992 look at this given he has been engaged on slack: https://filecoinproject.slack.com/archives/C03TM2QDTHN/p1742736711386359?thread_ts=1742285258.489549&cid=C03TM2QDTHN

@BigLep BigLep requested review from aarshkshah1992 and removed request for masih March 25, 2025 02:03
Comment thread CHANGELOG.md Outdated
@github-project-automation github-project-automation Bot moved this from 🔎 Awaiting Review to ✔️ Approved by reviewer in FilOz Mar 25, 2025
Co-authored-by: Masih H. Derkani <m@derkani.org>
@rvagg rvagg enabled auto-merge (squash) March 25, 2025 09:28
@rvagg rvagg merged commit efcc004 into master Mar 25, 2025
90 checks passed
@rvagg rvagg deleted the rvagg/EthGetBlockByBleh branch March 25, 2025 09:32
@github-project-automation github-project-automation Bot moved this from ✔️ Approved by reviewer to 🎉 Done in FilOz Mar 25, 2025
rjan90 pushed a commit that referenced this pull request Mar 27, 2025
…code (#12979)

* chore(eth): make EthGetBlockByNumber & EthGetBlockByHash share cache code

Both will benefit from the same cache and be impacted by EthBlkCacheSize

Ref: #12977
rjan90 pushed a commit that referenced this pull request Mar 27, 2025
…code (#12979)

* chore(eth): make EthGetBlockByNumber & EthGetBlockByHash share cache code

Both will benefit from the same cache and be impacted by EthBlkCacheSize

Ref: #12977
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

4 participants