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
80f68102
Commit
80f68102
authored
Jan 26, 2022
by
Nicolas "Norswap" Laurent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
README / setup fixes
parent
d261c2ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
10 deletions
+3
-10
README.md
README.md
+2
-8
evm.sh
mipsevm/evm.sh
+1
-2
No files found.
README.md
View file @
80f68102
...
...
@@ -27,8 +27,6 @@ contracts -- A Merkleized MIPS processor on chain + the challenge logic
The following commands should be run from the root directory unless otherwise specified:
```
yarn
# build unicorn
./build_unicorn.sh
(cd unicorn2/bindings/python && python3 setup.py install)
...
...
@@ -37,20 +35,16 @@ export LIBUNICORN_PATH=$(pwd)/unicorn2/
# build minigeth for MIPS
(cd mipigo && ./build.sh)
# build minigeth for PC
(cd minigeth/ && go build)
mkdir -p /tmp/cannon
# compute the transition from 13284469 -> 13284470 on PC
mkdir -p /tmp/cannon
minigeth/go-ethereum 13284469
# write out the golden MIPS minigeth start state
yarn
(cd mipsevm && ./evm.sh)
./mipsevm/mipsevm
# generate MIPS checkpoints for 13284469 -> 13284470
./
mipsevm/mipsevm 13284469
mipsevm/mipsevm 13284469
# deploy the MIPS and challenge contracts
npx hardhat run scripts/deploy.js
...
...
mipsevm/evm.sh
View file @
80f68102
#!/bin/bash -e
(
cd
../
&&
npx hardhat compile
>
/dev/null
)
go build
&&
./mipsevm/mipsevm
$@
go build
&&
(
cd
..
&&
./mipsevm/mipsevm
$@
)
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