Skip to content

add field timestamp to eth_getLogs response#4950

Merged
AskAlexSharov merged 4 commits intoerigontech:develfrom
fenghaojiang:devel
Aug 8, 2022
Merged

add field timestamp to eth_getLogs response#4950
AskAlexSharov merged 4 commits intoerigontech:develfrom
fenghaojiang:devel

Conversation

@fenghaojiang
Copy link
Copy Markdown
Contributor

every time I make an eth_getLogs request and the response has no field of time. I have to make other requests such as eth_getBlock to fetch field timestamp information.

I am willing to take this feature according to team erigon needs. Plz have a code review and give me some feedbacks.

@fenghaojiang fenghaojiang changed the title add fieldtimestamp to eth_getLogs response add field timestamp to eth_getLogs response Aug 6, 2022
@AskAlexSharov AskAlexSharov merged commit bc7921a into erigontech:devel Aug 8, 2022
domiwei added a commit that referenced this pull request Mar 23, 2026
… guards

Catch up with recent GLOAS (EIP-7732) spec changes and add beacon API support:

Spec fixes:
- HighestBidKey: add ParentBlockRoot to prevent cross-fork bid interference (PR #5001)
- Envelope ByRange/ByRoot: add MinEpochsForBlockRequests serve range lower bound (PR #4950)
- Ancestor(): return PENDING for block.slot <= slot, use getParentPayloadStatus for traversal

Beacon API (7 new endpoints):
- POST /beacon/execution_payload_bid — submit bid via BidService + gossip
- GET /validator/execution_payload_bid/{slot}/{builder_index} — query highest bid
- POST /validator/duties/ptc/{epoch} — PTC committee assignments
- GET /validator/payload_attestation_data/{slot} — attestation data for PTC
- POST /beacon/pool/payload_attestations — submit via AttestationService + gossip
- GET /beacon/pool/payload_attestations — query from LRU cache
- GET /beacon/execution_payload_envelope/{block_id} — query envelope from forkchoice

Safety:
- Nil guard for SignedExecutionPayloadEnvelope.Message in applyEnvelope/validateEnvelope
- Nil guard for BlobKzgCommitments in publishBlindedBlocks (GLOAS blocks use bid)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

2 participants