Skip to content

Add reward_override_entity_key field to the subscriber_reward and subscriber_mapping_activity_req_v1#448

Merged
kurotych merged 7 commits intomasterfrom
add-entity-key-to-mapping-act-req
Jun 11, 2025
Merged

Add reward_override_entity_key field to the subscriber_reward and subscriber_mapping_activity_req_v1#448
kurotych merged 7 commits intomasterfrom
add-entity-key-to-mapping-act-req

Conversation

@kurotych
Copy link
Member

@kurotych kurotych commented Jun 4, 2025

No description provided.

@kurotych kurotych force-pushed the add-entity-key-to-mapping-act-req branch from 5512ef6 to b8dade7 Compare June 4, 2025 13:38
@kurotych kurotych force-pushed the add-entity-key-to-mapping-act-req branch from b8dade7 to 840711c Compare June 4, 2025 13:50
bytes signature = 8;
// Base58-encoded string representing the entity key
// String representing the entity key
// Gets "points-based" mapping rewards to a single configured asset
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Overrides the subscriber_id as the entity_key to send mapping rewards to"

bytes signature = 8;
// String representing the entity key
// Overrides the subscriber_id as the entity_key to send mapping rewards to
string entity_key = 9;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we make the name more descriptive? might be to verbose but something like reward_override_entity_key?? I know the comment explains the purpose, but the field just being named entity_key won't help when reading the code that utilizes it

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it +1

@kurotych kurotych marked this pull request as ready for review June 5, 2025 12:36
@kurotych kurotych changed the title Add entity_key to subscriber_mapping_activity_req_v1 Add reward_override_entity_key to subscriber_mapping_activity_req_v1 Jun 9, 2025
@kurotych kurotych changed the title Add reward_override_entity_key to subscriber_mapping_activity_req_v1 Add reward_override_entity_key field to the subscriber_reward and subscriber_mapping_activity_req_v1 Jun 11, 2025
@kurotych kurotych merged commit be78e09 into master Jun 11, 2025
7 checks passed
@kurotych kurotych deleted the add-entity-key-to-mapping-act-req branch June 11, 2025 15:22
@riobah
Copy link
Contributor

riobah commented Jun 11, 2025

Having this new field as bytes might reduce the file size slightly.
I know it is too late to comment about it

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.

4 participants