Thanks @vit.
Do I understand correctly that this problem should be solved by upgrading the Duniter Substrate fork so that it uses wasmtime >= 0.40.0?
In the mean time I’ll use the provided workaround: --wasm-execution interpreted-i-know-what-i-do
.