include g2 lib for gm17
This commit is contained in:
parent
3c97ecfbcf
commit
0fd1e0fb5c
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ impl Scheme<Bw6_761Field> for GM17 {
|
||||||
impl<T: SolidityCompatibleField + NotBw6_761Field> SolidityCompatibleScheme<T> for GM17 {
|
impl<T: SolidityCompatibleField + NotBw6_761Field> SolidityCompatibleScheme<T> for GM17 {
|
||||||
fn export_solidity_verifier(vk: <GM17 as Scheme<T>>::VerificationKey) -> String {
|
fn export_solidity_verifier(vk: <GM17 as Scheme<T>>::VerificationKey) -> String {
|
||||||
let (mut template_text, solidity_pairing_lib) =
|
let (mut template_text, solidity_pairing_lib) =
|
||||||
(String::from(CONTRACT_TEMPLATE), solidity_pairing_lib(false));
|
(String::from(CONTRACT_TEMPLATE), solidity_pairing_lib(true));
|
||||||
|
|
||||||
// replace things in template
|
// replace things in template
|
||||||
let vk_regex = Regex::new(r#"(<%vk_[^i%]*%>)"#).unwrap();
|
let vk_regex = Regex::new(r#"(<%vk_[^i%]*%>)"#).unwrap();
|
||||||
|
|
Loading…
Reference in a new issue