Skip to content

Commit fe2fe05

Browse files
authored
test: re-enable tests related to max initcode size (#4448)
1 parent 4ddd0ad commit fe2fe05

File tree

1 file changed

+0
-15
lines changed
  • packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth

1 file changed

+0
-15
lines changed

packages/hardhat-core/test/internal/hardhat-network/provider/modules/eth/hardforks.ts

-15
Original file line numberDiff line numberDiff line change
@@ -1701,11 +1701,6 @@ describe("Eth module - hardfork dependant tests", function () {
17011701
});
17021702

17031703
it("should allow initcodes larger than the EIP-3860 limit", async function () {
1704-
if (process.env.HARDHAT_EXPERIMENTAL_VM_MODE !== "ethereumjs") {
1705-
// disabled until we can disable the initcode check in revm
1706-
this.skip();
1707-
}
1708-
17091704
const code = "ff".repeat(maxInitcodeSize + 100);
17101705

17111706
const tx = getTxToDeployBytecode(code, maxCodeSize);
@@ -1726,11 +1721,6 @@ describe("Eth module - hardfork dependant tests", function () {
17261721
});
17271722

17281723
it("should allow initcodes larger than the EIP-3860 limit from impersonated accounts", async function () {
1729-
if (process.env.HARDHAT_EXPERIMENTAL_VM_MODE !== "ethereumjs") {
1730-
// disabled until we can disable the initcode check in revm
1731-
this.skip();
1732-
}
1733-
17341724
const code = "ff".repeat(maxInitcodeSize + 100);
17351725

17361726
const impersonatedAddress =
@@ -1770,11 +1760,6 @@ describe("Eth module - hardfork dependant tests", function () {
17701760
});
17711761

17721762
it("should allow initcodes larger than the EIP-3860 limit in raw transactions", async function () {
1773-
if (process.env.HARDHAT_EXPERIMENTAL_VM_MODE !== "ethereumjs") {
1774-
// disabled until we can disable the initcode check in revm
1775-
this.skip();
1776-
}
1777-
17781763
const code = "ff".repeat(maxInitcodeSize + 100);
17791764

17801765
const txData = getTxToDeployBytecode(code, maxCodeSize);

0 commit comments

Comments
 (0)