Commit 0150a6b0 authored by George Hotz's avatar George Hotz

cleaner oracle desc

parent 9a18b8bc
...@@ -70,10 +70,10 @@ ID=0 BLOCK=1171895 npx hardhat run scripts/assert.js --network hosthat ...@@ -70,10 +70,10 @@ ID=0 BLOCK=1171895 npx hardhat run scripts/assert.js --network hosthat
## State Oracle API ## State Oracle API
On chain / in MIPS, we have two oracles On chain / in MIPS, we have two simple oracles
* InputHash() -> hash # this is a hash of the initial custom state of the system * InputHash() -> hash
* Preimage(hash) -> value # hash(value) == hash * Preimage(hash) -> value
We generate the Preimages in x86 using geth RPC We generate the Preimages in x86 using geth RPC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment