Removing unused signing test module

This commit is contained in:
Dave Hrycyszyn
2021-12-20 09:30:36 +00:00
parent 0aab508633
commit 860afc9086
2 changed files with 0 additions and 16 deletions
@@ -6,8 +6,6 @@ pub mod fixtures;
pub mod messages;
#[cfg(test)]
pub mod queries;
#[cfg(test)]
pub mod signing;
#[cfg(test)]
pub mod test_helpers {
@@ -1,14 +0,0 @@
// use ed25519_dalek::{Keypair, PublicKey, Signature, Signer};
// use rand::rngs::OsRng;
// /// A test helper which signs a piece of text with a supplied private key
// /// This is test-only code, not meant for use inside the smart contract.
// /// It allows us to sign things so we can test that verification works inside
// /// the smart contract.
// pub(crate) fn sign(text: &str) -> (Signature, PublicKey) {
// let mut csprng = OsRng {};
// let keypair: Keypair = Keypair::generate(&mut csprng);
// let signature: Signature = keypair.sign(text.as_bytes());
// (signature, keypair.public)
// }