Skip to content
This repository was archived by the owner on Dec 10, 2020. It is now read-only.

Commit e318b65

Browse files
committed
upgrade to monorepo beta.2 libs
1 parent f3985b8 commit e318b65

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/blockchain/chain.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export class Chain extends EventEmitter {
110110
db: options.db,
111111
common: this.config.common,
112112
validateBlocks: false,
113-
validatePow: false,
113+
validateConsensus: false,
114114
})
115115

116116
this.db = this.blockchain.db
@@ -324,6 +324,6 @@ export class Chain extends EventEmitter {
324324
*/
325325
async getTd(hash: Buffer, num: BN): Promise<BN> {
326326
await this.open()
327-
return this.blockchain._getTd(hash, num)
327+
return (this.blockchain as any)._getTd(hash, num)
328328
}
329329
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@
5656
},
5757
"homepage": "https://github.com/ethereumjs/ethereumjs-client#readme",
5858
"dependencies": {
59-
"@ethereumjs/block": "^3.0.0-beta.1",
60-
"@ethereumjs/blockchain": "^5.0.0-beta.1",
61-
"@ethereumjs/common": "^2.0.0-beta.1",
59+
"@ethereumjs/block": "^3.0.0-beta.2",
60+
"@ethereumjs/blockchain": "^5.0.0-beta.2",
61+
"@ethereumjs/common": "^2.0.0-beta.2",
6262
"chalk": "^2.4.1",
6363
"ethereumjs-devp2p": "^3.0.3",
6464
"ethereumjs-util": "^7.0.7",

0 commit comments

Comments
 (0)