Skip to content

feat: Add node V3 opt-out metadata storage and management#1074

Open
sameh-farouk wants to merge 9 commits intodevelopmentfrom
development-v3-opt-out-metadata-storage
Open

feat: Add node V3 opt-out metadata storage and management#1074
sameh-farouk wants to merge 9 commits intodevelopmentfrom
development-v3-opt-out-metadata-storage

Conversation

@sameh-farouk
Copy link
Member

@sameh-farouk sameh-farouk commented Feb 26, 2026

Implement storage and extrinsic for setting optional metadata on opted-out nodes (e.g. v4 account addresses).

Description

  • Add NodeV3OptOutMetadata storage map with 256-byte limit, set_node_v3_opt_out_metadata extrinsic callable by farm owner, and corresponding events NodeV3OptOutMetadataSet/Cleared.

  • Include client methods GetNodeV3OptOutMetadata and SetNodeV3OptOutMetadata in Go and JS clients with unit tests covering set, clear, authorization

Related Issues:

sameh-farouk and others added 9 commits February 26, 2026 14:42
Implement storage and extrinsic for setting optional metadata on opted-out nodes (e.g. v4 account addresses). Add NodeV3OptOutMetadata storage map with 256-byte limit, set_node_v3_opt_out_metadata extrinsic callable by farm owner, and corresponding events NodeV3OptOutMetadataSet/Cleared. Include client methods GetNodeV3OptOutMetadata and SetNodeV3OptOutMetadata in Go and JS clients with comprehensive unit tests covering set, clear, authorization
… new storage, events and errors declarations
@sameh-farouk sameh-farouk marked this pull request as ready for review February 26, 2026 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow farmers to stop the billing on specific v3 nodes (give up their nodes for threefold admins)

2 participants