Skip to content

Commit

Permalink
fix(e2e): use staging solver key
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhalliday committed Dec 4, 2024
1 parent 2d618d3 commit e332cf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/app/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -516,12 +516,12 @@ func writeSolverConfig(ctx context.Context, def Definition, logCfg log.Config) e
endpoints = ExternalEndpoints(def)
}

// Save private key (use random keys for non-devnet)
// Save private key (use random keys for non-ephemeral)
// TODO(corver): Switch to proper keys once ready.
privKey, err := ethcrypto.GenerateKey()
if err != nil {
return errors.Wrap(err, "generate private key")
} else if def.Testnet.Network == netconf.Devnet {
} else if def.Testnet.Network.IsEphemeral() {
privKey, err = eoa.PrivateKey(ctx, def.Testnet.Network, eoa.RoleSolver)
if err != nil {
return errors.Wrap(err, "get solver key")
Expand Down

0 comments on commit e332cf0

Please sign in to comment.