Skip to content

op-e2e: e2eutils package for new action testing setup#3586

Merged
mergify[bot] merged 1 commit intodevelopfrom
action-tests-setup
Sep 28, 2022
Merged

op-e2e: e2eutils package for new action testing setup#3586
mergify[bot] merged 1 commit intodevelopfrom
action-tests-setup

Conversation

@protolambda
Copy link
Contributor

Description

I wrote the first iteration of these utils as part of the Hive testing, but then ported it over to use more of the chainops code from Mark and use it in the experimental action testing branch. Now the utils are in a separate package, so we can share them with op-e2e long term.

Action-testing itself will be a sub-package of the op-e2e module, and import these test utils.

Tests

Includes some basic tests to make sure the test setup itself behaves like expected.

Additional context

This test setup code can later also be used by op-e2e.

Metadata

Fix ENG-2836

@changeset-bot
Copy link

changeset-bot bot commented Sep 28, 2022

⚠️ No Changeset found

Latest commit: 96c21ec

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@mergify
Copy link
Contributor

mergify bot commented Sep 28, 2022

This PR changes implementation code, but doesn't include a changeset. Did you forget to add one?

Copy link
Contributor

@tynes tynes left a comment

Choose a reason for hiding this comment

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

Looks good to me, good work. Being able to run tests against the genesis creation code on L2 is going to be amazing

Copy link
Contributor

@mslipper mslipper left a comment

Choose a reason for hiding this comment

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

This is great, thanks Proto. We can use a bunch of these in Hive too.

@mergify
Copy link
Contributor

mergify bot commented Sep 28, 2022

This PR has been added to the merge queue, and will be merged soon.

@mergify mergify bot merged commit 99ea843 into develop Sep 28, 2022
@mergify mergify bot deleted the action-tests-setup branch September 28, 2022 16:18
@mergify
Copy link
Contributor

mergify bot commented Sep 28, 2022

This PR is next in line to be merged, and will be merged as soon as checks pass.

@mergify mergify bot removed the on-merge-train label Sep 28, 2022
Copy link
Contributor

@trianglesphere trianglesphere left a comment

Choose a reason for hiding this comment

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

Really nice work. I really like all the comments

return jwtPath
}

func uint642big(in uint64) *hexutil.Big {
Copy link
Contributor

Choose a reason for hiding this comment

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

uint64ToBig is a more go-like name. The 642 is also a little hard to parse.

This was referenced Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants