Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit f95cd57

Browse files
committed
fix: remove accidentally committed code
Something went wrong when rebasing #1668 and some code was introduced which shouldn't be there. This commit removes that code again.
1 parent 74edafd commit f95cd57

File tree

3 files changed

+2
-23
lines changed

3 files changed

+2
-23
lines changed

src/cli/utils.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,6 @@ const Progress = require('progress')
1111
const byteman = require('byteman')
1212
const promisify = require('promisify-es6')
1313

14-
// All known IPLD formats
15-
const ipldBitcoin = require('ipld-bitcoin')
16-
const ipldDagCbor = require('ipld-dag-cbor')
17-
const ipldDagPb = require('ipld-dag-pb')
18-
const ipldEthAccountSnapshot = require('ipld-ethereum').ethAccountSnapshot
19-
const ipldEthBlock = require('ipld-ethereum').ethBlock
20-
const ipldEthBlockList = require('ipld-ethereum').ethBlockList
21-
const ipldEthStateTrie = require('ipld-ethereum').ethStateTrie
22-
const ipldEthStorageTrie = require('ipld-ethereum').ethStorageTrie
23-
const ipldEthTrie = require('ipld-ethereum').ethTxTrie
24-
const ipldEthTx = require('ipld-ethereum').ethTx
25-
const ipldGit = require('ipld-git')
26-
const ipldRaw = require('ipld-raw')
27-
const ipldZcash = require('ipld-zcash')
28-
2914
exports = module.exports
3015

3116
exports.isDaemonOn = isDaemonOn

src/core/index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,7 @@ class IPFS extends EventEmitter {
8787
multiaddr: multiaddr,
8888
multibase: multibase,
8989
multihash: multihash,
90-
CID: CID,
91-
dagPB: ipldDagPb,
92-
dagCBOR: ipldDagCbor
90+
CID: CID
9391
}
9492

9593
// IPFS Core Internals

test/core/init.spec.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ const isIPFS = require('is-ipfs')
1515
const multiaddr = require('multiaddr')
1616
const multibase = require('multibase')
1717
const multihash = require('multihashes')
18-
const ipldDagCbor = require('ipld-dag-cbor')
19-
const ipldDagPb = require('ipld-dag-pb')
2018
const CID = require('cids')
2119
const IPFS = require('../../src/core')
2220

@@ -122,9 +120,7 @@ describe('init', () => {
122120
multiaddr: multiaddr,
123121
multibase: multibase,
124122
multihash: multihash,
125-
CID: CID,
126-
dagPB: ipldDagPb,
127-
dagCBOR: ipldDagCbor
123+
CID: CID
128124
})
129125
})
130126

0 commit comments

Comments
 (0)