Skip to content

Commit

Permalink
fix(e2e): fund before deploy (#2594)
Browse files Browse the repository at this point in the history
Fund deployers before deploying.

issue: none
  • Loading branch information
kevinhalliday authored Dec 2, 2024
1 parent a3795be commit faa2fe2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions e2e/app/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ func Deploy(ctx context.Context, def Definition, cfg DeployConfig) (*pingpong.XD

contracts.UseStagingOmniRPC(def.Testnet.BroadcastOmniEVM().ExternalRPC)

// Prep for deploying contracts.
var eg1 errgroup.Group
eg1.Go(func() error { return fundAnvil(ctx, def) })
eg1.Go(func() error { return deployAllCreate3(ctx, def) })
if err := eg1.Wait(); err != nil {
return nil, errors.Wrap(err, "deploy prep")
if err = fundAnvil(ctx, def); err != nil {
return nil, errors.Wrap(err, "fund anvil")
}

if err = deployAllCreate3(ctx, def); err != nil {
return nil, errors.Wrap(err, "deploy create3")
}

// Deploy portals
Expand Down

0 comments on commit faa2fe2

Please sign in to comment.