From 1b064f7fbc3c6fe95e64a95ccbc7121edc6f4223 Mon Sep 17 00:00:00 2001 From: Holger Drewes Date: Tue, 13 Aug 2024 09:54:46 +0200 Subject: [PATCH] Fix EVM example --- packages/evm/examples/eips.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/evm/examples/eips.ts b/packages/evm/examples/eips.ts index d492f008ce..4d405bcf12 100644 --- a/packages/evm/examples/eips.ts +++ b/packages/evm/examples/eips.ts @@ -1,10 +1,10 @@ -import { Chain, Common, Mainnet } from '@ethereumjs/common' +import { Common, Mainnet } from '@ethereumjs/common' import { createEVM } from '@ethereumjs/evm' const main = async () => { - const common = new Common({ chain: Mainnet, eips: [3074] }) + const common = new Common({ chain: Mainnet, eips: [7702] }) const evm = await createEVM({ common }) - console.log(`EIP 3074 is active - ${evm.common.isActivatedEIP(3074)}`) + console.log(`EIP 7702 is active - ${evm.common.isActivatedEIP(7702)}`) } void main()