Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
b4d42a33
Commit
b4d42a33
authored
Aug 22, 2019
by
Iuri Matias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update/fix test (blocks start at 0)
parent
af2d59af
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
blocks.js
remix-simulator/test/blocks.js
+2
-2
No files found.
remix-simulator/test/blocks.js
View file @
b4d42a33
...
...
@@ -13,7 +13,7 @@ describe('blocks', function () {
})
it
(
'should get block given its number'
,
async
function
()
{
let
block
=
await
web3
.
eth
.
getBlock
(
1
)
let
block
=
await
web3
.
eth
.
getBlock
(
0
)
let
expectedBlock
=
{
difficulty
:
'69762765929000'
,
...
...
@@ -24,7 +24,7 @@ describe('blocks', function () {
logsBloom
:
'0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331'
,
miner
:
'0x0000000000000000000000000000000000000001'
,
nonce
:
'0x0000000000000000'
,
number
:
1
,
number
:
0
,
parentHash
:
'0x0000000000000000000000000000000000000000000000000000000000000000'
,
sha3Uncles
:
'0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347'
,
size
:
163591
,
...
...
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