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

transfer-lamports: Also read instruction data #11

Merged
merged 1 commit into from
Nov 2, 2024
Merged

Conversation

joncinque
Copy link
Owner

@joncinque joncinque commented Nov 1, 2024

Problem

The transfer-lamports example is limited in usefulness since it doesn't read instruction data. This means it only tests a portion of the program entrypoint.

Summary of changes

Add instruction data! Programs interpet 8 bytes of instruction data as a little-endian u64. Also, update the numbers for the test.

cc @febo

#### Problem

The transfer-lamports example is limited in usefulness since it doesn't
read instruction data. This means it only tests a portion of the program
entrypoint.

#### Summary of changes

Add instruction data! Programs interpet 8 bytes of instruction data as a
little-endian u64. Also, update the numbers for the test.
@joncinque joncinque enabled auto-merge (squash) November 1, 2024 23:57
@joncinque joncinque merged commit cee1e4c into main Nov 2, 2024
13 checks passed
@joncinque joncinque deleted the tlixdata branch November 2, 2024 00:00
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