Fill in the entire missing block/state data at the height where an ETH-JSON-RPC cache miss occurs #28
Labels
No Label
bug
critical
documentation
duplicate
enhancement
Epic
good first issue
help wanted
Integration tests
invalid
question
v5
wontfix
Copied from Github
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cerc-io/ipld-eth-server#28
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When we have a cache miss for one of the ETH-JSON-RPC endpoints and forward the call to a geth node to service the request (a la #19), we should spin up a separate background process to populate that data in the Postgres cache. This will require calling out to
eth_StateDiffAt
and indexing the entire statediff object for the block height/hash where that data is queried, since we need to populate the entire linked data structure in Postgres and not just the result for that specific RPC query.Simply call out to https://github.com/vulcanize/gap-filler or perform internally?
Satisfied in #30