Closed qiweiii closed 11 months ago
An error I get is
[11:05:18.948] ERROR (follow-chain/49419): Error when processing new head
err: {
"type": "Error",
"message": "wasm `unreachable` instruction executed",
"stack":
Error: wasm `unreachable` instruction executed
at Object.callback (/Users/qiweiyang/GitHub/chopsticks/packages/chopsticks/src/plugins/follow-chain/index.ts:134:23)
}
Any clue how I should debug this? I can confirm the wasm I used is the one with try-runtime feature
it should log more information if you have LOG_LEVEL=trace
.
seems the log is the same
[17:27:12.719] TRACE (executor/55366): taskResponse
response: {
"Error": "wasm `unreachable` instruction executed"
}
what wasm are you using? looks like something wrong with wasm file
what wasm are you using? looks like something wrong with wasm file
I am using wasm build from this
https://github.com/AcalaNetwork/Acala/blob/7198bb16bc6078cd574a2545aa0306161e2d196a/Makefile#L138
Remove true from setupContext
there's another problem as well. setupContext will start to latest and then we set head to finalized. So we need to set the correct block number in order to make wasm-override correct
this can't be implemented on follow-mode
closes: #70