diff --git a/.changeset/edr-0.24.0.md b/.changeset/edr-0.24.0.md new file mode 100644 index 00000000000..317612b1e10 --- /dev/null +++ b/.changeset/edr-0.24.0.md @@ -0,0 +1,5 @@ +--- +"hardhat": patch +--- + +Upgraded EDR to v0.24.0. diff --git a/.changeset/edr-eip-7954-amsterdam.md b/.changeset/edr-eip-7954-amsterdam.md new file mode 100644 index 00000000000..93641cfea20 --- /dev/null +++ b/.changeset/edr-eip-7954-amsterdam.md @@ -0,0 +1,6 @@ +--- +# docs: https://github.com/NomicFoundation/hardhat-website/pull/318 +"hardhat": minor +--- + +Added experimental EIP-7954 support to the Amsterdam hardfork: deployment transactions may carry up to 128 KiB of init code and deploy up to 64 KiB of contract code. diff --git a/.changeset/edr-gaslimit-block-gas-limit-disabled.md b/.changeset/edr-gaslimit-block-gas-limit-disabled.md new file mode 100644 index 00000000000..53501cfa7e5 --- /dev/null +++ b/.changeset/edr-gaslimit-block-gas-limit-disabled.md @@ -0,0 +1,5 @@ +--- +"hardhat": patch +--- + +Fixed the `GASLIMIT` opcode returning `1_000_000` while the block gas limit is disabled; it now returns the parent block's gas limit, which the mined block's header already carried. diff --git a/.changeset/edr-hoodi-amsterdam-activation.md b/.changeset/edr-hoodi-amsterdam-activation.md new file mode 100644 index 00000000000..3b5a7cefb97 --- /dev/null +++ b/.changeset/edr-hoodi-amsterdam-activation.md @@ -0,0 +1,5 @@ +--- +"hardhat": patch +--- + +Added the Amsterdam hardfork activation on Hoodi, so forking Hoodi uses `amsterdam` for blocks after it activates. diff --git a/.changeset/edr-op-l1-data-fee.md b/.changeset/edr-op-l1-data-fee.md new file mode 100644 index 00000000000..e0b7221de04 --- /dev/null +++ b/.changeset/edr-op-l1-data-fee.md @@ -0,0 +1,5 @@ +--- +"hardhat": patch +--- + +Fixed simulated OP networks not charging the L1 data fee, so transactions now pay it and their receipts report it. diff --git a/packages/hardhat-slang/test/stack-traces.ts b/packages/hardhat-slang/test/stack-traces.ts index 56861c038a1..cb648c289bd 100644 --- a/packages/hardhat-slang/test/stack-traces.ts +++ b/packages/hardhat-slang/test/stack-traces.ts @@ -15,13 +15,7 @@ const SET_ZERO_CALLDATA = `0x60fe47b1${"0".repeat(64)}`; describe( "hardhat-slang stack traces", - { - // Needs an EDR that builds stack traces from debugSymbols. Opt in once - // Hardhat's does, so this turns on without a code change. - skip: - process.env.HARDHAT_DISABLE_SLOW_TESTS === "true" || - process.env.HARDHAT_SLANG_EXPECT_STACK_TRACES !== "true", - }, + { skip: process.env.HARDHAT_DISABLE_SLOW_TESTS === "true" }, () => { useFixtureProject("with-debug-info"); diff --git a/packages/hardhat/package.json b/packages/hardhat/package.json index b064b72cc6a..4f66a21bb74 100644 --- a/packages/hardhat/package.json +++ b/packages/hardhat/package.json @@ -95,7 +95,7 @@ "typescript": "~6.0.3" }, "dependencies": { - "@nomicfoundation/edr": "0.23.0", + "@nomicfoundation/edr": "0.24.0", "@nomicfoundation/hardhat-errors": "workspace:^3.1.3", "@nomicfoundation/hardhat-utils": "workspace:^5.0.0", "@nomicfoundation/hardhat-vendored": "workspace:^3.0.4", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c7574d79d4f..af48ae0e479 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -326,8 +326,8 @@ importers: packages/hardhat: dependencies: '@nomicfoundation/edr': - specifier: 0.23.0 - version: 0.23.0 + specifier: 0.24.0 + version: 0.24.0 '@nomicfoundation/hardhat-errors': specifier: workspace:^3.1.3 version: link:../hardhat-errors @@ -3012,54 +3012,54 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@nomicfoundation/edr-darwin-arm64@0.23.0': - resolution: {integrity: sha512-XB0Wpvj21Cn0FCwMyafKRTSUGLLBCOSunURvTZpOloptS5gTd8ERUOz8bth0ZqToWNjjqfF4HYuekJX/gCrdKw==} + '@nomicfoundation/edr-darwin-arm64@0.24.0': + resolution: {integrity: sha512-XL6/8t9y+fayrRJXbwwsmyg03HfJO6RpFKnJps7QbUTrm/+q9dh2z+V+Dk3wIcjh23BtBr7+GLVfe7qijEKGpA==} engines: {node: '>= 22'} cpu: [arm64] os: [darwin] - '@nomicfoundation/edr-darwin-x64@0.23.0': - resolution: {integrity: sha512-SlKLi1rrp4hxHMJ+lZCv9jho4Mb9uD1Y65hXg2CHGP3MiA/ITxLp4FmbIwmng6HOtQVrl2bBHJ1QQIlfhb5ICA==} + '@nomicfoundation/edr-darwin-x64@0.24.0': + resolution: {integrity: sha512-2S7GLXfyQOeXI1+qFisWlFL9+gQ5l2JrPh8RhfSdiQWgFcKb8XAojn+GJ6tES0FuA2ctrQ7bFqsvHYUd3vWsmA==} engines: {node: '>= 22'} cpu: [x64] os: [darwin] - '@nomicfoundation/edr-linux-arm64-gnu@0.23.0': - resolution: {integrity: sha512-1zaY7l0ZFvGpIM67AgiA9p2CBCSuz77VMO07N9UU+yP9EQk7xGA/y7A1PdmelVmxoFAfNJukZfdda53I+FfbvQ==} + '@nomicfoundation/edr-linux-arm64-gnu@0.24.0': + resolution: {integrity: sha512-SNPyUiSf+N4UD+0cwrNJvKY/nVxr72IiQrgCJOr9VYoy+0Ovi62oqxBLB6G7shAnPWJfjovjm5ACtoRaC8WHlw==} engines: {node: '>= 22'} cpu: [arm64] os: [linux] libc: [glibc] - '@nomicfoundation/edr-linux-arm64-musl@0.23.0': - resolution: {integrity: sha512-MVyvWuuN93Le7Y4SuAhzhJJaHkP1cfdzIl/rIWR/iXwRc4TOaVY//wHJjW+a3vX7lOxPaKOawTL5N784KUHbKQ==} + '@nomicfoundation/edr-linux-arm64-musl@0.24.0': + resolution: {integrity: sha512-W7DIw/QlbAWcnF3jyHbmoTvZdRN6UzgzZIOtCXjHXChOa1GzC/fZ6DoXYr+o4o7TYiD4dlBOf9u5MpSSDbavlA==} engines: {node: '>= 22'} cpu: [arm64] os: [linux] libc: [musl] - '@nomicfoundation/edr-linux-x64-gnu@0.23.0': - resolution: {integrity: sha512-SABJqlOsEC/aLxxc6crBse5g09Ee1YtYfDGGGR7wEb36ZXMRpC+YQXWz5y8JnD8C0Xm6wkO40J/tQamaFvfWEA==} + '@nomicfoundation/edr-linux-x64-gnu@0.24.0': + resolution: {integrity: sha512-p3Levg/+6sAijhmUOK55qhOW2uXc4oskP0Rpe7FoxckTr3mb/gBcRae/tdV46M+6Slf6AXPo8DxZ66aV2L0z6Q==} engines: {node: '>= 22'} cpu: [x64] os: [linux] libc: [glibc] - '@nomicfoundation/edr-linux-x64-musl@0.23.0': - resolution: {integrity: sha512-TIgZjPrHhS+L1+CPv99QrGBpRXrazC3Iox3f6XvNEd2aZX1L9a6BLVG1XmS+3OyMb+Qd+vjMIhB3qi7HawbfUA==} + '@nomicfoundation/edr-linux-x64-musl@0.24.0': + resolution: {integrity: sha512-1ke6E5LFbMipXXI6S3gAs0QQYOHY7xAoHcHkeqAzTX0XXf3gDyWrKhcW6KJ3DeHxa1SOSG8+C4YoxopzCkYUpg==} engines: {node: '>= 22'} cpu: [x64] os: [linux] libc: [musl] - '@nomicfoundation/edr-win32-x64-msvc@0.23.0': - resolution: {integrity: sha512-vMEZMPk+GbvLHfbS3lCVr+ufJvKhOwtKM0UuZxjnAllBaiojh+v7LRoTc/RN50puzz3WpbyHuvgwqDkEIIj8Lg==} + '@nomicfoundation/edr-win32-x64-msvc@0.24.0': + resolution: {integrity: sha512-C6prFaXpAZhArWK7TIY1GFp6zLIm/p881QU9DGZA1n2GbTuicq2rwEN3r8L4boT36ePO/mqvUth1JxuoOJl95A==} engines: {node: '>= 22'} cpu: [x64] os: [win32] - '@nomicfoundation/edr@0.23.0': - resolution: {integrity: sha512-fgFHg55qJPsT7EKtL3OEkcSprplXRbzGOegCtQwaHERpHihWf0Wlyhsdj1S4FIW48rkxklTit3kWTZDUpOmyNw==} + '@nomicfoundation/edr@0.24.0': + resolution: {integrity: sha512-atlPhBhLhYZ4edSvUfkOEpYIRzS+yCc6zl3RDJxol6egSVPZAyyobfDyPsEALqxMpVaBDnqeiHT1edOuw5mZeA==} engines: {node: '>= 22'} '@nomicfoundation/solidity-analyzer-darwin-arm64@0.1.2': @@ -8491,36 +8491,36 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.20.1 - '@nomicfoundation/edr-darwin-arm64@0.23.0': + '@nomicfoundation/edr-darwin-arm64@0.24.0': optional: true - '@nomicfoundation/edr-darwin-x64@0.23.0': + '@nomicfoundation/edr-darwin-x64@0.24.0': optional: true - '@nomicfoundation/edr-linux-arm64-gnu@0.23.0': + '@nomicfoundation/edr-linux-arm64-gnu@0.24.0': optional: true - '@nomicfoundation/edr-linux-arm64-musl@0.23.0': + '@nomicfoundation/edr-linux-arm64-musl@0.24.0': optional: true - '@nomicfoundation/edr-linux-x64-gnu@0.23.0': + '@nomicfoundation/edr-linux-x64-gnu@0.24.0': optional: true - '@nomicfoundation/edr-linux-x64-musl@0.23.0': + '@nomicfoundation/edr-linux-x64-musl@0.24.0': optional: true - '@nomicfoundation/edr-win32-x64-msvc@0.23.0': + '@nomicfoundation/edr-win32-x64-msvc@0.24.0': optional: true - '@nomicfoundation/edr@0.23.0': + '@nomicfoundation/edr@0.24.0': optionalDependencies: - '@nomicfoundation/edr-darwin-arm64': 0.23.0 - '@nomicfoundation/edr-darwin-x64': 0.23.0 - '@nomicfoundation/edr-linux-arm64-gnu': 0.23.0 - '@nomicfoundation/edr-linux-arm64-musl': 0.23.0 - '@nomicfoundation/edr-linux-x64-gnu': 0.23.0 - '@nomicfoundation/edr-linux-x64-musl': 0.23.0 - '@nomicfoundation/edr-win32-x64-msvc': 0.23.0 + '@nomicfoundation/edr-darwin-arm64': 0.24.0 + '@nomicfoundation/edr-darwin-x64': 0.24.0 + '@nomicfoundation/edr-linux-arm64-gnu': 0.24.0 + '@nomicfoundation/edr-linux-arm64-musl': 0.24.0 + '@nomicfoundation/edr-linux-x64-gnu': 0.24.0 + '@nomicfoundation/edr-linux-x64-musl': 0.24.0 + '@nomicfoundation/edr-win32-x64-msvc': 0.24.0 '@nomicfoundation/solidity-analyzer-darwin-arm64@0.1.2': optional: true