eqlabs / polkadot-light-client

Polkadot light client
2 stars 1 forks source link

#42 binaryen integration #78

Closed mariopil closed 1 year ago

mariopil commented 1 year ago

Closes #42.

Not everything is done yet, but to be able to properly call Core_version the host API method ext_logging_max_level_version_1 need to be implemented first. Seems runtime wants to call this method from the host. Therefore I've decided to create the PR with what's already done, focus now on host API implementation and then go back to the runtime.

Version 100 of Binaryen (from march 2021) was chosen as it is the last version where runtime can be interpreted without any exceptions (Kagome is using older one from 2019).