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
88f0280b
Commit
88f0280b
authored
Oct 31, 2021
by
George Hotz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
challenge works...weeeeeeeee
parent
961ba684
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
challenge_test.js
test/challenge_test.js
+3
-4
No files found.
test/challenge_test.js
View file @
88f0280b
const
{
expect
}
=
require
(
"
chai
"
);
const
{
expect
}
=
require
(
"
chai
"
);
const
fs
=
require
(
"
fs
"
);
const
fs
=
require
(
"
fs
"
);
// golden minigeth.bin hash
// golden minigeth.bin hash
const
goldenRoot
=
"
0x
ff382489fd6109b9dc2dcee3f6e202e6ae2a5e7029cd9eb4b1f931dff51ca725
"
const
goldenRoot
=
"
0x
1f6285b6d372ee187815a8580d1af3ab348cea34abbee18a8e13272454a4c4af
"
describe
(
"
Challenge contract
"
,
function
()
{
describe
(
"
Challenge contract
"
,
function
()
{
beforeEach
(
async
function
()
{
beforeEach
(
async
function
()
{
...
@@ -30,9 +29,9 @@ describe("Challenge contract", function () {
...
@@ -30,9 +29,9 @@ describe("Challenge contract", function () {
const
assertionRoot
=
"
0x9e0261efe4509912b8862f3d45a0cb8404b99b239247df9c55871bd3844cebbd
"
const
assertionRoot
=
"
0x9e0261efe4509912b8862f3d45a0cb8404b99b239247df9c55871bd3844cebbd
"
const
finalSystemState
=
"
0x
17c96b2477177f61e282f651bed174524dbde70a5ba9fc38435a3386acf46998
"
const
finalSystemState
=
"
0x
f02b4450a07d492c17b4b554851f0dcb12192e2439a507b12fcea8f801a596a6
"
let
startTrie
=
JSON
.
parse
(
fs
.
readFileSync
(
"
/tmp/eth/13284469/checkpoint_-1.json
"
))
let
startTrie
=
JSON
.
parse
(
fs
.
readFileSync
(
"
/tmp/eth/13284469/checkpoint_-1.json
"
))
let
finalTrie
=
JSON
.
parse
(
fs
.
readFileSync
(
"
/tmp/eth/13284469/checkpoint_850
4202
5.json
"
))
let
finalTrie
=
JSON
.
parse
(
fs
.
readFileSync
(
"
/tmp/eth/13284469/checkpoint_850
5943
5.json
"
))
while
(
1
)
{
while
(
1
)
{
try
{
try
{
...
...
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