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

Use solders for Message #239

Merged
merged 3 commits into from
May 29, 2022
Merged

Use solders for Message #239

merged 3 commits into from
May 29, 2022

Conversation

kevinheavey
Copy link
Collaborator

No description provided.

@kevinheavey kevinheavey requested a review from michaelhly May 29, 2022 10:07
@codecov
Copy link

codecov bot commented May 29, 2022

Codecov Report

Merging #239 (9303193) into master (ff07d7f) will decrease coverage by 0.16%.
The diff coverage is 94.28%.

@@            Coverage Diff             @@
##           master     #239      +/-   ##
==========================================
- Coverage   91.25%   91.09%   -0.17%     
==========================================
  Files          38       38              
  Lines        2676     2638      -38     
==========================================
- Hits         2442     2403      -39     
- Misses        234      235       +1     

program_id_index=account_indices[str(instruction.program_id)],
data=b58encode(instruction.data),
data=instruction.data,
Copy link
Owner

Choose a reason for hiding this comment

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

How come we don't have to encode base58 anymore?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I actually don't know why we were doing it since the data was then being base58-decoded in __encode_instruction 🤷‍♂️ guessing this behaviour came from web3.js

@kevinheavey kevinheavey merged commit 59b93b7 into master May 29, 2022
@kevinheavey kevinheavey deleted the solders-message branch May 29, 2022 17:50
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