diff --git a/packages/block/src/header.ts b/packages/block/src/header.ts index 1b2cece6dc..b25ae7bf7d 100644 --- a/packages/block/src/header.ts +++ b/packages/block/src/header.ts @@ -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' diff --git a/packages/common/src/chains.ts b/packages/common/src/chains.ts index 55dd26c2ee..e382c13d71 100644 --- a/packages/common/src/chains.ts +++ b/packages/common/src/chains.ts @@ -1,4 +1,4 @@ -import type { ChainConfig } from './types' +import type { ChainConfig } from './types.js' type ChainsDict = { [key: string]: ChainConfig diff --git a/packages/devp2p/src/ext/kbucket.ts b/packages/devp2p/src/ext/kbucket.ts index c1ea35a5b4..38f25eeab2 100644 --- a/packages/devp2p/src/ext/kbucket.ts +++ b/packages/devp2p/src/ext/kbucket.ts @@ -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 } diff --git a/packages/trie/src/util/asyncWalk.ts b/packages/trie/src/util/asyncWalk.ts index daf9713e08..f23cc33fc0 100644 --- a/packages/trie/src/util/asyncWalk.ts +++ b/packages/trie/src/util/asyncWalk.ts @@ -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 export type OnFound = (node: TrieNode, key: number[]) => Promise diff --git a/packages/tx/src/capabilities/eip2718.ts b/packages/tx/src/capabilities/eip2718.ts index 309cc3bc76..35cd27eeea 100644 --- a/packages/tx/src/capabilities/eip2718.ts +++ b/packages/tx/src/capabilities/eip2718.ts @@ -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 { diff --git a/packages/verkle/src/types.ts b/packages/verkle/src/types.ts index 845c2fb56a..596b5ad0ec 100644 --- a/packages/verkle/src/types.ts +++ b/packages/verkle/src/types.ts @@ -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