-
Notifications
You must be signed in to change notification settings - Fork 758
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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() |