Skip to content

Redeem: match TransferMetadata issuer #1067

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

aaadir
Copy link
Contributor

@aaadir aaadir commented Apr 28, 2025

This PR implements issue #1064:
Extend the Match function of the token.TransferMetadata to make sure metadata and action match.

@aaadir aaadir added the enhancement New feature or request label Apr 28, 2025
@aaadir aaadir requested a review from adecaro April 28, 2025 03:39
@aaadir aaadir self-assigned this Apr 28, 2025
@adecaro
Copy link
Contributor

adecaro commented Apr 28, 2025

@aaadir , thanks for the PR. Please, introduce a unit-test to verify that the check is performed. Thanks.

Copy link
Contributor

@adecaro adecaro left a comment

Choose a reason for hiding this comment

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

Please, look at the comments above.

@aaadir aaadir force-pushed the 1064_match_TransferMetadata_issuer branch from 049792c to c3a3292 Compare May 11, 2025 07:30
@aaadir aaadir force-pushed the 1064_match_TransferMetadata_issuer branch from 85ac243 to a673253 Compare May 11, 2025 08:52
@aaadir
Copy link
Contributor Author

aaadir commented May 11, 2025

token/metadata_test.go:TestMetadata_TestMatchTransferAction now includes a new unit test for the match function, which now includes just a test that the new check for the issuer passes.
done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redeem: extend the Match function of the token.TransferMetadata to make sure metadata and action match
2 participants