|
|
@@ -389,7 +389,7 @@ impl Circuit<pallas::Base> for ZkCircuit {
|
|
|
|
|
|
_ => {
|
|
|
error!(target: "zk::vm", "Invalid constant name: {}", constant.as_str());
|
|
|
- return Err(plonk::Error::Synthesis);
|
|
|
+ return Err(plonk::Error::Synthesis)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -404,12 +404,12 @@ impl Circuit<pallas::Base> for ZkCircuit {
|
|
|
Ok(v) => litheap.push(v),
|
|
|
Err(e) => {
|
|
|
error!(target: "zk::vm", "Failed converting u64 literal: {}", e);
|
|
|
- return Err(plonk::Error::Synthesis);
|
|
|
+ return Err(plonk::Error::Synthesis)
|
|
|
}
|
|
|
},
|
|
|
_ => {
|
|
|
error!(target: "zk::vm", "Invalid literal: {:?}", literal);
|
|
|
- return Err(plonk::Error::Synthesis);
|
|
|
+ return Err(plonk::Error::Synthesis)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -447,7 +447,7 @@ impl Circuit<pallas::Base> for ZkCircuit {
|
|
|
|
|
|
Witness::EcFixedPoint(_) => {
|
|
|
error!(target: "zk::vm", "Unable to witness EcFixedPoint, this is unimplemented.");
|
|
|
- return Err(plonk::Error::Synthesis);
|
|
|
+ return Err(plonk::Error::Synthesis)
|
|
|
}
|
|
|
|
|
|
Witness::Base(w) => {
|
|
|
@@ -770,7 +770,7 @@ impl Circuit<pallas::Base> for ZkCircuit {
|
|
|
}
|
|
|
x => {
|
|
|
error!(target: "zk::vm", "Unsupported bit-range {} for range_check", x);
|
|
|
- return Err(plonk::Error::Synthesis);
|
|
|
+ return Err(plonk::Error::Synthesis)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -890,7 +890,7 @@ impl Circuit<pallas::Base> for ZkCircuit {
|
|
|
|
|
|
_ => {
|
|
|
error!(target: "zk::vm", "Unsupported opcode");
|
|
|
- return Err(plonk::Error::Synthesis);
|
|
|
+ return Err(plonk::Error::Synthesis)
|
|
|
}
|
|
|
}
|
|
|
}
|