generated from dev-protocol/template-repos-ts-sol
    
        
        - 
                Notifications
    
You must be signed in to change notification settings  - Fork 5
 
Update dependency hardhat to v2.26.5 #218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Open
      
      
            renovate
  wants to merge
  1
  commit into
  main
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
renovate/hardhat-2.x
  
      
      
   
  
    
  
  
  
 
  
      
    base: main
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          
                
     Open
            
            
          Conversation
  
    
      This file contains hidden or 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
    
  
  
    
    491f335    to
    cf57339      
    Compare
  
    f880b18    to
    2830e14      
    Compare
  
    f11152f    to
    5e014e8      
    Compare
  
    c4c6a9d    to
    0464701      
    Compare
  
    afa2593    to
    3e50acf      
    Compare
  
    3e50acf    to
    59c8243      
    Compare
  
    186b5b8    to
    67894e5      
    Compare
  
    5c1a72b    to
    4820244      
    Compare
  
    b9e04cd    to
    347cd8a      
    Compare
  
    347cd8a    to
    c5274f0      
    Compare
  
    c5274f0    to
    58c010e      
    Compare
  
    58c010e    to
    d6cf194      
    Compare
  
    d6cf194    to
    9c180c0      
    Compare
  
    9c180c0    to
    e93ecb0      
    Compare
  
    e93ecb0    to
    9d2b2d4      
    Compare
  
    9d2b2d4    to
    ccf1aca      
    Compare
  
    ccf1aca    to
    eb81ca5      
    Compare
  
    eb81ca5    to
    e084d1e      
    Compare
  
    e084d1e    to
    0b3cbdd      
    Compare
  
    0b3cbdd    to
    b880082      
    Compare
  
    b880082    to
    cce2760      
    Compare
  
    cce2760    to
    2b67b95      
    Compare
  
    2b67b95    to
    bcb1763      
    Compare
  
    
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
      
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
This PR contains the following updates:
2.9.9->2.26.5Release Notes
NomicFoundation/hardhat (hardhat)
v2.26.5: Hardhat v2.26.5Compare Source
This release is a small bug fix to improve compilation in the presence of a malformed
solidity-files-cache.Changes
f886268: Ignore malformed solidity-files-cache so compilation keeps running while logging the issue in debug, thanks @iosh (#6489)v2.26.4: v2.26.4Compare Source
This is a small release that includes
solcversion support for0.8.30along with other bug fixes.Changes
e5ff273: Fix to be explicit that execFile should pass stdout/stderr as strings (#7333)5655ebb: Update latest supported solc version to 0.8.30 (#7365)9d10226: Links in the code and READMEs updated to point to the Hardhat 2 documentation and resourcesv2.26.3Compare Source
Patch Changes
5b2be3d: Make the resolver more robust (#7073)v2.26.2Compare Source
Patch Changes
11ee260: Don't useundici's global dispatcher, making Hardhat more stable across Node.js versionsv2.26.1Compare Source
Patch Changes
896c4ea: Revertmicro-eth-signerto^0.14.0to fix compatibility with earlier Node 20 versions (#7026)v2.26.0Compare Source
Minor Changes
14b3042: Updated the minimal supported version of Node to v20 (#6982)Patch Changes
69acece: Upgraded EDR to v0.11.3 which includes:84fff85: Remove unneeded type dependencies, thanks @reallesee (#6990)e139cf3: Update the version of micro-eth-signer (#6950)v2.25.0Compare Source
Minor Changes
94b36b0: Upgrade hardhat-gas-reporter to v2 on both toolboxes (#6886)v2.24.3Compare Source
Patch Changes
6be5c13: Upgraded EDR to v0.11.1, which fixed a bug when sending ETH to the testing accounts in forked networks. Now testing accounts are automatically undelegated.v2.24.2Compare Source
Patch Changes
2bbb705: Wrap eth_accounts usage on http provider to handle method deprecation (#6632)v2.24.1Compare Source
Patch Changes
9b75f5d: Fix a few potential errors that could happen when compiling Solidity in a subprocessa8ad44c: Added support for Node v24.v2.24.0Compare Source
Minor Changes
82feaae: Set prague as the default hardfork in Hardhat networkPatch Changes
a7aa6d6: Upgraded EDR to v0.11.0:2ab8103: Relax validations for transaction signing introduced in the previous version by disabling strict mode inTransaction.prepare.67f1e95: Support chainId values above 2^32 - 1 for local account transactionsv2.23.0Compare Source
Minor Changes
aa09462: Add support for the Prague hardforkPatch Changes
a5419a7: Usenpm_config_user_agentto determine what package manager to use for project creation4ad0bc0: Upgraded EDR to v0.9.0:9d6f713: Upgraded EDR to v0.10.0:SpecIdsb61cdd8: Add hardfork activation history for avalanche network2f27ee8: Display configurable banner on project creation and task executionv2.22.19Compare Source
Patch Changes
5d79fca: Fix heuristic to detect that an ESM project doesn't have a Hardhat config with an explicit.cjsextension.00d542a: Update EDR tov0.8.0:v2.22.18Compare Source
Patch Changes
25f45b0: Improve solidity stack traces performance by getting them from the EDR response0e5c8d7: Restored the message linking to the 2024 solidity surveyv2.22.17Compare Source
Patch Changes
c6efe1d: fix: don't panic when a precompile errors56d127b: Make totalDifficulty field optional, as spec has changed.e47b495: Added support for solc versions 0.8.289ad82f5: Added an optional--outputparam to the flatten taskv2.22.16Compare Source
Patch Changes
fcece65: Replacedchalkwithpicocolors,globwithtinyglob, and upgradedfind-upv2.22.15Compare Source
Patch Changes
ede1cde: Fixed custom HTTP headers for forked configurationsv2.22.14Compare Source
Patch Changes
09ead48: Fixed error when remote nodes are not returning total difficulty from the eth.getBlock RPC API, by adding fallback valuev2.22.13Compare Source
Patch Changes
bf92f4c: Fixed more bugs in the newly ported Solidity tracing logic3df95d3: Remove support forconsole.logselectors that wrongly use "(u)int" type aliases in the selector calculation4c1bcfc: Fixed minor bugs in the newly ported Solidity tracing logicv2.22.12Compare Source
Patch Changes
5fb3095: Adapted Hardhat to trace Solidity logic on EDR. This resulted in a 10% performance improvement for most workloads.v2.22.11Compare Source
Patch Changes
601d543: Fixed a problem with provider events whenprovider.initwas explicitly called before the first request.224159e: Added support for solc versions 0.8.25, 0.8.26, and 0.8.27b43ed78: Added link to Ignition docs in sample projects07e0a9c: Hardhat node can now handle large response objects by streaming them.12d1980: Upgrade chokidarv2.22.10Compare Source
Patch Changes
409e99f: Fixeddebuglogs in Hardhat Network initialization process.46cd7a1: Removed the experimentalAddHardhatNetworkMessageTraceHook APIv2.22.9Compare Source
Patch Changes
6771f00: Do not sendhttp_setLedgerOutputEnabledmessages beyond the HTTP Provider to prevent unwanted warnings in the logs of the local hardhat nodev2.22.8Compare Source
Patch Changes
f5d5d15: Fixed an issue withdebug_traceTransactionwhen large responses were generated31d9d77: Upgraded EDR to v0.5.2v2.22.7Compare Source
Patch Changes
f944cd5: Added anenableRip7212optional flag to the Hardhat Network config that enables RIP-7212 (Precompile for secp256r1 Curve Support).f6ddc92: Adddebuglogs to Hardhat Network initialization process.6c943bb: Fix message for error HH206f944cd5: Bumped EDR to v0.5.0.v2.22.6Compare Source
Patch Changes
cdf0160: Upgrade bundled solcjs3c66da2: Add support for Node v229fadc22: Bump EDR to v0.4.1.095faa4: Added hardfork histories for Optimism and Arbitrum chainsv2.22.5Compare Source
Patch Changes
f65dc7c: Improved the validation of network and forking URLs (thanks @kshyun28!)5d46baa: Internal changes to allowhardhat-tracerto be re-enabled with Hardhat after the EDR upgrade6e36f3f: Bump EDR to v0.4.0. This adds support foreth_maxPriorityFeePerGas, limited support for blob transactions, improves performance and fixes some bugs. Check out the v0.4.0 EDR release and v0.3.8 EDR release for more details.v2.22.4Compare Source
Patch Changes
22bcbf5: Added BigInt task argument type2c533f0: Bumped EDR dependency to 0.3.73203639: Fixed an issue in the solidity source map decoding module5d7a604: Fixed an issue with solc version selection3c6de8f: Now solcjs is run in a subprocess, which leads to better error reporting and allows it to run multiple compilation jobs at the same time6447e80: Improved performance by reducing back-and-forth with EDR when it's not necessaryv2.22.3Compare Source
Patch Changes
6466e3a: A proper error is now thrown when requiring EDR failsae62841: Upgrade EDR to version 0.3.5679d8a5: Report HH18 to Sentry.v2.22.2Compare Source
Patch Changes
7876104: Initialize the Hardhat Runtime Environment before passing the command line arguments.v2.22.1Compare Source
Patch Changes
5d79fca: Fix heuristic to detect that an ESM project doesn't have a Hardhat config with an explicit.cjsextension.00d542a: Update EDR tov0.8.0:v2.22.0Compare Source
Minor Changes
bcce371: Set cancun as the default hardfork in Hardhat networkv2.21.0Compare Source
Minor Changes
837350e: Dropped support for node v163df5d29: Refactored Hardhat Network to use EDR instead of ethereumjsPatch Changes
6b6f447: Fixes a bug in Hardhat where Post-Cancun genesis blocks did not use the mandated 0x0 parent beacon block root (https://eips.ethereum.org/EIPS/eip-4788)v2.20.1Compare Source
Patch Changes
b519239: Fixed a bug whenhardhat_setStorageAtwas used in untouched addressesv2.20.0Compare Source
Minor Changes
6ff0b20: Add support for the Cancun hardforkPatch Changes
4250635: Added support for solc 0.8.24v2.19.5Compare Source
Patch Changes
125cbad: Added a notification when a new Hardhat version is availableffb301f: Improved loading performance1c6373a: Fixed a bug during project initialization when using yarn or pnpm15a0d2e: Fixed a race condition that occurred when multiple Hardhat processes ran a compilation at the same time.8f677ea: Added a fix to prevent submitting transactions with 0 priority fee (thanks @itsdevbear!)v2.19.4Compare Source
Patch Changes
7aea77e: Report telemetry consent response to Google Analyticsv2.19.3Compare Source
Patch Changes
3f282db: Added support for solc 0.8.23fa2f0fb: Added a temporary message about the 2023 Solidtiy Developer Surveyv2.19.2Compare Source
Patch Changes
b475fc4: Modified the artifacts cleanup logic to avoid removing apackage.jsonfile under the artifacts directoryc3aad2c: Added support for scopes in hh autocomplete.4bc6a27: Added experimental support for using ESM modules with TypeScriptv2.19.1Compare Source
Patch Changes
23665f3: Upgraded toolboxes versions used in project initialization106235c: Fixed an issue in low-traffic chains that resulted in txs using amaxPriorityFeePerGasof 0c52a5d6: Added logic to avoid downloading the same compiler version multiple timesb46ccf4: Updated the.gitignorefiles generated during project initialization to use relative pathsv2.19.0Compare Source
Minor Changes
27f3d63: Added support for configuration variables managementPatch Changes
f2f67df: Added support for solc 0.8.22v2.18.3Compare Source
Patch Changes
bddfcff: Send GA hits forignition deploytasksv2.18.2Compare Source
Patch Changes
abca5ab: Fixed the compiler download, which broke with the latest version of undiciv2.18.1Compare Source
Patch Changes
b77b665: Added a viem option to the project initialization03edea6: Updated the compilation logs to include the targeted EVM versions.v2.18.0Compare Source
Minor Changes
9412419: Added support for scoped tasksPatch Changes
e95e954: Report issues from@nomicfoundationnpm scopev2.17.4Compare Source
Patch Changes
11e58f6: Added an explicit commandhardhat initto initialize projects, and deprecated project initialization with justhardhat.8388720: Added support for the RPC method debug_traceCall.v2.17.3Compare Source
Patch Changes
c03c710: Set the default evmVersion to paris for solc versions that are greater than or equal to 0.8.20.v2.17.2Compare Source
Patch Changes
ee9d2ff: Added support for state overrides in the RPC Method eth_callc00c689: Removed the superfluous zeros that were returned in thememoryproperty when calling thedebug_traceTransactionmethod.7084d32: Deprecated theTASK_COMPILE_TRANSFORM_IMPORT_NAMEsubtask, added a newTASK_COMPILE_GET_REMAPPINGSsubtask, and added support for remappings in the resolver.fa41db8: Added anenableTransientStorageoption to enable EIP-1153 opcodes8ae6447: Fixed an issue where artifactExists would throw an error for missing artifacts.45f49ae: Improved error message displayed when importing a directory instead of a file.3ea6c52: Fixed a problem with receipts of remote transactions returning the wrong tx type when fetched through a fork.v2.17.1Compare Source
Patch Changes
8f50ab8: Removed theabort-controllerdependency as it's not longer needed. Thanks @orlandoortegajr!951906d: Improved the flatten task to handle SPDX licenses and pragma directives more effectively.e4424e3: Added support for solc 0.8.21fff90bb:console.lognow works inpurefunctions. Thanks @0age for coming up with this technique!9fe89ef: Fixed a bug caused by nodes returning 429 responses without aRetry-Afterheader (thanks @kowalski!)6390230: Added logic to throw an error when the debug_traceTransaction method is called with a tracer parameter that is not supported.v2.17.0Compare Source
Minor Changes
01f1e3f: Dropped support for node v14 and added support for node v20Patch Changes
092b771: Added logic to use the latest block as the forking block if the difference between the latest block and the max reorganization block is negative. This decision is based on the assumption that if the max reorganization block is greater than the latest block then there is a high probability that the fork is occurring on a devnet.2b0ac92: Fixed an issue in the compilation pipeline where a valid build-info file was mistakenly deletedc0aa10c: Added support for solc 0.8.19 and 0.8.20v2.16.1Compare Source
Patch Changes
68cf2a2: Fixed an issue related to compiler downloads in node v18.16.xv2.16.0Compare Source
Minor Changes
8c5f3f3: Added support for extending the network providerPatch Changes
128b0a0: Added a HARDHAT_DISABLE_TELEMETRY_PROMPT environment variable that can be set totrueto prevent Hardhat from showing the telemetry consent prompt.27a5cda: Migrated Google Universal Analytics to Google Analytics 4c115dfd:console.solis now memory-safe (thanks @ZumZoom!)c61fd8a: Added optional params to some compilation subtasks to make them more flexible (thanks @adjisb!)v2.15.0Compare Source
Minor Changes
99995d5: The sample projects now use the new version of the Toolboxv2.14.1Compare Source
Patch Changes
e994986: Added block numbers for all mainnet hardforksv2.14.0Compare Source
Minor Changes
d69020f: Set Shanghai as the default hardforkv2.13.1Compare Source
Patch Changes
5d4d1ed: Fixed a problem when importing scoped packages in a Yarn Berry monorepo that uses PnP (thanks @zouguangxian!)cdd9aa5: Added support for the shanghai hardforkv2.13.0Compare Source
Minor Changes
83ef755: Hardhat's task runner now allows you to override the arguments passed to subtasks.50779cd: Added support for writing scripts and tests as ES modules.To learn how to start using ESM with Hardhat read this guide.
Patch Changes
f55a3a7: Reduce the amount of ETH sent to the Lock contract in the sample project's deploy script (Thanks @mutedSpectre!)929b268: TheresolveJsonModulecompiler option is now enabled by default in the sample tsconfig (thanks @mlshv!)071e6bc: Stop colorizing the entire message when an error is printed0fa7ac5: Make Hardhat more tolerant to unsupported Node.js versions7a5bc55: Send less ETH and lock it for less time on sample deployment scripts.7ceb5f9: Added basic support for solcviaIRsettinge6f07b4: Fixed an issue with a warning showing the same solc version multiple times (thanks @shark0der!)6e51edf: Added support for Solidity 0.8.18 (thanks @taxio!)b9c34f3: Fix an error that could happen when a download failed.1c833bf: Propagate HttpProviderError exception messages.v2.12.7Compare Source
Patch Changes
e443b36: Added an option in Hardhat Network to allow mining blocks with the same timestampc23a1ca: Added support for thehttp_proxyenvironment variable. When this variable is set, Hardhat will send its requests through the given proxy for things like JSON-RPC requests, mainnet forking and downloading compilers.We also removed support for the
HTTP_PROXYandHTTPS_PROXYenvironment variables, sincehttp_proxyis the most commonly used environment variable for this kind of thing. Those variables could only be used for downloading compilers.Finally, we also added support for
no_proxy, which accepts a comma separated list of hosts or"*". Any host included in this list will not be proxied.Note that requests to
"localhost"or"127.0.0.1"are never proxied.6954665: Added support for sending batch requests through WebSocket to the Hardhat node (thanks @tenbits!)6bf1673: Added a config validation for the number of optimizer runs used (thanks @konarshankar07!)v2.12.6Compare Source
Patch Changes
7e013fa: Upgrade undici025aa36: Added support for pnpm during project creation (thanks @Hopsken!)3798f0d: Added aversionfield to the HREc228ef5: Fixed problem with impersonated-sender transactions sometimes resulting in duplicate transaction hashes (#1963)7ca1119: Added a minor clarification to theflattentask help.10a928c: Upgraded mocha and @types/mocha dependencies in Hardhat and Hardhat Toolboxa200a66: Removed the message linking to the 2022 solidity survey7adb62b: Added a new subtask to the compile task to support thehardhat-foundrypluginv2.12.5Compare Source
Patch Changes
051bedf: Added an experimental environment variable flag to disable the local installation check3fcdd3b: The selector of unrecognized custom errors is now shown as part of the error message (thanks @vivianjeng!)aa72139: Fixed a bug that was causing the flatten task to produce non-deterministic results5dc9b7c: Fixed a bug whengasPricewas set to"auto", which is the default configuration when connecting to a JSON-RPC network. This bug was preventing the results frometh_feeHistoryfrom being used when they should.23a594a: The full return data of unrecognized custom errors is now shown in error messages7e81377: Accept extra headers in the internal download modulev2.12.4Compare Source
Patch Changes
7154371: Fixed an issue that caused compilation with solcjs to not work when Hardhat is bundled2fc9a2c: Show a message with a link to the Solidity Developer Surveyv2.12.3Compare Source
Patch Changes
13433f1: Fixed an edge case where Hardhat would hang ifdebug_traceTransactionwas used with an OOG transaction sent to a precompile.c9809e1: Trim leading and trailing spaces in mnemonics.a1d4310: Pending blocks now include thebloomfield.8181078: Added a newhardhat_metadataRPC method937d15e: A better error is show if a Solidity file makes an import through its own package name.4cf9a6d: Added agetBuildInfoSyncfunction to thehre.artifactsobject (thanks @emretepedev!)v2.12.2Compare Source
Patch Changes
f6c74bc: Fixed an issue that was causing build-info file names to not be deterministic.2022bed: Fixed an issue when forking networks like Arbitrum Nitro that use non-standard transaction types (#2995, #3194).v2.12.1Compare Source
Patch Changes
145b12c: Fixed a problem that was preventing Hardhat from being used in Alpine Linux.v2.12.0Compare Source
Minor Changes
aebec50: Use"merge"hardfork setting by default in Hardhat NetworkPatch Changes
3db5334: Fix compiler downloader6d2edac: Upgradesolidity-analyzerand handle NPM's issue #4828.v2.11.2Compare Source
Patch Changes
1cfee28: Makeeth_getStorageAtmore permissive1375e1c: When forking, the disk cache is now used for any network8aec687: Support Solidity 0.8.177e6a695: Fixed a breaking change in the configuration type that was accidentally introduced in Hardhat 2.9.8.f4fd6a2: Upgraded dependencies in sample projects0d236ba: Fix an error in the README files generated by the sample projects.c4c1d2f: Always show stack traces on CI servers191c8eb: Improved the way we detect errors related to deploying contracts with a code that is too large.v2.11.1Compare Source
Patch Changes
f4101d1: Fixed a problem when the wasm version of the solidity compiler was downloaded.1a1fa4c: Fix an error when forking from non-POW chainsv2.11.0Compare Source
Minor Changes
f3ba15c: - Added support for the mergehardhat_setPrevRandaoRPC method--flamegraphflag for performance profilingd93ab31: Added support for the merge.v2.10.2Compare Source
Patch Changes
f799e7e: - Fixed a bug that was causingconsole.log()to printundefinedinstead of an empty line (issue #2721)console.logABI-compliant (issue #2666)36ca875: The selector is now shown in the "Unrecognized custom error" message3e3fe7b: Added support for Solidity versions up through 0.8.16v2.10.1Compare Source
Patch Changes
3d571e4: Better Solidity errors propagationv2.10.0Compare Source
Minor Changes
5b29b0e: Update sample projects to use the Hardhat ToolboxPatch Changes
3dcc802: Add support for Node 183dcc802: Upgrade Mocha to 10.x3dcc802: Upgrade ethereum-cryptography to 1.xf5afa18: Removed a workaround to past Ganache's gas estimation problems.3dcc802: Drop support for Node 12Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.