Skip to content

hardhat-edr-rmbt#55

Open
Dargon789 wants to merge 9422 commits intoweb3:mainfrom
Dargon789:pr/7577
Open

hardhat-edr-rmbt#55
Dargon789 wants to merge 9422 commits intoweb3:mainfrom
Dargon789:pr/7577

Conversation

@Dargon789
Copy link
Copy Markdown

@Dargon789 Dargon789 commented Mar 12, 2026

  • Because this PR includes a bug fix, relevant tests have been included.
  • Because this PR includes a new feature, the change was previously discussed on an Issue or with someone from the team.
  • I didn't do anything of this.

schaable and others added 30 commits October 23, 2025 14:13
…date-changelog-format

chore: improve the changelog formatting
…istics

Collect and display gas statistics on JavaScript/TypeScript tests
Co-authored-by: John Kane <john@kanej.me>
…hmus-missing-in-hardhat-package-while-its-available-in-nomicfoundationedr

ISTHMUS hardfork added to Hardhat 3
…-coverage-table

refactor: make coverage table consistent with gas statistics table
fvictorio and others added 22 commits November 17, 2025 16:53
…hout-extra-baseFeePerGas-value

Fix/network without extra base fee per gas value
…efault-chaintype

fix: use user config provided value for defaultChainType
Co-authored-by: Luis Schaab <schaable@gmail.com>
…ardhat-viem-readme

Improve hardhat-viem's README
…caching-macos-runners

Disable caching in macos runners
…-default-chain-type

fix: use defaultChainType as fallback for network hardfork validation and resolution
…ptions

Add ability for task options to be hidden from the CLI
* Add CircleCI configuration for hello world job

Dargon789/foundry@0ba1c95

Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>

* Update .circleci/config.yml

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>

---------

Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
@Dargon789 Dargon789 marked this pull request as draft March 12, 2026 17:06
@Dargon789 Dargon789 marked this pull request as ready for review March 12, 2026 17:06
Dargon789 and others added 5 commits March 15, 2026 01:47
…ain permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
* Create gentle-kiwis-cheat.md

* fix: use cache folder for gas-stats

* fix: merge issue

* fix: remove unneeded debug information

* fix: use a tmp folder for gas-stats in tests

* fix: add spacing at the end of the tables

* fix: add comment about ansi handling

* fix: add title and sorting to the table

* Update gentle-kiwis-cheat.md

* ISTHMUS hardfork support for Optimism

* Update .changeset/cool-cougars-smile.md

Co-authored-by: John Kane <john@kanej.me>

* Adapt to latest EDR changes

* refactor: make coverage table consistent with gas statistics table

* fix: remove dup line added in merge

* chore: remove the changeset

* chore: I didn't mean to mod the hardhat.config.ts

* fix: add autogenerated test files to prettierignore

* Create olive-apricots-cry.md

* Adapt to latest EDR changes

* fix: send all artifacts to EDR

* refactor: change fn signature to object param

* feat: display solidity tests gas statistics

* refactor: rename event for clarity

* tests: fix failing tests

* tests: add test for generateGasReport

* fix: filter out test contracts from report

* fix: remove dup line added in merge

* Create giant-radios-swim.md

* Create strong-walls-refuse.md

* Update v-next/hardhat-ledger/README.md

Co-authored-by: John Kane <john@kanej.me>

* fix title

* feat: don't compile solidity test contracts from js/ts tests

Previously both core contracts and tests were compiled for the
mocha/nodejs tests. Now only the core contracts are compiled as these
are the only contracts that are needed for JS/TS tests.

Both js/ts tasks now don't compile tests. Note: the `npx hardhat test`
overrarching task no longer compiles Solidity tests either - this is
handled by the Solidity test task - it basically always compiles the
tests.

* feat: use a prettier table for gas statistics

* chore: update EDR changeset

Switch from Minor to Patch and split out the key changes as their own
entries.

* test: update the gas report test

Update the test to reflect the UI changes.

* Version Packages

* fix(ignition): Pass global config to Ignition helper implementations

* add changeset

* fix: remove hardcoded etherscan apiUrl from chain descriptors

Remove the hardcoded Etherscan V1 API URLs from default chain descriptors
since Etherscan V2 is always the default. This fixes verification failures
caused by deprecated V1 endpoints in the config overriding the V2 default.

Also enhance the block explorer configuration in the chain descriptors to
support partial overrides, and enable future extensibility for additional
explorers.

* add changeset

* Fix package manager detection

* Add changeset

* Remove duplicated fixtures

* Remove unnecesary tmp dir

* Fix typo

* Add `defineConfig` in `hardhat/config`

* Create dull-knives-confess.md

* Update v-next/hardhat/src/config.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update v-next/hardhat/src/config.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update plugin readmes

* Add plugins changeset

* Update changeset_pass-config-to-ignition-helpers.md

* add tests for fixed logic

* Version Packages

* Add minimal sample project

* Create rich-geese-exercise.md

* Update lockfile

* Add Sourcify response types

* Pass compiler input as object to `verify` of `VerificationProvider` interface

* Add `Sourcify` implementation of `VerificationProvider`

* Add Sourcify configuration variables

* Implement `verifySourcifyTask` and add Sourcify to main verify task

* Do not throw on error status codes for requests to Sourcify

* Add tests for Sourcify verification provider

* Add support to pass the creation transaction hash to Sourcify verification

* Update `hardhat-verify` README

* Show link to verification job page if Sourcify verification fails

* Remove `repoUrl` configuration variable from Sourcify

Instead target the repo UI via the server redirect

* Adapt Sourcify config variable type for consistency

* Keep `constructorArgs` required

* Make `isBytecodeMissingInNetworkError` non-optional on `VerificationStatusResponse` interface

* Remove `throwOnError` request parameter and adapt Sourcify response handling logic

* feat: separate Sourcify-specific param from base verification task params

* refactor: convert verify function to object parameters with provider-specific type safety

* test: fix test failures

* Create short-zoos-fold.md

* Update short-zoos-fold.md

* Improve minimal project readme

* Update README.md

* docs: tweak text

* Add regression test for NomicFoundation#7609

* Add DependencyGraph#getRootsUserSourceNameMap

* Use it in getBuildInfo()

* Add userSourceNameMap to the build id computation

* Improve the documentation of the build id generation

* Create moody-gorillas-act.md

* Fix typo

* Update v-next/hardhat/src/types/solidity/dependency-graph.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update v-next/hardhat/src/internal/builtin-plugins/solidity/build-system/dependency-graph.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix bug in getRootsUserSourceNameMap

* Make the ExecutionEventListener async

* Make the pretty-event-handler receive the UserInterruptionsManager

* Make the pretty-event-handler handlers uninterruptable

* Create wild-numbers-report.md

* Update the ethers and viem plugins

* Update the changset

* Update v-next/hardhat-ignition/src/helpers/pretty-event-handler.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update ignition fixtures

* Make the warning stronger

* Normalize calls to build and use noTest where appropiate

* Always show the compilation spinner

* [chore] Define contracts in all the example project files so that they get cached

* Better nothing to compile message

* Don't print a new line after compiling in the main test task

* Don't compile solidity tests in quiet and print a newline afterwards

* Better formatting of errors and warnings

* Print compilation results in bold

* Create lazy-ties-exist.md

* Add changesets

* Split changesets

* Update v-next/example-project/contracts/UserRemappedImport.sol

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Use the 'build' task in the tests too

* chore: update text of chnagesets

* Merge pull request NomicFoundation#7672 from NomicFoundation/chore/setup-version-for-ledger

chore: update version of ledger in prep for release

* Version Packages

* build: upgrade to @nomicfoundation/edr v0.12.0-next.14

* chore: add changesets for EDR bump

* Version Packages

* support network that do not provide an extra baseFeePerGas value (somnia)

* Add missing derivationFunction option when initializing hh-ledger

* force `derivation` function to be defined

* Create clever-ducks-speak.md

* refactor: prep for chain descriptors fallback

* feat: fallback to verification provider chainlist when chain descriptor is not found

* refactor: remove unused function

* fix: blockscout url

* feat: add caching to getSupportedChains

* test: add tests for resolveConfig and getSupportedChains

* add changeset

* Always clear the compilation spinner

* Add regression tests

* Compile the contracts independently in test solidity

* Never build the contracts when compiling the tests in test solidity

* Create serious-knives-smoke.md

