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

[CLI][Compiler] Throw error for public entry function where &signer is not first argument #13280

Open
alnoki opened this issue May 14, 2024 · 0 comments
Labels
compiler-v2 enhancement New feature or request stale-exempt Prevents issues from being automatically marked and closed as stale

Comments

@alnoki
Copy link
Contributor

alnoki commented May 14, 2024

Move code compiles for public entry functions that have a &signer as an argument other than in the first position, but functions like this are unusable outside the unit testing framework because, for example the TS SDK assumes ABIs have signer listed first, etc.

Throw a compiler error if the &signer argument is not the first agument

@alnoki alnoki added the enhancement New feature or request label May 14, 2024
@sausagee sausagee added the stale-exempt Prevents issues from being automatically marked and closed as stale label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler-v2 enhancement New feature or request stale-exempt Prevents issues from being automatically marked and closed as stale
Projects
Status: 📋 Backlog
Development

No branches or pull requests

3 participants