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

Expose contracts internal function as payable. #38

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

Amxx
Copy link
Collaborator

@Amxx Amxx commented Jan 29, 2025

Currently, internal function are exposed as payable only when implemented in libraries.

This PR exposes all internal, non payable, function as payable. This can be usefull to test internal functions that need to be called alongside some value.

Copy link
Owner

@frangio frangio left a comment

Choose a reason for hiding this comment

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

Makes sense to me. Thanks!

@frangio frangio merged commit 25e01d7 into master Feb 3, 2025
1 check passed
@frangio frangio deleted the feature/expose-internal-as-payable branch February 3, 2025 16:50
@frangio
Copy link
Owner

frangio commented Feb 3, 2025

Released in 0.3.16.

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