You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What operating system are you using, and which version?
Linux / Ubuntu
Linux / Other
macOS
Windows
Describe what the problem is?
When I was updating validators to Pv3 I came up against this error:
error
Obviously there aren't that many arguments
I hadn't updated the .toml file so it was still using stdlib 1.9.0
I had not finished the migration to V3 syntax, so I still had ScriptContext as the function argument
The only reason I came up against this is because I saved, switched to terminal, ran aiken check out of habit
As soon as I fixed the issues in my code, to Pv3, and updated .toml the error went away
What should be the expected behavior?
I'm unsure what caused it as this is invalid syntax for both versions.
It could be:
Named validator not compatible with Pv2
no function declaration for mint
ScriptContext not compatible with Pv3 syntax
there are several problems with the code in the image attached ( I know ) I have just added it here because Ktorz said it is good to track these small things
I am happy to provide more info if needed
The text was updated successfully, but these errors were encountered:
What Git revision are you using?
aiken v1.1.0+be31a7c
What operating system are you using, and which version?
Describe what the problem is?
When I was updating validators to Pv3 I came up against this error:
error
Obviously there aren't that many arguments
I hadn't updated the .toml file so it was still using stdlib 1.9.0
I had not finished the migration to V3 syntax, so I still had ScriptContext as the function argument
The only reason I came up against this is because I saved, switched to terminal, ran
aiken check
out of habitAs soon as I fixed the issues in my code, to Pv3, and updated .toml the error went away
What should be the expected behavior?
I'm unsure what caused it as this is invalid syntax for both versions.
It could be:
mint
there are several problems with the code in the image attached ( I know ) I have just added it here because Ktorz said it is good to track these small things
I am happy to provide more info if needed
The text was updated successfully, but these errors were encountered: