Module vks

Source
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

Type Aliasesยง

Pks
(Bincode, Namespace, VK)
Vks
(Bincode, Namespace, VK)