Skip to content

Commit

Permalink
Add missed `.js file endings (#3205)
Browse files Browse the repository at this point in the history
* Add missing .js file endings

* More missing endings
  • Loading branch information
acolytec3 authored Dec 18, 2023
1 parent a58c6cb commit 4f908ca
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/block/src/header.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { keccak256 } from 'ethereum-cryptography/keccak.js'
import { CLIQUE_EXTRA_SEAL, CLIQUE_EXTRA_VANITY } from './clique.js'
import { fakeExponential, valuesArrayToHeaderData } from './helpers.js'

import type { BlockHeaderBytes, BlockOptions, HeaderData, JsonHeader } from './types'
import type { BlockHeaderBytes, BlockOptions, HeaderData, JsonHeader } from './types.js'
import type { CliqueConfig } from '@ethereumjs/common'
import type { BigIntLike } from '@ethereumjs/util'

Expand Down
2 changes: 1 addition & 1 deletion packages/common/src/chains.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { ChainConfig } from './types'
import type { ChainConfig } from './types.js'

type ChainsDict = {
[key: string]: ChainConfig
Expand Down
2 changes: 1 addition & 1 deletion packages/devp2p/src/ext/kbucket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ OTHER DEALINGS IN THE SOFTWARE.
import { equalsBytes, randomBytes } from '@ethereumjs/util'
import { EventEmitter } from 'events'

import type { Contact, KBucketOptions, PeerInfo } from '../types'
import type { Contact, KBucketOptions, PeerInfo } from '../types.js'

function createNode() {
return { contacts: [], dontSplit: false, left: null, right: null }
Expand Down
4 changes: 2 additions & 2 deletions packages/trie/src/util/asyncWalk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { equalsBytes, toHex } from 'ethereum-cryptography/utils'
import { BranchNode } from '../node/branch.js'
import { ExtensionNode } from '../node/extension.js'

import type { Trie } from '../trie'
import type { TrieNode } from '../types'
import type { Trie } from '../trie.js'
import type { TrieNode } from '../types.js'

export type NodeFilter = (node: TrieNode, key: number[]) => Promise<boolean>
export type OnFound = (node: TrieNode, key: number[]) => Promise<any>
Expand Down
2 changes: 1 addition & 1 deletion packages/tx/src/capabilities/eip2718.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { txTypeBytes } from '../util.js'

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

import type { EIP2718CompatibleTx } from '../types'
import type { EIP2718CompatibleTx } from '../types.js'
import type { Input } from '@ethereumjs/rlp'

export function getHashedMessageToSign(tx: EIP2718CompatibleTx): Uint8Array {
Expand Down
4 changes: 2 additions & 2 deletions packages/verkle/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { utf8ToBytes } from '@ethereumjs/util'

import type { VerkleNode } from './node'
import type { WalkController } from './util/walkController'
import type { VerkleNode } from './node/index.js'
import type { WalkController } from './util/walkController.js'
import type { DB } from '@ethereumjs/util'

// Field representation of a commitment
Expand Down

0 comments on commit 4f908ca

Please sign in to comment.