* Create rude-badgers-grow.md

* Move the default verbosity to its own constant

* Always collect stack traces if the verbosity is above the default one

* Recommend using -vvv when we fail to trace

* Add hardhat as a dependency to the keystore

* Fail if a file isn't compiled neither as a contract nor a test

* Fix error descriptor

* Fix typos

* More typos

* Even more typos

* Improve descriptor

* docs: move website docs to readme

* Don't show the spinner on errors

* Add explicit types

* Fix tests for unrecognized test file

* feat: add logs to getSupportedChains

* Add tests for verbosity controlling the CollectStackTraces option

* Add tests for the failure situation added to build in this PR

* Fix typo

* pr fixes

* First version

* docs: adjust headings in reference section for proper hierarchy

* Version Packages

* Update v-next/hardhat-network-helpers/package.json

Co-authored-by: Patricio Palladino <email@patriciopalladino.com>

* Move migration after installation

* Fix `withargs` link

* smaller README fixes

* Add JsDocs

* Documentation links aligned with new system

* Ignition UI link reverted

* Update v-next/hardhat-ethers-chai-matchers/README.md

Co-authored-by: Luis Schaab <schaable@gmail.com>

* Update v-next/hardhat-ethers-chai-matchers/README.md

Co-authored-by: Luis Schaab <schaable@gmail.com>

* Update v-next/hardhat-ethers-chai-matchers/README.md

Co-authored-by: Luis Schaab <schaable@gmail.com>

* getting-started reserved for HH3

* move migration section at the bottom of the page

* Create new-drinks-judge.md

* add known limitations

* Export the descriptors to be used in the website

* Add regression test to avoid empty categories in the future

* Create silly-apricots-visit.md

* Add missing changeset for hardhat-network-helpers

* docs: expand reference section with detailed type signatures, descriptions, and parameter info

* Version Packages

* Add hardhat-ethers to the mocha+ethers devDependencies

* Add changeset

* Fix broken test

* Version Packages

* Create forty-rice-clap.md

* fix: use user config provided value for defaultChainType

* Create mighty-dogs-move.md

* Improve hardhat-viem's README

* fix: use defaultChainType as fallback for network hardfork validation and resolution

* Create yellow-pets-travel.md

* Update v-next/hardhat-viem/README.md

Co-authored-by: Luis Schaab <schaable@gmail.com>

* Add missing properties in hh-viem reference

* Disable caching in macos runners

* add hidden option for overridden tasks

* add override tests

* remove only

* fix mistaken code commit

* Version Packages

* Potential fix for code scanning alert no. 261: Workflow does not contain permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>

---------

Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: Franco Victorio <victorio.franco@gmail.com>
Co-authored-by: Luis Schaab <schaable@gmail.com>
Co-authored-by: John Kane <john@kanej.me>
Co-authored-by: Christopher Dedominici <18092467+ChristopherDedominici@users.noreply.github.com>
Co-authored-by: Michal <20182549+michalbrabec@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: siljapetasch <siljatpetasch@gmail.com>
Co-authored-by: Patricio Palladino <email@patriciopalladino.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Zoey <probablyzoey+github@gmail.com>
Co-authored-by: Manuel Wedler <manuel@wedler.dev>
Co-authored-by: Wodann <Wodann@users.noreply.github.com>
Co-authored-by: wighawag <wighawag@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* fix: use cache folder for gas-stats

* fix: merge issue

* fix: remove unneeded debug information

* fix: use a tmp folder for gas-stats in tests

* fix: add spacing at the end of the tables

* fix: add comment about ansi handling

* fix: add title and sorting to the table

* Update gentle-kiwis-cheat.md

* ISTHMUS hardfork support for Optimism

* Update .changeset/cool-cougars-smile.md



* Adapt to latest EDR changes

* refactor: make coverage table consistent with gas statistics table

* fix: remove dup line added in merge

* chore: remove the changeset

* chore: I didn't mean to mod the hardhat.config.ts

* fix: add autogenerated test files to prettierignore

* Create olive-apricots-cry.md

* Adapt to latest EDR changes

* fix: send all artifacts to EDR

* refactor: change fn signature to object param

* feat: display solidity tests gas statistics

* refactor: rename event for clarity

