Skip to content

Commit

Permalink
Import through index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
scorbajio committed Nov 8, 2023
1 parent 5573144 commit 4878e4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/statemanager/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * from './cache/index.js'
export * from './ethersStateManager.js'
export * from './flat/snapshot.js'
export * from './stateManager.js'
2 changes: 1 addition & 1 deletion packages/statemanager/test/flat/snapshot.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

1 comment on commit 4878e4b

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 2.

Benchmark suite Current: 4878e4b Previous: 82521c7 Ratio
Block 9422905 19344 ops/sec (±3.15%) 40415 ops/sec (±2.41%) 2.09
Block 9422906 17293 ops/sec (±5.11%) 39655 ops/sec (±1.82%) 2.29
Block 9422907 18922 ops/sec (±2.98%) 38584 ops/sec (±2.00%) 2.04
Block 9422908 17986 ops/sec (±3.21%) 36285 ops/sec (±4.84%) 2.02
Block 9422910 18286 ops/sec (±3.24%) 36935 ops/sec (±2.26%) 2.02

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.