From e332cf014e10975f1dd8a1e87cc66c9fc2ff85db Mon Sep 17 00:00:00 2001 From: Kevin Halliday Date: Wed, 4 Dec 2024 18:38:49 -0500 Subject: [PATCH] fix(e2e): use staging solver key --- e2e/app/setup.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/app/setup.go b/e2e/app/setup.go index f30461bd3..bd0b37e87 100644 --- a/e2e/app/setup.go +++ b/e2e/app/setup.go @@ -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")