* tests: fix failing tests

* tests: add test for generateGasReport

* fix: filter out test contracts from report

* fix: remove dup line added in merge

* Create giant-radios-swim.md

* Create strong-walls-refuse.md

* Update v-next/hardhat-ledger/README.md



* fix title

* feat: don't compile solidity test contracts from js/ts tests

Previously both core contracts and tests were compiled for the
mocha/nodejs tests. Now only the core contracts are compiled as these
are the only contracts that are needed for JS/TS tests.

Both js/ts tasks now don't compile tests. Note: the `npx hardhat test`
overrarching task no longer compiles Solidity tests either - this is
handled by the Solidity test task - it basically always compiles the
tests.

* feat: use a prettier table for gas statistics

* chore: update EDR changeset

Switch from Minor to Patch and split out the key changes as their own
entries.

* test: update the gas report test

Update the test to reflect the UI changes.

* Version Packages

* fix(ignition): Pass global config to Ignition helper implementations

* add changeset

* fix: remove hardcoded etherscan apiUrl from chain descriptors

Remove the hardcoded Etherscan V1 API URLs from default chain descriptors
since Etherscan V2 is always the default. This fixes verification failures
caused by deprecated V1 endpoints in the config overriding the V2 default.

Also enhance the block explorer configuration in the chain descriptors to
support partial overrides, and enable future extensibility for additional
explorers.

* add changeset

* Fix package manager detection

* Add changeset

* Remove duplicated fixtures

* Remove unnecesary tmp dir

* Fix typo

* Add `defineConfig` in `hardhat/config`

* Create dull-knives-confess.md

* Update v-next/hardhat/src/config.ts



* Update v-next/hardhat/src/config.ts



* Update plugin readmes

* Add plugins changeset

* Update changeset_pass-config-to-ignition-helpers.md

* add tests for fixed logic

* Version Packages

* Add minimal sample project

* Create rich-geese-exercise.md

* Update lockfile

* Add Sourcify response types

* Pass compiler input as object to `verify` of `VerificationProvider` interface

* Add `Sourcify` implementation of `VerificationProvider`

* Add Sourcify configuration variables

* Implement `verifySourcifyTask` and add Sourcify to main verify task

* Do not throw on error status codes for requests to Sourcify

* Add tests for Sourcify verification provider

* Add support to pass the creation transaction hash to Sourcify verification

* Update `hardhat-verify` README

* Show link to verification job page if Sourcify verification fails

* Remove `repoUrl` configuration variable from Sourcify

Instead target the repo UI via the server redirect

* Adapt Sourcify config variable type for consistency

* Keep `constructorArgs` required

* Make `isBytecodeMissingInNetworkError` non-optional on `VerificationStatusResponse` interface

* Remove `throwOnError` request parameter and adapt Sourcify response handling logic

* feat: separate Sourcify-specific param from base verification task params

* refactor: convert verify function to object parameters with provider-specific type safety

* test: fix test failures

* Create short-zoos-fold.md

* Update short-zoos-fold.md

* Improve minimal project readme

* Update README.md

* docs: tweak text

* Add regression test for NomicFoundation#7609

* Add DependencyGraph#getRootsUserSourceNameMap

* Use it in getBuildInfo()

* Add userSourceNameMap to the build id computation

* Improve the documentation of the build id generation

* Create moody-gorillas-act.md

* Fix typo

* Update v-next/hardhat/src/types/solidity/dependency-graph.ts



* Update v-next/hardhat/src/internal/builtin-plugins/solidity/build-system/dependency-graph.ts



* Fix bug in getRootsUserSourceNameMap

* Make the ExecutionEventListener async

* Make the pretty-event-handler receive the UserInterruptionsManager

* Make the pretty-event-handler handlers uninterruptable

* Create wild-numbers-report.md

* Update the ethers and viem plugins

* Update the changset

* Update v-next/hardhat-ignition/src/helpers/pretty-event-handler.ts



* Update ignition fixtures

* Make the warning stronger

* Normalize calls to build and use noTest where appropiate

* Always show the compilation spinner

* [chore] Define contracts in all the example project files so that they get cached

* Better nothing to compile message

* Don't print a new line after compiling in the main test task

* Don't compile solidity tests in quiet and print a newline afterwards

* Better formatting of errors and warnings

* Print compilation results in bold

* Create lazy-ties-exist.md

* Add changesets

* Split changesets

* Update v-next/example-project/contracts/UserRemappedImport.sol



* Use the 'build' task in the tests too

* chore: update text of chnagesets

* Merge pull request NomicFoundation#7672 from NomicFoundation/chore/setup-version-for-ledger

chore: update version of ledger in prep for release

* Version Packages

* build: upgrade to @nomicfoundation/edr v0.12.0-next.14

* chore: add changesets for EDR bump

* Version Packages

* support network that do not provide an extra baseFeePerGas value (somnia)

* Add missing derivationFunction option when initializing hh-ledger

* force `derivation` function to be defined

* Create clever-ducks-speak.md

* refactor: prep for chain descriptors fallback

* feat: fallback to verification provider chainlist when chain descriptor is not found

* refactor: remove unused function

* fix: blockscout url

* feat: add caching to getSupportedChains

* test: add tests for resolveConfig and getSupportedChains

* add changeset

* Always clear the compilation spinner

* Add regression tests

* Compile the contracts independently in test solidity

* Never build the contracts when compiling the tests in test solidity

* Create serious-knives-smoke.md

* Create rude-badgers-grow.md

* Move the default verbosity to its own constant

* Always collect stack traces if the verbosity is above the default one

* Recommend using -vvv when we fail to trace

* Add hardhat as a dependency to the keystore

* Fail if a file isn't compiled neither as a contract nor a test

* Fix error descriptor

* Fix typos

* More typos

* Even more typos

* Improve descriptor

* docs: move website docs to readme

* Don't show the spinner on errors

* Add explicit types

* Fix tests for unrecognized test file

* feat: add logs to getSupportedChains

* Add tests for verbosity controlling the CollectStackTraces option

* Add tests for the failure situation added to build in this PR

* Fix typo

* pr fixes

* First version

* docs: adjust headings in reference section for proper hierarchy

* Version Packages

* Update v-next/hardhat-network-helpers/package.json



* Move migration after installation

* Fix `withargs` link

* smaller README fixes

* Add JsDocs

* Documentation links aligned with new system

* Ignition UI link reverted

* Update v-next/hardhat-ethers-chai-matchers/README.md



* Update v-next/hardhat-ethers-chai-matchers/README.md



* Update v-next/hardhat-ethers-chai-matchers/README.md



* getting-started reserved for HH3

* move migration section at the bottom of the page

* Create new-drinks-judge.md

* add known limitations

* Export the descriptors to be used in the website

* Add regression test to avoid empty categories in the future

* Create silly-apricots-visit.md

* Add missing changeset for hardhat-network-helpers

* docs: expand reference section with detailed type signatures, descriptions, and parameter info

* Version Packages

* Add hardhat-ethers to the mocha+ethers devDependencies

* Add changeset

* Fix broken test

* Version Packages

* Create forty-rice-clap.md

* fix: use user config provided value for defaultChainType

* Create mighty-dogs-move.md

* Improve hardhat-viem's README

* fix: use defaultChainType as fallback for network hardfork validation and resolution

* Create yellow-pets-travel.md

* Update v-next/hardhat-viem/README.md



* Add missing properties in hh-viem reference

* Disable caching in macos runners

* add hidden option for overridden tasks

* add override tests

* remove only

* fix mistaken code commit

* Version Packages

* Potential fix for code scanning alert no. 261: Workflow does not contain permissions




---------

Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
Co-authored-by: Luis Schaab <schaable@gmail.com>
Co-authored-by: John Kane <john@kanej.me>
Co-authored-by: Christopher Dedominici <18092467+ChristopherDedominici@users.noreply.github.com>
Co-authored-by: Michal <20182549+michalbrabec@users.noreply.github.com>
Co-authored-by: Franco Victorio <victorio.franco@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: siljapetasch <siljatpetasch@gmail.com>
Co-authored-by: Patricio Palladino <email@patriciopalladino.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Zoey <probablyzoey+github@gmail.com>
Co-authored-by: Manuel Wedler <manuel@wedler.dev>
Co-authored-by: Wodann <Wodann@users.noreply.github.com>
Co-authored-by: wighawag <wighawag@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.