From 662ab56d7688318184354abb147011bf9ff5dc4b Mon Sep 17 00:00:00 2001 From: Jesse Abramowitz Date: Wed, 20 Nov 2024 14:55:19 -0500 Subject: [PATCH] add extra oracle info --- content/concepts/programs.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/content/concepts/programs.md b/content/concepts/programs.md index 3b452b3b..5b0c575b 100644 --- a/content/concepts/programs.md +++ b/content/concepts/programs.md @@ -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