Skip to content

Commit 4f908ca

Browse files
authored
Add missed `.js file endings (#3205)
* Add missing .js file endings * More missing endings
1 parent a58c6cb commit 4f908ca

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

packages/block/src/header.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import { keccak256 } from 'ethereum-cryptography/keccak.js'
2828
import { CLIQUE_EXTRA_SEAL, CLIQUE_EXTRA_VANITY } from './clique.js'
2929
import { fakeExponential, valuesArrayToHeaderData } from './helpers.js'
3030

31-
import type { BlockHeaderBytes, BlockOptions, HeaderData, JsonHeader } from './types'
31+
import type { BlockHeaderBytes, BlockOptions, HeaderData, JsonHeader } from './types.js'
3232
import type { CliqueConfig } from '@ethereumjs/common'
3333
import type { BigIntLike } from '@ethereumjs/util'
3434

packages/common/src/chains.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ChainConfig } from './types'
1+
import type { ChainConfig } from './types.js'
22

33
type ChainsDict = {
44
[key: string]: ChainConfig

packages/devp2p/src/ext/kbucket.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ OTHER DEALINGS IN THE SOFTWARE.
3535
import { equalsBytes, randomBytes } from '@ethereumjs/util'
3636
import { EventEmitter } from 'events'
3737

38-
import type { Contact, KBucketOptions, PeerInfo } from '../types'
38+
import type { Contact, KBucketOptions, PeerInfo } from '../types.js'
3939

4040
function createNode() {
4141
return { contacts: [], dontSplit: false, left: null, right: null }

packages/trie/src/util/asyncWalk.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { equalsBytes, toHex } from 'ethereum-cryptography/utils'
44
import { BranchNode } from '../node/branch.js'
55
import { ExtensionNode } from '../node/extension.js'
66

7-
import type { Trie } from '../trie'
8-
import type { TrieNode } from '../types'
7+
import type { Trie } from '../trie.js'
8+
import type { TrieNode } from '../types.js'
99

1010
export type NodeFilter = (node: TrieNode, key: number[]) => Promise<boolean>
1111
export type OnFound = (node: TrieNode, key: number[]) => Promise<any>

packages/tx/src/capabilities/eip2718.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { txTypeBytes } from '../util.js'
66

77
import { errorMsg } from './legacy.js'
88

9-
import type { EIP2718CompatibleTx } from '../types'
9+
import type { EIP2718CompatibleTx } from '../types.js'
1010
import type { Input } from '@ethereumjs/rlp'
1111

1212
export function getHashedMessageToSign(tx: EIP2718CompatibleTx): Uint8Array {

packages/verkle/src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { utf8ToBytes } from '@ethereumjs/util'
22

3-
import type { VerkleNode } from './node'
4-
import type { WalkController } from './util/walkController'
3+
import type { VerkleNode } from './node/index.js'
4+
import type { WalkController } from './util/walkController.js'
55
import type { DB } from '@ethereumjs/util'
66

77
// Field representation of a commitment

0 commit comments

Comments
 (0)