lighthouse/beacon_node
Sebastian Richel 373beaf913 Added warning when new jwt is generated (#4000)
## Issue Addressed
#3435

## Proposed Changes
Fire a warning with the path of JWT to be created when the path given by --execution-jwt is not found
Currently, the same error is logged if the jwt is found but doesn't match the execution client's jwt, and if no jwt was found at the given path. This makes it very hard to tell if you accidentally typed the wrong path, as a new jwt is created silently that won't match the execution client's jwt. So instead, it will now fire a warning stating that a jwt is being generated at the given path.

## Additional Info
In the future, it may be smarter to handle this case by adding an InvalidJWTPath member to the Error enum in lib.rs or auth.rs
that can be handled during upcheck()

This is my first PR and first project with rust. so thanks to anyone who looks at this for their patience and help!

Co-authored-by: Sebastian Richel <47844429+sebastianrich18@users.noreply.github.com>
2023-03-13 04:08:14 +00:00
..
beacon_chain Appease Clippy 1.68 and refactor http_api (#4068) 2023-03-13 01:40:03 +00:00
builder_client Merge remote-tracking branch 'origin/unstable' into capella 2023-01-12 16:22:00 +11:00
client Add a flag to always use payloads from builders (#4052) 2023-03-07 05:37:28 +00:00
eth1 exchangeCapabilities & Capella Readiness Logging (#3918) 2023-01-31 18:26:23 +01:00
execution_layer Added warning when new jwt is generated (#4000) 2023-03-13 04:08:14 +00:00
genesis Fix the new BLS to execution change test 2023-01-25 15:47:07 +11:00
http_api Appease Clippy 1.68 and refactor http_api (#4068) 2023-03-13 01:40:03 +00:00
http_metrics Add content-type header to metrics server response (#3970) 2023-02-28 02:20:50 +00:00
lighthouse_network Cleaner logic for gossip subscriptions for new forks (#4030) 2023-03-01 09:22:48 +00:00
network Cleaner logic for gossip subscriptions for new forks (#4030) 2023-03-01 09:22:48 +00:00
operation_pool Fix Capella schema downgrades (#4004) 2023-02-20 17:50:42 +11:00
src Add a flag to always use payloads from builders (#4052) 2023-03-07 05:37:28 +00:00
store Clean capella (#4019) 2023-03-01 03:19:02 +00:00
tests Appease Clippy 1.68 and refactor http_api (#4068) 2023-03-13 01:40:03 +00:00
timer Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
Cargo.toml Release v3.5.1 (#4049) 2023-03-07 07:57:39 +00:00