graphprotocol / graphprotocol/graph-node
Make handler out of gas a deterministic error in a new api version
Open
Nobody has claimed this yet.
area/runtime
- Dominant language
- Rust
- Stars
- 3.2k
- Forks
- 1.1k
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 1
Description
Handlers running out of gas are currently non-deterministic errors. We decided that the best way to migrate them to deterministic errors is through an api version.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the handler out-of-gas error path and the code that selects API versions. Determine how a new API version should make this error deterministic, then verify that handlers using the new version no longer produce non-deterministic errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100