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

Add Fake operations for anoma-resource-commitment and anoma-resource-nullifier #3247

Open
mariari opened this issue Dec 10, 2024 · 0 comments
Labels
enhancement New feature or request pending-review

Comments

@mariari
Copy link
Member

mariari commented Dec 10, 2024

I want to run things in the repl to get a good feeling for the shape of data as I go, however I can't do this if data just fails to run.


myResourceCommitment : Nat := base-commitment myResource;

myResourceEphNullifier : Nat := base-nullifier myResourceEph;

Swap> myResourceCommitment
/repl:1:1: error:
evaluation error: unsupported builtin operation: OpAnomaResourceCommitment: anoma-resource-commitment ?
Swap> myResourceEphNullifier
/repl:1:1: error:
evaluation error: unsupported builtin operation: OpAnomaResourceNullifier: anoma-resource-nullifier ?

this makes me sad as when trying to look at composite data structures over this I can't just evaluate terms and figure out how examples work easily.

@mariari mariari added enhancement New feature or request pending-review labels Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pending-review
Projects
None yet
Development

No branches or pull requests

1 participant