Skip to content

Contracts for proving specific event occurrence based on accepted block hash #864

@michaelkaplan13

Description

@michaelkaplan13

Given an accepted block hash, prove the occurence of an event emission from within that block. An old proof-of-concept of this can be found here: https://github.com/ava-labs/event-importer-poc/blob/main/contracts/src/EventImporter.sol#L43

Questions:

  • How can this be extended for events in arbitrary blocks even if the given block's hash was not provided explicitly (i.e. chaining together finalized block hashes)
  • Feasibility of gas costs
  • Generality for different EVM chain (with potentially different block header formats)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions