We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
{ "Version": "1.6.0+git.f3754ad18.dirty" }
venu节点在 开始同步之前如果miner请求网络名称,就会报错
2022-08-31T07:46:19.500Z WARN rpc go-jsonrpc@v0.1.4-0.20210731021807-68e5207079bc/handler.go:345 error in RPC call to 'Filecoin.StateNetworkName': cbor input should be of type array failed to get block bafyreiaqpwbbyjo4a42saasj36kkrpv4tsherf2e7bvezkert2a7dhonoi github.com/filecoin-project/venus/pkg/chain.(*Store).GetBlock /build/pkg/chain/store.go:309 github.com/filecoin-project/venus/pkg/chain.(*Store).GetTipSet /build/pkg/chain/store.go:333 github.com/filecoin-project/venus/pkg/statemanger.(*Stmgr).ParentStateView /build/pkg/statemanger/state_manger.go:372 github.com/filecoin-project/venus/app/submodule/chain.(*chainInfoAPI).getNetworkName /build/app/submodule/chain/chaininfo_api.go:373 github.com/filecoin-project/venus/app/submodule/chain.(*chainInfoAPI).StateNetworkName /build/app/submodule/chain/chaininfo_api.go:367 reflect.Value.call /usr/local/go/src/reflect/value.go:556 reflect.Value.Call /usr/local/go/src/reflect/value.go:339 github.com/filecoin-project/venus/venus-shared/api/permission.PermissionProxy.func1 /build/venus-shared/api/permission/permission.go:65 github.com/filecoin-project/venus/venus-shared/api/chain/v1.(*IChainInfoStruct).StateNetworkName /build/venus-shared/api/chain/v1/proxy_gen.go:361 reflect.Value.call /usr/local/go/src/reflect/value.go:556 reflect.Value.Call /usr/local/go/src/reflect/value.go:339 github.com/filecoin-project/go-jsonrpc.doCall /go/pkg/mod/github.com/ipfs-force-community/go-jsonrpc@v0.1.4-0.20210731021807-68e5207079bc/handler.go:219 github.com/filecoin-project/go-jsonrpc.(*RPCServer).handle /go/pkg/mod/github.com/ipfs-force-community/go-jsonrpc@v0.1.4-0.20210731021807-68e5207079bc/handler.go:325 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1581 2022-08-31T07:46:19.550Z WARN rpc go-jsonrpc@v0.1.4-0.20210731021807-68e5207079bc/handler.go:345 error in RPC call to 'Filecoin.StateNetworkName': cbor input should be of type array failed to get block bafyreiaqpwbbyjo4a42saasj36kkrpv4tsherf2e7bvezkert2a7dhonoi github.com/filecoin-project/venus/pkg/chain.(*Store).GetBlock /build/pkg/chain/store.go:309 github.com/filecoin-project/venus/pkg/chain.(*Store).GetTipSet /build/pkg/chain/store.go:333 github.com/filecoin-project/venus/pkg/statemanger.(*Stmgr).ParentStateView /build/pkg/statemanger/state_manger.go:372 github.com/filecoin-project/venus/app/submodule/chain.(*chainInfoAPI).getNetworkName /build/app/submodule/chain/chaininfo_api.go:373 github.com/filecoin-project/venus/app/submodule/chain.(*chainInfoAPI).StateNetworkName /build/app/submodule/chain/chaininfo_api.go:367 reflect.Value.call /usr/local/go/src/reflect/value.go:556 reflect.Value.Call /usr/local/go/src/reflect/value.go:339 github.com/filecoin-project/venus/venus-shared/api/permission.PermissionProxy.func1 /build/venus-shared/api/permission/permission.go:65 github.com/filecoin-project/venus/venus-shared/api/chain/v1.(*IChainInfoStruct).StateNetworkName /build/venus-shared/api/chain/v1/proxy_gen.go:361 reflect.Value.call /usr/local/go/src/reflect/value.go:556 reflect.Value.Call /usr/local/go/src/reflect/value.go:339 github.com/filecoin-project/go-jsonrpc.doCall /go/pkg/mod/github.com/ipfs-force-community/go-jsonrpc@v0.1.4-0.20210731021807-68e5207079bc/handler.go:219 github.com/filecoin-project/go-jsonrpc.(*RPCServer).handle /go/pkg/mod/github.com/ipfs-force-community/go-jsonrpc@v0.1.4-0.20210731021807-68e5207079bc/handler.go:325 runtime.goexit /usr/local/go/src/runtime/asm_amd64.s:1581
No response
The text was updated successfully, but these errors were encountered:
原因是创世节点是以block的形式存储在store中的,而getBolck的接口是以blockhead的形式获取block,所以会失败 已经向lotus提交issue filecoin-project/lotus#9240
block
getBolck
blockhead
Sorry, something went wrong.
在venus中,暂时采用等待过并检查高度超过1来暂时解决,等待和lotus这边讨论产生一个结论在进行最终的修改。
目按我们的方法来, 他们改的可能性不大。
LinZexiao
No branches or pull requests
链服务模块 / Chain Service Components
订单服务模块 / Deal Service Components
算力服务模块 / Storage Power Service Components
版本 / Version
描述 / Describe the Bug
venu节点在 开始同步之前如果miner请求网络名称,就会报错
日志 / Logging Information
重现步骤 / Repo Steps
No response
The text was updated successfully, but these errors were encountered: