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

Commit

Permalink
Update to ethereumjs-common v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
danjm committed Feb 5, 2019
1 parent 69c73b1 commit 7fc7200
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 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/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 7fc7200

Please sign in to comment.