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

[ECO-1556] Enforce valid emojis in a Move contract #5

Merged
merged 22 commits into from
Apr 16, 2024
Merged

[ECO-1556] Enforce valid emojis in a Move contract #5

merged 22 commits into from
Apr 16, 2024

Conversation

xbtmatt
Copy link
Collaborator

@xbtmatt xbtmatt commented Apr 12, 2024

Description

  • Parse all valid utf-8 representations of unique individual emojis that can fit within 10 bytes, hence can function as a symbol for an Aptos coin.
  • Revisit the decision to include unquailfied and/or minimally qualified emojis. Fully qualified might be the way to go so we don't run into issues with displays not showing correct things. (Specifically with the variant selector [ECO-1569] Refactor market registration #16: \uFE0F)
  • Only include fully-qualified, to avoid potential rendering issues on platforms that do not render the optional non-fully-qualified format
  • Verify package publishability

Checklist

  • Did you update relevant documentation?
  • Did you add tests to cover new code or a fixed issue?
  • Did you update the changelog?
  • Did you check off all checkboxes from the linked Linear task?

@xbtmatt xbtmatt requested a review from alnoki April 12, 2024 07:20
@xbtmatt xbtmatt self-assigned this Apr 12, 2024
src/move/Move.toml Outdated Show resolved Hide resolved
cfg/pre-commit-config.yaml Outdated Show resolved Hide resolved
src/move/sources/main.move Outdated Show resolved Hide resolved
src/move/sources/main.move Outdated Show resolved Hide resolved
@xbtmatt xbtmatt requested a review from alnoki April 16, 2024 00:08
@xbtmatt xbtmatt marked this pull request as ready for review April 16, 2024 00:09
@alnoki alnoki merged commit 41b486f into main Apr 16, 2024
1 check passed
@alnoki alnoki deleted the ECO-1556 branch April 16, 2024 00:50
xbtmatt pushed a commit that referenced this pull request May 27, 2024
# This is the 1st commit message:

First attempt at slugs and data, only market registration sample data right now though

# The commit message #2 will be skipped:

# Try empty fetch

# The commit message #3 will be skipped:

# Try empty fetch

# The commit message #4 will be skipped:

# Try empty fetch

# The commit message #5 will be skipped:

# Try empty fetch
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