lighthouse/beacon_node/execution_layer/src
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
..
engine_api Clean capella (#4019) 2023-03-01 03:19:02 +00:00
test_utils Clean capella (#4019) 2023-03-01 03:19:02 +00:00
block_hash.rs Verify blockHash with withdrawals 2023-01-13 12:46:54 +11:00
engine_api.rs Optimise payload attributes calculation and add SSE (#4027) 2023-03-05 23:43:30 +00:00
engines.rs Suggestions for Capella execution_layer (#3983) 2023-02-17 11:58:33 +11:00
keccak.rs Verify execution block hashes during finalized sync (#3794) 2023-01-09 03:11:59 +00:00
lib.rs Added warning when new jwt is generated (#4000) 2023-03-13 04:08:14 +00:00
metrics.rs Verify execution block hashes during finalized sync (#3794) 2023-01-09 03:11:59 +00:00
payload_cache.rs Builder Specs v0.2.0 (#3134) 2022-07-30 00:22:37 +00:00
payload_status.rs Permit a null LVH from an INVALID response to newPayload (#4037) 2023-03-03 04:12:50 +00:00