Skip to content
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

refactor(backend): extract add and remove user token #1043

Merged
merged 2 commits into from
Apr 8, 2024

Conversation

peterpeterparker
Copy link
Member

We are looking to introduce support for ICRC tokens. This feature will be similar to the already supported feature that involves adding, removing, or listing ERC20 custom user tokens.

We are not planning to migrate right now but are planning to introduce support for ICRC in a new generic memory (PR #1037). This additional feature will share common logic with the existing feature, notably the addition and removal of custom tokens.

That's why this PR refactors the mutation of the state into reusable generic functions.

Copy link
Member

@bitdivine bitdivine left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@peterpeterparker peterpeterparker merged commit 887eb48 into main Apr 8, 2024
6 checks passed
@peterpeterparker peterpeterparker deleted the refactor/add-remove-user-token branch April 8, 2024 11:27
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.

2 participants