import { bench, describe } from 'vitest' import { parseEther } from '../../utils/unit/parseEther.js' import { ethersProvider } from '~test/src/bench.js' import { accounts } from '~test/src/constants.js' import { publicClient } from '~test/src/utils.js' import { estimateGas } from './estimateGas.js' describe.skip('Estimate Gas', () => { bench('viem: `estimateGas`', async () => { await estimateGas(publicClient, { account: accounts[0].address, to: accounts[1].address, value: parseEther('1'), }) }) bench('ethers: `estimateGas`', async () => { await ethersProvider.estimateGas({ from: accounts[0].address, to: accounts[1].address, value: parseEther('1'), }) }) })