Closed JelliedOwl closed 9 months ago
Yes probably too old. Chopsticks uses smoldot to execute runtime and seems it can't decode runtime version from your runtime
Thanks Ermal. Presumably I can run chopsticks / smoldot from my git clone rather than using the deployed packages, and potentially do some debugging. If it's not too much of a noob question (and not too complex of an answer) is there an easy way for me to run that please? Sorry - my NodeJS experience is very limited, but if I can get it working in a debugger I might be able to hack it sufficiently for my current needs.
well. runtime version should be inside wasm. chopsticks uses smoldot to extract that information. I can create a brunch that get runtime version from api which can start chopsticks but you can't build any block with current wasm. you can try override-wasm and see if your new wasm works
@JelliedOwl https://github.com/AcalaNetwork/chopsticks/tree/runtime_from_api this is the branch with modification. give it a try install submodules
yarn install
yarn build-wasm
yarn start -c configs/kabocha.yml --wasm-override=<path>
Thank you very much, @ermalkaleci. I'll have a play and see if I can do something useful with that.
Thank you for merging the Kabocha config file. Sadly, I'm getting an error when I try to use it and I'm not sure how / if I can fix it. Kabocha is currently at roughly the polkadot v0.9.28 level. Is it likely that I can get Chopsticks to work with this or am I wasting my (and everyone else's) time, please? I was hoping to use Chopsticks to help test a runtime update to get it close to the current standard.
When I try it I get this error. I would very much welcome suggestions about next steps please. I'm hoping that I just missed a step...