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

[Bug] CallFunction method accepts amount > 0 only #1757

Open
2 tasks
claytonneal opened this issue Jan 28, 2025 · 0 comments
Open
2 tasks

[Bug] CallFunction method accepts amount > 0 only #1757

claytonneal opened this issue Jan 28, 2025 · 0 comments
Assignees
Milestone

Comments

@claytonneal
Copy link
Member

claytonneal commented Jan 28, 2025

in Clause.ts

Image

To me amount (which i assume goes as value in the tx) can be = 0
imagine i call a contract function that +1 to a number stored on chain
in this case value = 0, and data = encoded function name

  • Fix it on 1.0.0
  • Cherrypick the change to main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants