Closed shekohex closed 6 days ago
So it looks like it is missing some host functions for some reason:
runtime requires function imports which are not present on the host: 'env:ext_ext_call_list_new_version_2', 'env:ext_ext_step_event_filter_version_1', 'env:ext_ext_gasometer_event_version_1', 'env:ext_ext_runtime_event_version_1', 'env:ext_ext_evm_event_version_1'"
And it looks like these functions comes from https://github.com/webb-tools/tangle/blob/7c12d9ef9b922cdd30118ab55c00b959dcd8d2db/primitives/ext/src/lib.rs#L36-L85
even though they are registered as you can see here: https://github.com/webb-tools/tangle/blob/7c12d9ef9b922cdd30118ab55c00b959dcd8d2db/node/src/service.rs#L79-L81
It still complains that it is missing from the runtime!
It looks like we have to define the HostFunctions here too: https://github.com/webb-tools/tangle/blob/7c12d9ef9b922cdd30118ab55c00b959dcd8d2db/node/src/command.rs#L238
That actually made it works.
Currently the benchmarking workflow is broken, not working, does not compile at all, even if after fighting with the compiler and fixing all the issues and make it compiles, it does not run and returns the following error:
Output: