Conversation
This PR starts the process of adopting op-chain-ops in op-e2e by porting over the `Secrets` struct we use in Hive. This lets us share wallet generation code among different projects. Adopting op-chain-ops in op-e2e improves the following: 1. Transactions now route through the correct proxy contracts. 2. There's no need to wait for a contract deployment since conracts exist in genesis. 3. We can export the test helpers in op-e2e to enable us to run similar end-to-end tests in other applications like the indexer This is the first in a series of stacked PRs.
|
|
Current dependencies on/for this PR: This comment was auto-generated by Graphite. |
|
This PR changes implementation code, but doesn't include a changeset. Did you forget to add one? |
|
@mslipper I think the secrets have already been ported over to the |
|
I rolled #3650 in here since the secrets util was already included - will push once tests pass locally. |
|
Removing dead code made this a hair over PR size SLA. |
|
being able to adopt this code and have it used as the test infra is nice, gives more confidence in using it for the actual state surgery |
trianglesphere
left a comment
There was a problem hiding this comment.
2 small things, but I'm excited for this
Co-authored-by: Joshua Gutow <jgutow@optimism.io>
Co-authored-by: Joshua Gutow <jgutow@optimism.io>
Co-authored-by: Joshua Gutow <jgutow@optimism.io>
|
I'd like to get this merged so I can use it to write better tests for #3528 |
|
I'm debugging a test timeout. Stand by. |
…rt_adopting_op-chain-ops
|
Ok, this one was really interesting - the timeout was caused by a deadlock in the In some cases, the e2e test would cancel the passed-in context. This caused the function to return. If the timing as correct, the context would be canceled before the driver loop had a chance to send a response to The solution was to make |
|
This PR has been added to the merge queue, and will be merged soon. |
|
This PR is next in line to be merged, and will be merged as soon as checks pass. |

This PR updates op-e2e to use op-chain-ops. Adopting op-chain-ops in op-e2e improves the following: