ava-labs / avalanchego

Go implementation of an Avalanche node.
https://avax.network
BSD 3-Clause "New" or "Revised" License
2.12k stars 671 forks source link

signer.key config bug #2804

Open rektbuildr opened 7 months ago

rektbuildr commented 7 months ago

Describe the bug

When you specify a staking-signer-key-file and it doesn't exist, a new key file is not created

To Reproduce Set staking-signer-key-file to nonexistent file, run avalanchego

Expected behavior Per documentation, when a signer.key file does not exist, it is created

Operating System

Any OS

Additional context

config/config.go starting line 706

StephenButtolph commented 6 months ago

Per documentation, when a signer.key file does not exist, it is created

@rektbuildr Could you point out the documentation for this? The behavior seems to be as expected (aligns with the staking cert + key). It seems like the documentation should be fixed

github-actions[bot] commented 3 months ago

This issue has become stale because it has been open 60 days with no activity. Adding the lifecycle/frozen label will cause this issue to ignore lifecycle events.