Skip to content

actor load failed: unknown actor code * #12711

Closed Answered by hawkinggg
nezha90 asked this question in General Q&A
Discussion options

You must be logged in to vote

maybe this will fix if you call *.load in your own code:

I suspect that it may be the way you’re using this externally, there were some things shifted around to avoid some internal entanglement and it means that certain use of lotus from outside won’t get you the actors loaded automatically if you needed them
you could try adding this to your imports and see if it fixes it, this will explicitly load the actors package and those builtin wasm actors will be available by CID:

_ "github.com/filecoin-project/lotus/build"

quote from rvagg on slack

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nezha90
Comment options

Answer selected by nezha90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants