Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
ee199fe7
Commit
ee199fe7
authored
Nov 04, 2021
by
George Hotz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some TODOs
parent
50bfcebc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
README.md
README.md
+6
-0
main.go
mipsevm/main.go
+1
-0
challenge_test.js
test/challenge_test.js
+3
-0
No files found.
README.md
View file @
ee199fe7
...
...
@@ -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/)
```
## 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
```
# verify the transition from 13284469 -> 13284470
...
...
mipsevm/main.go
View file @
ee199fe7
...
...
@@ -46,6 +46,7 @@ func main() {
os
.
Exit
(
0
)
}
// TODO: this is actually step 0->1. Renumber as appropriate
LoadMappedFileUnicorn
(
mu
,
fmt
.
Sprintf
(
"%s/input"
,
root
),
ram
,
0x30000000
)
mu
.
Start
(
0
,
0x5ead0004
)
...
...
test/challenge_test.js
View file @
ee199fe7
...
...
@@ -43,5 +43,8 @@ describe("Challenge contract", function () {
// ChallengeCreate event
let
challengeId
=
receipt
.
events
[
0
].
args
[
'
challengeId
'
].
toNumber
()
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
)
})
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment