ChainSafe / gossamer

🕸️ Go Implementation of the Polkadot Host
https://chainsafe.github.io/gossamer
GNU Lesser General Public License v3.0
426 stars 111 forks source link

Implement Keccak Wasm Host Functions #2656

Open danforbes opened 2 years ago

danforbes commented 2 years ago

Implement the following Keccak Wasm host functions:

Each of these host functions have version 1 & 2 signatures.

P1sar commented 1 month ago

@jimjbrettj and @EclesioMeloJunior please verify this epic validity

timwu20 commented 1 month ago

@EclesioMeloJunior can you verify if we need to implement this for Full Node MVP

EclesioMeloJunior commented 4 weeks ago

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