• Matthew Slipper's avatar
    op-e2e: Adopt op-chain-ops (#3649) · f7a591cd
    Matthew Slipper authored
    * op-e2e: Start adopting op-chain-ops
    
    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.
    
    * op-e2e: Migrate tests to op-chain-ops
    
    * Updates from code review
    
    * remove unnecessary method
    
    * Update op-e2e/setup.go
    Co-authored-by: default avatarJoshua Gutow <jgutow@optimism.io>
    
    * CR updates
    
    * Update op-e2e/e2eutils/secrets.go
    Co-authored-by: default avatarJoshua Gutow <jgutow@optimism.io>
    
    * Update op-e2e/e2eutils/secrets.go
    Co-authored-by: default avatarJoshua Gutow <jgutow@optimism.io>
    
    * try to fix test timeout
    
    * fix deadlock
    
    * fix similar case
    Co-authored-by: default avatarJoshua Gutow <jgutow@optimism.io>
    f7a591cd
secrets.go 4.56 KB