Skip to content

integration-tests: Changes to make it work with live networks again#2030

Merged
mslipper merged 2 commits intoethereum-optimism:developfrom
mslipper:feat/nightly-itests
Jan 22, 2022
Merged

integration-tests: Changes to make it work with live networks again#2030
mslipper merged 2 commits intoethereum-optimism:developfrom
mslipper:feat/nightly-itests

Conversation

@mslipper
Copy link
Collaborator

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Jan 19, 2022

🦋 Changeset detected

Latest commit: 3710e8c

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

This PR includes changesets to release 1 package
Name Type
@eth-optimism/integration-tests Minor

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

@github-actions github-actions bot added the A-integration Area: integration tests label Jan 19, 2022
@codecov-commenter
Copy link

codecov-commenter commented Jan 19, 2022

Codecov Report

Merging #2030 (3710e8c) into develop (a3b11da) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #2030   +/-   ##
========================================
  Coverage    74.58%   74.58%           
========================================
  Files           79       79           
  Lines         2554     2554           
  Branches       401      401           
========================================
  Hits          1905     1905           
  Misses         649      649           
Flag Coverage Δ
batch-submitter 62.50% <ø> (ø)
contracts 90.48% <ø> (ø)
core-utils 57.50% <ø> (ø)
data-transport-layer 38.64% <ø> (ø)
message-relayer 70.86% <ø> (ø)
sdk 88.38% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a3b11da...3710e8c. Read the comment docs.

Copy link
Contributor

Choose a reason for hiding this comment

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

Why did you delete this files? To be honest, I never used them but I'm not sure if other people did. I always run docker compose manually

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't think that these should be part of the repo. It introduces a hard coupling between the tests we define here, and the environment that they run on. It also causes the CLI to do a bunch of unexpected stuff unless an env var is set.

Copy link
Contributor

Choose a reason for hiding this comment

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

Confirmed there is a default value

Copy link
Contributor

Choose a reason for hiding this comment

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

Gas estimation on L1 is failing? That is pretty strange to be honest

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This just lets us specify a gas price manually if we want.

Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above, this should be wei

@tynes
Copy link
Contributor

tynes commented Jan 20, 2022

It looks like the L2 gasprice is being set to 0 in some places now based on the itest logs

Error: processing response error (body="{\"jsonrpc\":\"2.0\",\"id\":1114,\"error\":{\"code\":-32000,\"message\":\"cannot accept 0 gas price transaction\"}}\n", error={"code":-32000}, requestBody="{\"method\":\"eth_sendRawTransaction\",\"params\":[\"0xf868268082520894a8bd13ea2daadc1f0f1db036c67ac4d0fbc99cff872386f26fc100008082036ba081234402acea5122d30d7e955e3ee91466fbad724094de51f66b6e189b504b4aa02669e4b028fb671cd68fc0eec26909d28f511ee52f2acadc7aa4d8a395730657\"],\"id\":1114,\"jsonrpc\":\"2.0\"}", requestMethod="POST", url="http://l2geth:8545", code=SERVER_ERROR, version=web/5.4.0)

@tynes
Copy link
Contributor

tynes commented Jan 20, 2022

Could you add a changeset as well?

@tynes
Copy link
Contributor

tynes commented Jan 20, 2022

Also looks like some unused deps

Unused devDependencies
* @types/shelljs
* docker-compose
* shelljs

@mslipper
Copy link
Collaborator Author

This is still a bit of a WIP - working through some additional issues and needed it to run on CI.

@mslipper mslipper force-pushed the feat/nightly-itests branch 6 times, most recently from 2ca4a5b to 2f7bb9a Compare January 21, 2022 22:16
@mslipper mslipper force-pushed the feat/nightly-itests branch from 2f7bb9a to c1e923f Compare January 21, 2022 22:36
@mslipper mslipper requested a review from tynes January 21, 2022 22:59
}

assertGasPrice()
await assertGasPrice()
Copy link
Contributor

Choose a reason for hiding this comment

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

Good catch here

@mslipper mslipper merged commit f8531d8 into ethereum-optimism:develop Jan 22, 2022
theochap pushed a commit that referenced this pull request Dec 10, 2025
)

## Overview

Introduces backpressure within the DA watcher channels. This change
ensures that if the consumers of the DA watcher events (L1
{head/finalized} updates, unsafe block signer updates) do not process
their events in a timely manner, the DA watcher doesn't endlessly fill
up the channel queue, and yields until the other actors can process its
pending updates.

progress on #1993
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-integration Area: integration tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants