Adds a basic chain extension, allowing to make a call to the randomness pallet from a contract. Could be extended to any arbitrary calls.
NOTE
Technically the same could be achieved with call_runtime but the purpose is to have a starting point for more interesting extensions (e.g. call_runtime cannot be used for storage queries).
Adds a basic chain extension, allowing to make a call to the randomness pallet from a contract. Could be extended to any arbitrary calls.
NOTE Technically the same could be achieved with
call_runtime
but the purpose is to have a starting point for more interesting extensions (e.g.call_runtime
cannot be used for storage queries).