Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

unknown import: vm::context has not been defined when MessagePool addLoaded message #8714

Closed
7 of 18 tasks
marco-storswift opened this issue May 24, 2022 · 6 comments
Closed
7 of 18 tasks
Assignees
Labels
area/chain Area: Chain kind/bug Kind: Bug kind/stale need/analysis Hint: Needs Analysis need/author-input Hint: Needs Author Input
Milestone

Comments

@marco-storswift
Copy link
Contributor

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

1.15.4-dev+mainnet
lotus version 1.15.4-dev+mainnet+git.df98a2a0

Describe the Bug

export LOTUS_USE_FVM_EXPERIMENTAL=1
lotus daemon

Logging Information

2022-05-24T20:28:40.981+0800    INFO    vm      vm/fvm.go:260   using the FVM, this is experimental!
2022-05-24T20:28:40.996+0800    ERROR   messagepool     messagepool/messagepool.go:1552 adding local message: failed to look up actor state nonce: computing tipset state for GetActor: applying msg: [from=f3q6obs6p7z74whc7udg74xcmbzfgzozzgbvrm2zp5r57cajganmge36gybl5uao2jg4sp2hrfgzwh3h5mmefq, to=f030347, seq=1573468, m=6, h=1836285] fatal error

    Caused by:
        unknown import: `vm::context` has not been defined:
    github.com/filecoin-project/lotus/chain/messagepool.(*MessagePool).addLoaded
        /mnt/lotus/lotusbuild/20220524120705/marco/chain/messagepool/messagepool.go:920
  - validation failure

Repo Steps

1 export LOTUS_USE_FVM_EXPERIMENTAL=1
2 lotus daemon

@TippyFlitsUK TippyFlitsUK self-assigned this May 24, 2022
@TippyFlitsUK TippyFlitsUK added need/author-input Hint: Needs Author Input area/chain Area: Chain and removed need/triage labels May 24, 2022
@TippyFlitsUK
Copy link
Contributor

Hi @marco-storswift

Thanks for the report. Looks like you are running the master branch of Lotus. It is not uncommon to see errors with the most recent master commits.

Please revert to the latest stable version and let us know if you continue to see this error.

Thank you !

@jennijuju jennijuju added this to the Network v16 milestone May 25, 2022
@jennijuju
Copy link
Member

(might be fvm related worth eye by @arajasek / @Stebalien maybe for v1.16.0

@jennijuju jennijuju added the need/analysis Hint: Needs Analysis label May 25, 2022
@Stebalien
Copy link
Member

This is because we haven't updated the FFI in lotus for a while, and the version of the FFI that lotus uses doesn't correctly lock these dependencies to the minor version.

Want me to update master?

@jennijuju jennijuju mentioned this issue May 25, 2022
5 tasks
@jennijuju
Copy link
Member

@marco-storswift if you wanna test the upcoming v1.16.0 - use feat/nv16 branch

@github-actions
Copy link

Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 24 hours.

@github-actions
Copy link

This issue was closed because it is missing author input.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area/chain Area: Chain kind/bug Kind: Bug kind/stale need/analysis Hint: Needs Analysis need/author-input Hint: Needs Author Input
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants
@Stebalien @TippyFlitsUK @jennijuju @marco-storswift and others