Open danforbes opened 2 years ago
@jimjbrettj and @EclesioMeloJunior please verify this epic validity
@EclesioMeloJunior can you verify if we need to implement this for Full Node MVP
I found that there is few Keccak
trie methods in substrate (https://github.com/paritytech/polkadot-sdk/blob/2f3a1bf8736844272a7eb165780d9f283b19d5c0/substrate/primitives/io/src/lib.rs#L607) however I didn't found them in the actual compiled runtime, that explains why Gossamer is not panicking given the missing host functions. Those functions are not a blocker for the Full Node MVP, but I raised a question in the element chat about these keccak host functions
Implement the following Keccak Wasm host functions:
ext_trie_keccak_256_root
ext_trie_keccak_256_ordered_root
ext_trie_keccak_256_verify_proof
Each of these host functions have version 1 & 2 signatures.