Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Validate wallet addresses in 0x format #385

@bajtos

Description

@bajtos

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',

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions