-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Description
EVM has an keccak instruction, webassembly does not. Because of this, https://github.com/hyperledger-labs/solang has to include a keccak implementation in any contract which does keccak hashing. Keccak hashing is used for mappings and storage arrays.
It would be much better if the EEI provided a keccak host function.
Note that Substrate wasm interface does provide this and another hashing functions too: https://github.com/paritytech/substrate/blob/master/frame/contracts/src/wasm/runtime.rs#L1199
Metadata
Metadata
Assignees
Labels
No labels