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
cafd3bfa
Unverified
Commit
cafd3bfa
authored
Apr 24, 2023
by
protolambda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile: update makefile
parent
bea85f76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
58 deletions
+3
-58
Makefile
Makefile
+3
-58
No files found.
Makefile
View file @
cafd3bfa
...
...
@@ -43,14 +43,6 @@ mipsevm:
.PHONY
:
mipsevm
nodejs
:
if
[
-x
"
$$
(command -v pnpm)"
]
;
then
\
pnpm
install
;
\
else
\
npm
install
;
\
fi
.PHONY
:
nodejs
# Must be a definition and not a rule, otherwise it gets only called once and
# not before each test as we wish.
define
clear_cache
...
...
@@ -62,57 +54,10 @@ clear_cache:
$
(
call clear_cache
)
.PHONY
:
clear_cache
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
--outputGolden
&&
mipsevm/mipsevm
--blockNumber
=
13284469
npx hardhat
test test
/challenge_test.js
.PHONY
:
test_challenge
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
.PHONY
:
test_mipsevm
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
.PHONY
:
test_minigeth
test_contracts
:
$
(
call clear_cache
)
npx hardhat
test
.PHONY
:
test_contracts
test
:
test_challenge test_mipsevm test_minigeth
.PHONY
:
test
clean
:
rm
-f
minigeth/go-ethereum
rm
-f
mipigo/minigeth
rm
-f
mipigo/minigeth.bin
rm
-f
mipsevm/mipsevm
rm
-rf
artifacts
rm
-f
unicorn/libunicorn.
*
.PHONY
:
clean
mrproper
:
clean
rm
-rf
cache
rm
-rf
node_modules
rm
-rf
mipigo/venv
rm
-rf
unicorn/build
.PHONY
:
mrproper
contracts
:
cd
contracts
&&
forge build
.PHONY
:
contracts
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