diff --git a/src/utils/formatters/transactionRequest.ts b/src/utils/formatters/transactionRequest.ts index ad953062..5b7a0ff9 100644 --- a/src/utils/formatters/transactionRequest.ts +++ b/src/utils/formatters/transactionRequest.ts @@ -20,7 +20,6 @@ export const rpcTransactionType = { legacy: '0x0', eip2930: '0x1', eip1559: '0x2', - suave: '0x50', } as const export type FormatTransactionRequestErrorType = ErrorType diff --git a/test/setup.ts b/test/setup.ts index 8c56ad30..d0113030 100644 --- a/test/setup.ts +++ b/test/setup.ts @@ -2,13 +2,13 @@ import { fetchLogs } from '@viem/anvil' import { afterAll, afterEach, beforeAll, beforeEach, vi } from 'vitest' -// import { setIntervalMining } from '~viem/test/index.js' +import { setIntervalMining } from '~viem/test/index.js' import { cleanupCache, listenersCache } from '~viem/utils/observe.js' import { promiseCache, responseCache } from '~viem/utils/promise/withCache.js' import { socketsCache } from '~viem/utils/rpc.js' -import { /*forkBlockNumber,*/ poolId } from './src/constants.js' -// import { setBlockNumber, testClient } from './src/utils.js' +import { forkBlockNumber, poolId } from './src/constants.js' +import { setBlockNumber, testClient } from './src/utils.js' beforeAll(() => { vi.mock('../src/errors/utils.ts', () => ({ @@ -27,14 +27,14 @@ beforeEach(async () => { cleanupCache.clear() socketsCache.clear() - // await setIntervalMining(testClient, { interval: 0 }) + await setIntervalMining(testClient, { interval: 0 }) }) afterAll(async () => { vi.restoreAllMocks() // Reset the anvil instance to the same state it was in before the tests started. - // await setBlockNumber(forkBlockNumber) + await setBlockNumber(forkBlockNumber) }) afterEach((context) => {