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
ead66115
Commit
ead66115
authored
Oct 31, 2021
by
George Hotz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wasn't building the contracts in test
parent
bbcdbb02
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
test_mipsevm.yml
.github/workflows/test_mipsevm.yml
+2
-0
run_evm.go
mipsevm/run_evm.go
+2
-1
No files found.
.github/workflows/test_mipsevm.yml
View file @
ead66115
...
...
@@ -20,6 +20,8 @@ jobs:
run
:
|
npm install --global yarn
yarn install
-
name
:
Hardhat Compile
run
:
npx hardhat compile
-
name
:
Build minigeth and run default block (cache)
run
:
|
./run.sh
...
...
mipsevm/run_evm.go
View file @
ead66115
...
...
@@ -24,7 +24,8 @@ type jsoncontract struct {
func
GetBytecode
(
deployed
bool
)
[]
byte
{
var
jj
jsoncontract
mipsjson
,
_
:=
ioutil
.
ReadFile
(
"../artifacts/contracts/MIPS.sol/MIPS.json"
)
mipsjson
,
err
:=
ioutil
.
ReadFile
(
"../artifacts/contracts/MIPS.sol/MIPS.json"
)
check
(
err
)
json
.
NewDecoder
(
bytes
.
NewReader
(
mipsjson
))
.
Decode
(
&
jj
)
if
deployed
{
return
common
.
Hex2Bytes
(
jj
.
DeployedBytecode
[
2
:
])
...
...
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