Skip to content

Data needed via eth_call or subgraph #56

@rvagg

Description

@rvagg

The ideal for these is a simple eth_call into a contract to fish around in its state to pull out what we need. If this can be done in one call then this is the best situation. If it requires a few calls then that's not terrible. If it requires a search with calls then that's not great because we have RPC usage limits and also time constraints for round-trips.

Subgraphs are an option, but the less we have to rely on them the better. They will be good for historical information not in state, or information that we can't efficiently represent in state. But if we have to implement a function call that's expensive, then that's not terrible because we're not paying the gas for it to do an eth_call.

My list off the top of my head so far, I'll add to this as I think of more or variations, but I'm also open to input and discussion!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🎉 Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions