Update dependency hardhat to v2.17.3 #330
Merged
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.17.0
->2.17.3
Release Notes
nomiclabs/hardhat (hardhat)
v2.17.3
: Hardhat v2.17.3Compare Source
This version of Hardhat changes the default
evmVersion
toparis
for solc versions newer than or equal to 0.8.20.Starting from version 0.8.20, solc changed the default target EVM version to Shanghai. Among other things, this meant that the generated bytecode could (and most likely would) contain the new
PUSH0
opcode.Up until this point, Hardhat always delegated to solc the decision of which EVM version to target. But there are two things that are different today: many users develop for non-mainnet chains, and not every chain has adopted the Shanghai hardfork yet. This means it's possible that you develop a contract which works locally (Hardhat's default hardfork is still Shanghai, because we follow the current mainnet hardfork) but that then doesn't work after deploying it.
If you are sure you are going to deploy in a network that supports the Shanghai hardfork, you can change the target EVM like this:
v2.17.2
: Hardhat v2.17.2Compare Source
This release includes several fixes and some new features:
eth_call
RPC methodenableTransientStorage
option to enable EIP-1153 opcodesTASK_COMPILE_TRANSFORM_IMPORT_NAME
subtask, added a newTASK_COMPILE_GET_REMAPPINGS
subtask, and added support for remappings in the resolver.debug_traceTransaction
to return traces where the memory had a lot of empty wordsartifactExists
would throw an error for missing artifactsv2.17.1
: Hardhat v2.17.1Compare Source
This release adds support for solc v0.8.21, allows using
console.log
in pure functions and improves the output of the flatten task (see https://github.com/NomicFoundation/hardhat/issues/1499).Besides that, this version:
abort-controller
) because it's no longer needed in the versions of node.js supported by Hardhat (thanks @orlandoortegajr!)Retry-After
header (thanks @kowalski!)debug_traceTransaction
method is called with a tracer parameter that is not supported.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.