Hello,
I develop a standalone substrate chain, the repository here: https://git.duniter.org/nodes/rust/duniter-v2s
Our specific developments are runtime only, and we use BABE/GRANDPA for our consensus, so in theory smoldot should be a working client on our blockchain.
I just tested smoldot on a chain that I bootstrap locally and I have the following error:
$ npm start
> @duniter/duniter-v2s-light@0.0.1 start /home/elois/dev/duniter/duniter-v2s/light
> node index.js
JSON-RPC server now listening on port 9946
Please visit: https://polkadot.js.org/apps/?rpc=ws%3A%2F%2F127.0.0.1%3A9946
Error while adding chain: Error: Failed to build genesis chain information: Error while initializing the virtual machine: Instantiation: Couldn't resolve `env`:`ext_trie_blake2_256_ordered_root_version_2`
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @duniter/duniter-v2s-light@0.0.1 start: `node index.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @duniter/duniter-v2s-light@0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/elois/.npm/_logs/2022-01-30T21_39_42_587Z-debug.log
I guess it's just the latest release of @substrate/smoldot-light which is not up to date with substrate (we use the monthly-2022-01 version of substrate).
But maybe it's a bug?