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

[Feature] CheatCode::set_signer #28478

Open
d0cd opened this issue Dec 17, 2024 · 0 comments
Open

[Feature] CheatCode::set_signer #28478

d0cd opened this issue Dec 17, 2024 · 0 comments
Labels
feature A new feature.

Comments

@d0cd
Copy link
Collaborator

d0cd commented Dec 17, 2024

🚀 Feature

A cheat code to set the signer via private key could be useful.
For example, CheatCode::set_signer(<PRIVATE_KEY>).
An open question is how should the private key be passed in. Leo doesn't have strings, but supporting them in this limited context (where it does not need to be compiled) could be okay.
Alternatively, we could support CheatCode::set_signer_address but that wouldn't have the same general properties as the original option.

@d0cd d0cd added the feature A new feature. label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature.
Projects
None yet
Development

No branches or pull requests

1 participant