Skip to content

Commit

Permalink
Clean up dev dependencies (#3710)
Browse files Browse the repository at this point in the history
* Remove polyfill dep and fix tests

* remove `ethersproject/abi` dep

* Add explanatory note on calldata

* fix test

* remove console log

* Pin browser deps again

* pin browser deps again

* add ethersproject ABI back

* replace abi with ethersv6

* Update packages/vm/test/api/customChain.spec.ts

Co-authored-by: Jochem Brouwer <[email protected]>

* Add ethers back to customChains test.

* Fix another example

* fix another example

---------

Co-authored-by: Jochem Brouwer <[email protected]>
  • Loading branch information
acolytec3 and jochem-brouwer authored Oct 1, 2024
1 parent a40f4e6 commit 477dc76
Show file tree
Hide file tree
Showing 11 changed files with 3,694 additions and 1,426 deletions.
6 changes: 1 addition & 5 deletions config/vitest.config.browser.mts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { defineConfig } from 'vitest/config'
import { nodePolyfills } from 'vite-plugin-node-polyfills'
import wasm from 'vite-plugin-wasm'

const config = defineConfig({
Expand All @@ -16,13 +15,10 @@ const config = defineConfig({
},
plugins: [
wasm(),
nodePolyfills({
include: ['util', 'fs', 'buffer', 'path'],
}),
],
optimizeDeps: {

exclude: ['kzg-wasm'],
include: ['vite-plugin-node-polyfills/shims/buffer', 'vite-plugin-node-polyfills/shims/global', 'vite-plugin-node-polyfills/shims/process']
},
})

Expand Down
Loading

0 comments on commit 477dc76

Please sign in to comment.