Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #64 from ethereumjs/update-ethereumjs-common-version
Browse files Browse the repository at this point in the history
Update to ethereumjs-common v1.1.0
  • Loading branch information
holgerd77 authored Feb 6, 2019
2 parents 69c73b1 + 9dbb00b commit 97ff421
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion header.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const Common = require('ethereumjs-common')
const Common = require('ethereumjs-common').default
const utils = require('ethereumjs-util')
const BN = utils.BN
/**
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const Common = require('ethereumjs-common')
const Common = require('ethereumjs-common').default
const ethUtil = require('ethereumjs-util')
const Tx = require('ethereumjs-tx')
const Trie = require('merkle-patricia-tree')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"homepage": "https://github.com/ethereumjs/ethereumjs-block#readme",
"dependencies": {
"async": "^2.0.1",
"ethereumjs-common": "^0.6.0",
"ethereumjs-common": "^1.1.0",
"ethereumjs-tx": "^1.2.2",
"ethereumjs-util": "^5.0.0",
"merkle-patricia-tree": "^2.1.2"
Expand Down
2 changes: 1 addition & 1 deletion tests/block.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const tape = require('tape')
const Common = require('ethereumjs-common')
const Common = require('ethereumjs-common').default
const rlp = require('ethereumjs-util').rlp
const Block = require('../index.js')

Expand Down
2 changes: 1 addition & 1 deletion tests/difficulty.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ tape('[Header]: difficulty tests', t => {

const chainTestData = {
'mainnet': require('./difficultyMainNetwork.json').tests,
'ropsten': require('./difficultyRopstenByzantium.json').tests
'ropsten': require('./difficultyRopstenConstantinople.json').tests
}
for (let chain in chainTestData) {
const testData = chainTestData[chain]
Expand Down
2 changes: 1 addition & 1 deletion tests/header.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const tape = require('tape')
const Common = require('ethereumjs-common')
const Common = require('ethereumjs-common').default
const utils = require('ethereumjs-util')
const rlp = utils.rlp
const Header = require('../header.js')
Expand Down

0 comments on commit 97ff421

Please sign in to comment.