Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate wallet addresses in 0x format #385

Closed
bajtos opened this issue Mar 26, 2024 · 0 comments · Fixed by #466
Closed

Validate wallet addresses in 0x format #385

bajtos opened this issue Mar 26, 2024 · 0 comments · Fixed by #466
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@bajtos
Copy link
Member

bajtos commented Mar 26, 2024

When the operator provides their FIL_WALLET_ADDRESS in 0x format, we should validate it's a valid Ethereum/FEVM address and refuse to start if the address is not valid. The goal is to let the user know when they misconfigured their Station Core and won't receive any rewards.

Example of an invalid measurement we are receiving now:

Invalid measurement: valid participant address required Measurement {
2024-03-26T11:46:07Z app[178199dc20e638] cdg [info]  participantAddress: '0x6939091eb48F69057A2FEF00E69d88c0D06F47055',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant