From 4878e4b4bdd88fe64df6d96aafaf6f91495c001f Mon Sep 17 00:00:00 2001 From: Amir Date: Tue, 7 Nov 2023 17:44:28 -0700 Subject: [PATCH] Import through index.js --- packages/statemanager/src/index.ts | 1 + packages/statemanager/test/flat/snapshot.spec.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/statemanager/src/index.ts b/packages/statemanager/src/index.ts index 5c20d4fabe..d2ee455c07 100644 --- a/packages/statemanager/src/index.ts +++ b/packages/statemanager/src/index.ts @@ -1,3 +1,4 @@ export * from './cache/index.js' export * from './ethersStateManager.js' +export * from './flat/snapshot.js' export * from './stateManager.js' diff --git a/packages/statemanager/test/flat/snapshot.spec.ts b/packages/statemanager/test/flat/snapshot.spec.ts index bcdd92d696..4bdfe0ec2d 100644 --- a/packages/statemanager/test/flat/snapshot.spec.ts +++ b/packages/statemanager/test/flat/snapshot.spec.ts @@ -3,7 +3,7 @@ import { Account, Address, KECCAK256_RLP, bytesToHex, hexToBytes } from '@ethere import { keccak256 } from 'ethereum-cryptography/keccak' import { assert, describe, it } from 'vitest' -import { Snapshot } from '../../src/flat/snapshot' +import { Snapshot } from '../../src/index.js' ;(BigInt.prototype as any).toJSON = function () { return this.toString() }