Polkadot-Blockchain-Academy / Academy-PoW

PoW blockchain node to gain hands-on experience starting a real network together
The Unlicense
23 stars 43 forks source link

Chain extension #33

Closed fbielejec closed 9 months ago

fbielejec commented 1 year ago

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).

JoshOrndorff commented 1 year ago

Looks interesting. Please add a description with some context when you are ready.

JoshOrndorff commented 9 months ago

Closing this because we will not run contracts on the pow network this time.