Commit 5d4674ef authored by Joshua Gutow's avatar Joshua Gutow Committed by GitHub

op-e2e: Wait longer for Optimism Portal Deploy (#3049)

This was previously waiting for 2 blocks to deploy the portal contract.
Some new contract changes are now hitting a timeout so this increases
the timeout to 6 L1 blocks.
parent 7a3a4812
......@@ -435,7 +435,8 @@ func (cfg SystemConfig) start() (*System, error) {
return nil, err
}
_, err = waitForTransaction(tx.Hash(), l1Client, time.Duration(cfg.L1BlockTime)*time.Second*2)
// Wait up to 6 blocks to deploy the Optimism portal
_, err = waitForTransaction(tx.Hash(), l1Client, 6*time.Second*time.Duration(cfg.L1BlockTime))
if err != nil {
return nil, fmt.Errorf("waiting for OptimismPortal: %w", err)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment