Expand description
Utility module for caching ZK proof PKs and VKs
Constantsยง
- PKS_
HASH ๐ - Update these if any circuits are changed. Delete the existing cachefiles, and enable debug logging, you will see the new hashes.
- VKS_
HASH ๐
Functionsยง
- cache_
path ๐ - Build a
PathBuf
to a cachefile - get_
cached_ pks_ and_ vks - Generate or read cached PKs and VKs
- inject
- Inject cached VKs into a given blockchain database reference