Commit ee199fe7 authored by George Hotz's avatar George Hotz

some TODOs

parent 50bfcebc
...@@ -20,6 +20,12 @@ mipigo -- minigeth compiled for MIPS. Outputs a MIPS binary that's run and mappe ...@@ -20,6 +20,12 @@ mipigo -- minigeth compiled for MIPS. Outputs a MIPS binary that's run and mappe
mipsevm -- A MIPS runtime in the EVM (see also contracts/) mipsevm -- A MIPS runtime in the EVM (see also contracts/)
``` ```
## TODO
* Support fast generation of a specific state from the checkpoints
** Load into Unicorn/evm from the trie
* Write binary search "responder"
* Deploy to cheapETH!
## Usage ## Usage
``` ```
# verify the transition from 13284469 -> 13284470 # verify the transition from 13284469 -> 13284470
......
...@@ -46,6 +46,7 @@ func main() { ...@@ -46,6 +46,7 @@ func main() {
os.Exit(0) os.Exit(0)
} }
// TODO: this is actually step 0->1. Renumber as appropriate
LoadMappedFileUnicorn(mu, fmt.Sprintf("%s/input", root), ram, 0x30000000) LoadMappedFileUnicorn(mu, fmt.Sprintf("%s/input", root), ram, 0x30000000)
mu.Start(0, 0x5ead0004) mu.Start(0, 0x5ead0004)
......
...@@ -43,5 +43,8 @@ describe("Challenge contract", function () { ...@@ -43,5 +43,8 @@ describe("Challenge contract", function () {
// ChallengeCreate event // ChallengeCreate event
let challengeId = receipt.events[0].args['challengeId'].toNumber() let challengeId = receipt.events[0].args['challengeId'].toNumber()
console.log("new challenge with id", challengeId) console.log("new challenge with id", challengeId)
// the real issue here is from step 0->1 when we write the input hash
// TODO: prove the challenger wrong?
}).timeout(60000) }).timeout(60000)
}) })
\ No newline at end of file
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