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

separate deposit into two instructions: deposit, deposit_and_call #29

Merged
merged 3 commits into from
Sep 13, 2024

Conversation

brewmaster012
Copy link
Contributor

deposit only takes amount and receiver address

deposit_and_call takes amount, receiver address (should be a contract), and then the message (calldata) into that contract call

closes: #18

@codecov-commenter
Copy link

codecov-commenter commented Sep 12, 2024

Codecov Report

Attention: Patch coverage is 0% with 22 lines in your changes missing coverage. Please review.

Project coverage is 11.65%. Comparing base (1495103) to head (3081f3f).
Report is 17 commits behind head on main.

Files with missing lines Patch % Lines
programs/protocol-contracts-solana/src/lib.rs 0.00% 22 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##            main      #29      +/-   ##
=========================================
+ Coverage   9.63%   11.65%   +2.02%     
=========================================
  Files          1        1              
  Lines        218      163      -55     
=========================================
- Hits          21       19       -2     
+ Misses       197      144      -53     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@ws4charlie ws4charlie left a comment

Choose a reason for hiding this comment

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

LGTM

@brewmaster012 brewmaster012 merged commit 5ef421e into main Sep 13, 2024
13 checks passed
@brewmaster012 brewmaster012 deleted the deposit-and-call branch September 13, 2024 17:06
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.

Make the interface more DevX friendly and closer to EVM contract
4 participants