问题描述
我已经成功设置graph-node。之后,我试图在我的图节点中部署balancer-subgraph。
子图部署过程:
- 克隆
git clone git@github.com:balancer-labs/balancer-subgraph.git
- 安装依赖项
yarn
yarn codegen
- 创建本地节点
yarn create:local
- 本地部署
yarn deploy:local
部署后,在图形节点日志中出现如下错误
Aug 21 13:15:36.545 ERRO Subgraph instance Failed to run: RPC error: Error { code: MethodNotFound,message: "the method trace_filter does not exist/is not available",data: None },code: SubgraphSyncingFailure,id: QmTMsUH9rUVjpBTDRNuUcNHM3rT9ZZmxkDmTYmyKUpzEJn,subgraph_id: QmTMsUH9rUVjpBTDRNuUcNHM3rT9ZZmxkDmTYmyKUpzEJn,component: SubgraphInstanceManager
Aug 21 13:15:41.071 INFO Syncing 1 blocks from Ethereum.,code: BlockIngestionStatus,blocks_needed: 1,blocks_behind: 1,latest_block_head: 10703787,current_block_head: 10703786,network_name: mainnet,component: BlockIngestor
获取节点版本
Geth
Version: 1.9.9-stable
Git Commit: 017449971e1e9e220efcd97d3313a0e27f47003b
Git Commit Date: 20191206
Architecture: amd64
Protocol Versions: [64 63]
Go Version: go1.13.5
Operating System: linux
GOPATH=/home/ubuntu/work
GOROOT=/usr/local/go
我需要启用任何一种API才能成功部署Balancer子图吗?