Skip to content

deps: bump hardhat#2260

Merged
smartcontracts merged 3 commits intodevelopfrom
deps/bump-hardhat
Mar 25, 2022
Merged

deps: bump hardhat#2260
smartcontracts merged 3 commits intodevelopfrom
deps/bump-hardhat

Conversation

@tynes
Copy link
Contributor

@tynes tynes commented Mar 4, 2022

Description
See release notes here:
https://github.com/NomicFoundation/hardhat/releases/tag/hardhat%402.9.0

This is a performance release, so it is good to upgrade here
to improve the time of CI. The compilation happens in parallel
with this release, as well as tests being able to be ran in parallel.

We do not make use of any forked network tests currently, but
this PR does help to speed up that usecase as well.

@changeset-bot
Copy link

changeset-bot bot commented Mar 4, 2022

🦋 Changeset detected

Latest commit: 7dc5bff

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@eth-optimism/contracts Patch
@eth-optimism/data-transport-layer Patch
@eth-optimism/integration-tests Patch
@eth-optimism/message-relayer Patch
@eth-optimism/sdk Patch
@eth-optimism/hardhat-node Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@smartcontracts
Copy link
Contributor

Current test failure is the result of this bug: NomicFoundation/hardhat#2459

smartcontracts added a commit that referenced this pull request Mar 10, 2022
Clears out most of the dependency warnings (mainly unmet peer dependency
warnings) by adding or updating various dependencies. Still seeing two
warnings that can only be fixed by updating to the latest hardhat. See
discussion in #2260 for more context about our attempts to upgrade to
the latest version of hardhat.
smartcontracts added a commit that referenced this pull request Mar 10, 2022
Clears out most of the dependency warnings (mainly unmet peer dependency
warnings) by adding or updating various dependencies. Still seeing two
warnings that can only be fixed by updating to the latest hardhat. See
discussion in #2260 for more context about our attempts to upgrade to
the latest version of hardhat.
smartcontracts added a commit that referenced this pull request Mar 10, 2022
Clears out most of the dependency warnings (mainly unmet peer dependency
warnings) by adding or updating various dependencies. Still seeing two
warnings that can only be fixed by updating to the latest hardhat. See
discussion in #2260 for more context about our attempts to upgrade to
the latest version of hardhat.
smartcontracts added a commit that referenced this pull request Mar 10, 2022
Clears out most of the dependency warnings (mainly unmet peer dependency
warnings) by adding or updating various dependencies. Still seeing two
warnings that can only be fixed by updating to the latest hardhat. See
discussion in #2260 for more context about our attempts to upgrade to
the latest version of hardhat.
OVM_GasPriceOracle.setDecimals(6)
await OVM_GasPriceOracle.setOverhead(2750)
await OVM_GasPriceOracle.setScalar(1500000)
await OVM_GasPriceOracle.setDecimals(6)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how was this test suite working without this?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it just become a race condition that always worked out for us?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup exactly

Copy link
Contributor

@maurelian maurelian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a couple comments/questions, but should be good to merge.

'@eth-optimism/data-transport-layer': patch
'@eth-optimism/integration-tests': patch
'@eth-optimism/message-relayer': patch
'@eth-optimism/sdk': patch
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'@eth-optimism/sdk': patch
'@eth-optimism/sdk': patch
'@eth-optimism/hardhat-node': patch

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then can delete the other changeset file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I particularly had 2 changeset files because the auto generated changelogs create a link to the commit that the changeset was added in, so to use changesets correctly, you should have the changeset in the same commit as the changes it corresponds to

OVM_GasPriceOracle.setDecimals(6)
await OVM_GasPriceOracle.setOverhead(2750)
await OVM_GasPriceOracle.setScalar(1500000)
await OVM_GasPriceOracle.setDecimals(6)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it just become a race condition that always worked out for us?

@tynes
Copy link
Contributor Author

tynes commented Mar 18, 2022

Will update this PR to the next release of hardhat as NomicFoundation/hardhat#2459 has been fixed once there is a new release

tynes and others added 3 commits March 24, 2022 16:20
See release notes here:
https://github.com/NomicFoundation/hardhat/releases/tag/hardhat%402.9.0

This is a performance release, so it is good to upgrade here
to improve the time of CI. The compilation happens in parallel
with this release, as well as tests being able to be ran in parallel.

We do not make use of any forked network tests currently, but
this PR does help to speed up that usecase as well.
Fixes a bug in the GasPriceOracle test suite that seems to only have had
an impact because hardhat got significantly faster between the current
iteration and the older one.
@tynes tynes force-pushed the deps/bump-hardhat branch from 6bcf678 to 7dc5bff Compare March 24, 2022 23:20
@tynes
Copy link
Contributor Author

tynes commented Mar 24, 2022

Will update this PR to the next release of hardhat as NomicFoundation/hardhat#2459 has been fixed once there is a new release

This has been merged, this PR is now ready for review/merge. Will speed up testing times

@smartcontracts smartcontracts merged commit 44c5ce3 into develop Mar 25, 2022
@smartcontracts smartcontracts deleted the deps/bump-hardhat branch March 25, 2022 15:06
nebojsa94 pushed a commit to Tenderly/optimism that referenced this pull request Apr 26, 2022
Clears out most of the dependency warnings (mainly unmet peer dependency
warnings) by adding or updating various dependencies. Still seeing two
warnings that can only be fixed by updating to the latest hardhat. See
discussion in ethereum-optimism#2260 for more context about our attempts to upgrade to
the latest version of hardhat.
nitaliano pushed a commit that referenced this pull request May 20, 2024
theochap pushed a commit that referenced this pull request Dec 10, 2025
## Overview

Includes `ca-certificates` and `libssl-dev` in the final exported
executable image. The lack of root certificates was preventing
certificate verification when using TLS-enabled RPC urls.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-integration Area: integration tests A-ops Area: ops A-pkg-sdk Area: packages/sdk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants