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
1799f2e7
Commit
1799f2e7
authored
Jan 19, 2022
by
Maurelian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes to README and evm.sh for mipsevm build
Fixes to README and evm.sh for mipsevm build
parent
aac8a637
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
README.md
README.md
+6
-2
evm.sh
mipsevm/evm.sh
+2
-1
No files found.
README.md
View file @
1799f2e7
...
@@ -24,6 +24,8 @@ contracts -- A Merkleized MIPS processor on chain + the challenge logic
...
@@ -24,6 +24,8 @@ contracts -- A Merkleized MIPS processor on chain + the challenge logic
## Usage
## Usage
```
```
yarn
# build unicorn
# build unicorn
./build_unicorn.sh
./build_unicorn.sh
export LIBUNICORN_PATH=$(pwd)/unicorn2/
export LIBUNICORN_PATH=$(pwd)/unicorn2/
...
@@ -39,10 +41,12 @@ mkdir -p /tmp/cannon
...
@@ -39,10 +41,12 @@ mkdir -p /tmp/cannon
minigeth/go-ethereum 13284469
minigeth/go-ethereum 13284469
# write out the golden MIPS minigeth start state
# write out the golden MIPS minigeth start state
mipsevm/mipsevm
yarn
(cd mipsevm && ./evm.sh)
./mipsevm/mipsevm
# generate MIPS checkpoints for 13284469 -> 13284470
# generate MIPS checkpoints for 13284469 -> 13284470
mipsevm/mipsevm 13284469
./
mipsevm/mipsevm 13284469
# deploy the MIPS and challenge contracts
# deploy the MIPS and challenge contracts
npx hardhat run scripts/deploy.js
npx hardhat run scripts/deploy.js
...
...
mipsevm/evm.sh
View file @
1799f2e7
#!/bin/bash -e
#!/bin/bash -e
(
cd
../
&&
npx hardhat compile
>
/dev/null
)
(
cd
../
&&
npx hardhat compile
>
/dev/null
)
go build
&&
./mipsevm
$@
go build
&&
./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