Skip to content

Commit

Permalink
add extra oracle info
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseAbram committed Nov 20, 2024
1 parent 6d9e93b commit 662ab56
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion content/concepts/programs.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,13 @@ Programs can require users to include auxiliary data, separate from the message,

Oracle data is information that can be grabbed by the chain and passed through to the program. This information comes from the pallet `Oracle` and storage slot `OracleData`. `OracleData` takes in a key which can denote any oracle data you want. Oracle data needs to come from the chain first as all programs need to be deterministic.

All oracle data is scale encode to chain

Current headings

block_number_entropy -> Stores the current block number of entropy
| Key | Value | Type |
| --------------------- | ------------------------------------------- | ------- |
| block_number_entropy | Stores the current block number of entropy | u32 |

### Custom Hashing

Expand Down

0 comments on commit 662ab56

Please sign in to comment.