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
a1f635f6
Commit
a1f635f6
authored
Mar 13, 2022
by
Nicolas "Norswap" Laurent
Committed by
norswap
Mar 13, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add CI tests to Makefile
parent
24c78db4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
1 deletion
+40
-1
Makefile
Makefile
+39
-1
README.md
README.md
+1
-0
No files found.
Makefile
View file @
a1f635f6
...
@@ -17,6 +17,44 @@ contracts:
...
@@ -17,6 +17,44 @@ contracts:
yarn
yarn
npx hardhat compile
npx hardhat compile
define
clear_cache
rm
-rf
/tmp/cannon
mkdir
-p
/tmp/cannon
endef
test_challenge
:
$
(
call clear_cache
)
# Build preimage cache for block 13284469
minigeth/go-ethereum 13284469
# Generate initial
(
generic
)
MIPS memory checkpoint and final checkpoint
for
# block 13284469.
mipsevm/mipsevm
&&
mipsevm/mipsevm 13284469
npx hardhat
test test
/challenge_test.js
test_mipsevm
:
$
(
call clear_cache
)
# Build preimage caches for the given blocks
minigeth/go-ethereum 13284469
minigeth/go-ethereum 13284491
cd
mipsevm
&&
go
test
-v
test_minigeth
:
$
(
call clear_cache
)
# Check that minigeth is able to validate the given transactions.
# run block 13284491
(
0 tx
)
minigeth/go-ethereum 13284491
# run block 13284469
(
few tx
)
minigeth/go-ethereum 13284469
# block 13284053
(
deletion
)
minigeth/go-ethereum 13284053
# run block 13303075
(
uncles
)
minigeth/go-ethereum 13303075
test_contracts
:
npx hardhat
test
test
:
test_challenge test_mipsevm test_minigeth
clean
:
clean
:
rm
minigeth/go-ethereum
rm
minigeth/go-ethereum
rm
mipigo/minigeth
rm
mipigo/minigeth
...
@@ -30,4 +68,4 @@ mrproper: clean
...
@@ -30,4 +68,4 @@ mrproper: clean
rm
-rf
mipigo/venv
rm
-rf
mipigo/venv
.PHONY
:
build unicorn minigeth_mips minigeth_default_arch mipsevm contracts
\
.PHONY
:
build unicorn minigeth_mips minigeth_default_arch mipsevm contracts
\
clean mrproper
clean mrproper
test_challenge test_mipsevm test_minigeth test
README.md
View file @
a1f635f6
...
@@ -37,6 +37,7 @@ contracts -- A Merkleized MIPS processor on chain + the challenge logic
...
@@ -37,6 +37,7 @@ contracts -- A Merkleized MIPS processor on chain + the challenge logic
```
```
make build
make build
make test # verify everything works correctly
```
```
## Usage
## Usage
...
...
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