-
Notifications
You must be signed in to change notification settings - Fork 26
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: Playground thinks that transactions with multiple Account entitlements have multiple signers #804
Comments
@nialexsan It looks like you only made the fix for transactions with 2 entitlements. If I have a transaction with 3 entitlements, it still thinks that there should be three signers when there should only be one. Can we make sure that this is true for any number of entitlements? |
@joshuahannan do you have a transaction snippet you're using? |
If possible I would strongly recommend using the Cadence parser https://www.npmjs.com/package/@onflow/cadence-parser. Regex parsing transaction args is just a nightmare and we've been down this rabit hole a bunch of times in Flow JS Testing and Flow Cadut. That being said, those repos have had their regex updated for Cadence 1.0, so you can also look here for code for parsing the args @nialexsan |
I just forgot to do a hard refresh. My bad! I'll close this |
Describe the bug
When opening up a transaction with an account object with multiple entitlements, the playground incorrectly thinks that it requires multiple signers and won't let you submit the transaction without selecting a second signer.
To Reproduce
&Account
in the reference, but it still asks for two signers.Expected behavior
Expected to be able to sign with a single signer
Screenshots
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: