I defined a keyset (i.e. "my-admin-keyset") in the pact environment data. I want to test a function without that keyset present.
However every function I run, signs with that keyset.
How do I exclude a keyset when running a function?
I defined a keyset (i.e. "my-admin-keyset") in the pact environment data. I want to test a function without that keyset present.
However every function I run, signs with that keyset.
How do I exclude a keyset when running a function?
Copyright © 2021 Jogjafile Inc.
This can be done by defining things in transaction blocks in the REPL.
When you need the admin-keyset functionality, you can define the keys for that block you're testing.
If you want to test without that keyset and with another keyset, just set the environment keys to something else, like this