Skip to content
New issue

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

calling StateNetworkName fail when the nodes have not started to synchronize yet #9240

Open
8 of 18 tasks
LinZexiao opened this issue Sep 1, 2022 · 0 comments
Open
8 of 18 tasks
Labels

Comments

@LinZexiao
Copy link

Checklist

  • This is not a security-related bug/issue. If it is, please follow please follow the security policy.
  • This is not a question or a support request. If you have any lotus related questions, please ask in the lotus forum.
  • This is not a new feature request. If it is, please file a feature request instead.
  • This is not an enhancement request. If it is, please file a improvement suggestion instead.
  • I have searched on the issue tracker and the lotus forum, and there is no existing related issue or discussion.
  • I am running the Latest release, or the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.
  • I did not make any code changes to lotus.

Lotus component

  • lotus daemon - chain sync
  • lotus miner - mining and block production
  • lotus miner/worker - sealing
  • lotus miner - proving(WindowPoSt)
  • lotus miner/market - storage deal
  • lotus miner/market - retrieval deal
  • lotus miner/market - data transfer
  • lotus client
  • lotus JSON-RPC API
  • lotus message management (mpool)
  • Other

Lotus Version

Daemon:  1.17.0+2k+git.2830429+api1.5.0
Local: lotus version 1.17.0+2k+git.2830429

Describe the Bug

Calling StateNetworkName interface fail which from a node that connect to a 2k networke and haven't sync yet.
It will also fail when you want to get the genesis block by cmd of lotus chain get-block .

Logging Information

rpc     go-jsonrpc@v0.1.5/handler.go:279        error in RPC call to 'Filecoin.ChainGetBlock': cbor input should be of type array

Repo Steps

  1. Run '...'
  2. Do '...'
  3. See error '...'
    ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants