crypto-org-chain / crypto-org-chain/cronos

[Feature request] trace API support for graph callHandler

Open
#515 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
336
Forks
299
Avg merge
2d 17h
Merged PRs (30d)
4

Description

**Is your feature request related to a problem? Please describe.**

Subgraph can be used to index events. However if there's no event emitted, user can also listen for contract calls through `callHandler` - ref: https://thegraph.com/docs/en/developer/create-subgraph-hosted/

Currently graph throws the following error when we try to listen for call handler in cronos.
截圖 2022-05-27 上午10 37 17

**Describe the solution you'd like**
In order to support `callHandlers` in subgraph, we need trace API support in the rpc.

Docs around trace API:
- https://docs.alchemy.com/alchemy/enhanced-apis/trace-api
- https://www.quicknode.com/docs/binance-smart-chain/trace_filter

**Describe alternatives you've considered**
n/a

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.