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
cf33f16a
Commit
cf33f16a
authored
Sep 23, 2021
by
George Hotz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add some CI
parent
a24394dc
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
1 deletion
+27
-1
test.yml
.github/workflows/test.yml
+25
-0
main.go
minigeth/main.go
+1
-1
prefetch.go
minigeth/oracle/prefetch.go
+1
-0
No files found.
.github/workflows/test.yml
0 → 100644
View file @
cf33f16a
name
:
Tests
on
:
[
push
,
pull_request
]
jobs
:
unit
:
name
:
Tests
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout Code
uses
:
actions/checkout@v2
-
name
:
Install Go
run
:
|
sudo apt-get update
sudo apt-get -y --no-install-recommends install golang
-
name
:
Build minigeth
run
:
|
(cd minigeth/ && go build)
mkdir -p /tmp/eth
-
name
:
Test block
13284491
run
:
minigeth/go-ethereum
13284491
-
name
:
Test block
13284469
run
:
minigeth/go-ethereum
13284469
-
name
:
Test block
13284053
run
:
minigeth/go-ethereum 13284053
\ No newline at end of file
minigeth/main.go
View file @
cf33f16a
...
...
@@ -72,6 +72,6 @@ func main() {
if
block
.
Header
()
.
Root
==
newheader
.
Root
{
fmt
.
Println
(
"good transition"
)
}
else
{
fmt
.
Println
(
"BAD transition :(("
)
panic
(
"BAD transition :(("
)
}
}
minigeth/oracle/prefetch.go
View file @
cf33f16a
...
...
@@ -149,6 +149,7 @@ func PrefetchCode(blockNumber *big.Int, addrHash common.Hash) {
}
func
PrefetchBlock
(
blockNumber
*
big
.
Int
)
{
// TODO: Write this.
}
func
getProofAccount
(
blockNumber
*
big
.
Int
,
addr
common
.
Address
,
skey
common
.
Hash
,
storage
bool
)
[]
string
{
...
...
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