Skip to content

Implement EXTRA_DATA_MAX_SIZE Limit in Filecoin-Services #304

@rjan90

Description

@rjan90

Context

The EXTRA_DATA_MAX_SIZE limit has been removed from PDPVerifier (FilOzone/pdp#224) as it should be enforced at the service level instead. This allows different services to set appropriate limits based on their specific requirements.

Task

Implement an EXTRA_DATA_MAX_SIZE limit in Filecoin-Services to prevent excessively large metadata payloads. This should validate extraData size before calling PDPVerifier functions.

Recommended limits: See limits in option 2 here

References

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Type

No type

Projects

Status

⌨️ In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions