Skip to content

Develop To Master PR#1237

Merged
snario merged 10 commits intomasterfrom
develop
Jul 8, 2021
Merged

Develop To Master PR#1237
snario merged 10 commits intomasterfrom
develop

Conversation

@tynes
Copy link
Copy Markdown
Contributor

@tynes tynes commented Jul 8, 2021

Description
Merge Develop into Master

tynes and others added 10 commits July 1, 2021 10:18
This task allows a user to update the L2 gas price using hardhat.
An example of doing so would be:

```bash
$ export CONTRACTS_DEPLOYER_KEY=0x..
$ CONTRACTS_RPC_URL=https://kovan.optimism.io npx hardhat set-l2-gasprice \
    --l2-gas-price 1
```

This hardcodes the predeploy address of the `OVM_GasPriceOracle` smart
contract and the Owner must be used to do the updating, otherwise the
transaction will revert.
…decov

chore(ci): Skip check files job on push events
feat: add workflow for running SNX test suite
The `gasprices` package implements the logic that updates
L2 gasprices on the Optimistic Ethereum Network.

Co-authored-by: Karl Floersch <karl@karlfloersch.com>
This commit adds the `gas-oracle` which is an offchain entity
that sends transactions to L2 to update the gas price. It must
be configured with a private key as the `OVM_GasPriceOracle`
is owned.

The `gas-oracle` is added to the changesets setup.

Tests are included as well as CI. Dockerizing will happen
in a follow up PR.
Adds a dockerfile for the `gas-oracle` as well as adding it as
a service in the `docker-compose.yaml`. It is not enabled by
default due to memory issues in CI already happening occasionally
where the integration tests are oom killed.

The `gas-oracle` is configured with a key that owns the
`OVM_GasPriceOracle`.

This PR adds the `gas-oracle` to the Github Actions
workflow that is responsible for publishing the docker images.
feat[geth]: add gas pricer for congestion fees
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Jul 8, 2021

🦋 Changeset detected

Latest commit: 88832fc

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

This PR includes changesets to release 2 packages
Name Type
@eth-optimism/contracts Patch
@eth-optimism/gas-oracle 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

@snario snario merged commit 3807f38 into master Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ops Area: ops

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants