|
|
@@ -14,7 +14,7 @@ impl_vec!((String, VariableIndex));
|
|
|
impl_vec!((String, bls::Scalar));
|
|
|
|
|
|
impl Encodable for ZKContract {
|
|
|
- fn encode<S: io::Write>(&self, s: S) -> Result<usize> {
|
|
|
+ fn encode<S: io::Write>(&self, _s: S) -> Result<usize> {
|
|
|
unimplemented!();
|
|
|
Ok(0)
|
|
|
}
|
|
|
@@ -85,7 +85,7 @@ impl Decodable for groth16::Proof<bls::Bls12> {
|
|
|
}
|
|
|
|
|
|
impl Encodable for (AllocType, VariableIndex) {
|
|
|
- fn encode<S: io::Write>(&self, s: S) -> Result<usize> {
|
|
|
+ fn encode<S: io::Write>(&self, _s: S) -> Result<usize> {
|
|
|
//let len = self.x.encode(&mut s)?;
|
|
|
//Ok(len + self.y.encode(s)?)
|
|
|
unimplemented!();
|
|
|
@@ -109,7 +109,7 @@ impl Decodable for (AllocType, VariableIndex) {
|
|
|
impl_vec!((AllocType, VariableIndex));
|
|
|
|
|
|
impl Encodable for VariableIndex {
|
|
|
- fn encode<S: io::Write>(&self, s: S) -> Result<usize> {
|
|
|
+ fn encode<S: io::Write>(&self, _s: S) -> Result<usize> {
|
|
|
unimplemented!();
|
|
|
Ok(0)
|
|
|
}
|
|
|
@@ -122,7 +122,7 @@ impl Decodable for VariableIndex {
|
|
|
}
|
|
|
|
|
|
impl Encodable for VariableRef {
|
|
|
- fn encode<S: io::Write>(&self, s: S) -> Result<usize> {
|
|
|
+ fn encode<S: io::Write>(&self, _s: S) -> Result<usize> {
|
|
|
unimplemented!();
|
|
|
Ok(0)
|
|
|
}
|
|
|
@@ -140,7 +140,7 @@ impl Decodable for VariableRef {
|
|
|
}
|
|
|
|
|
|
impl Encodable for CryptoOperation {
|
|
|
- fn encode<S: io::Write>(&self, s: S) -> Result<usize> {
|
|
|
+ fn encode<S: io::Write>(&self, _s: S) -> Result<usize> {
|
|
|
unimplemented!();
|
|
|
Ok(0)
|
|
|
}
|
|
|
@@ -189,7 +189,7 @@ impl Decodable for CryptoOperation {
|
|
|
)),
|
|
|
12 => Ok(Self::DumpAlloc),
|
|
|
13 => Ok(Self::DumpLocal),
|
|
|
- i => Err(Error::BadOperationType),
|
|
|
+ _i => Err(Error::BadOperationType),
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -197,7 +197,7 @@ impl Decodable for CryptoOperation {
|
|
|
impl_vec!(CryptoOperation);
|
|
|
|
|
|
impl Encodable for ConstraintInstruction {
|
|
|
- fn encode<S: io::Write>(&self, s: S) -> Result<usize> {
|
|
|
+ fn encode<S: io::Write>(&self, _s: S) -> Result<usize> {
|
|
|
unimplemented!();
|
|
|
Ok(0)
|
|
|
}
|