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

explorer: Pretty print instruction data hex strings #19813

Merged
merged 1 commit into from
Sep 12, 2021

Conversation

jstarry
Copy link
Member

@jstarry jstarry commented Sep 12, 2021

Problem

Hard to visually parse long hex strings

Summary of Changes

  • Split hex string into 1 byte chunks and alternate color for every 4 byte chunks
  • Add copy button for raw string without spaces and newlines

Screen Shot 2021-09-12 at 3 29 29 PM

Fixes #

@jstarry jstarry added the automerge Merge this Pull Request automatically once CI passes label Sep 12, 2021
@mergify
Copy link
Contributor

mergify bot commented Sep 12, 2021

automerge label removed due to a CI failure

@mergify mergify bot removed the automerge Merge this Pull Request automatically once CI passes label Sep 12, 2021
@jstarry jstarry merged commit ab152f1 into solana-labs:master Sep 12, 2021
@jstarry jstarry deleted the explorer/hex branch September 12, 2021 21:02
dankelleher pushed a commit to identity-com/solana that referenced this pull request Nov 24, 2021
frits-metalogix added a commit to identity-com/solana that referenced this pull request Nov 24, 2021
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.

1 participant