diff --git a/packages/common/src/common.ts b/packages/common/src/common.ts index 8fa7dfb443..4e7067ef02 100644 --- a/packages/common/src/common.ts +++ b/packages/common/src/common.ts @@ -6,7 +6,7 @@ import { intToBytes, toType, } from '@ethereumjs/util' -import crc from 'crc/crc32' +import { crc32 as crc } from 'crc' import { EventEmitter } from 'events' import * as goerli from './chains/goerli.json' diff --git a/packages/util/src/constants.ts b/packages/util/src/constants.ts index 693d6ad532..4efa21be47 100644 --- a/packages/util/src/constants.ts +++ b/packages/util/src/constants.ts @@ -1,6 +1,6 @@ import { secp256k1 } from 'ethereum-cryptography/secp256k1.js' -import { hexToBytes } from './bytes' +import { hexToBytes } from './bytes.js' /** * 2^64-1 diff --git a/packages/util/src/internal.ts b/packages/util/src/internal.ts index 2e6f20df87..ebc4a48262 100644 --- a/packages/util/src/internal.ts +++ b/packages/util/src/internal.ts @@ -22,7 +22,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE */ -import { bytesToHex, utf8ToBytes } from './bytes' +import { bytesToHex, utf8ToBytes } from './bytes.js' /** * Returns a `Boolean` on whether or not the a `String` starts with '0x'